Bob Badour | d69ad69 | 2021-02-16 19:02:14 -0800 | [diff] [blame] | 1 | package { |
| 2 | default_applicable_licenses: ["Android-Apache-2.0"], |
| 3 | } |
| 4 | |
Dan Willemsen | 7464184 | 2016-07-19 22:17:49 -0700 | [diff] [blame] | 5 | cc_library { |
Dan Willemsen | 7464184 | 2016-07-19 22:17:49 -0700 | [diff] [blame] | 6 | name: "libpackagelistparser", |
Yifan Hong | 89d1c19 | 2020-10-21 18:07:28 -0700 | [diff] [blame] | 7 | ramdisk_available: true, |
| 8 | vendor_ramdisk_available: true, |
Jiyong Park | 612210c | 2018-04-27 21:48:43 +0900 | [diff] [blame] | 9 | recovery_available: true, |
Elliott Hughes | d32e7e2 | 2019-08-07 22:59:00 -0700 | [diff] [blame] | 10 | srcs: ["packagelistparser.cpp"], |
Dan Willemsen | 7464184 | 2016-07-19 22:17:49 -0700 | [diff] [blame] | 11 | shared_libs: ["liblog"], |
| 12 | local_include_dirs: ["include"], |
| 13 | export_include_dirs: ["include"], |
| 14 | |
Dan Willemsen | 7464184 | 2016-07-19 22:17:49 -0700 | [diff] [blame] | 15 | sanitize: { |
| 16 | misc_undefined: ["integer"], |
| 17 | }, |
| 18 | } |
Elliott Hughes | d32e7e2 | 2019-08-07 22:59:00 -0700 | [diff] [blame] | 19 | |
| 20 | cc_test { |
| 21 | name: "libpackagelistparser_test", |
| 22 | srcs: ["packagelistparser_test.cpp"], |
| 23 | shared_libs: [ |
| 24 | "libbase", |
| 25 | "libpackagelistparser", |
| 26 | ], |
| 27 | test_suites: ["device-tests"], |
Dan Shi | d1360f4 | 2019-09-24 09:04:05 -0700 | [diff] [blame] | 28 | require_root: true, |
Elliott Hughes | d32e7e2 | 2019-08-07 22:59:00 -0700 | [diff] [blame] | 29 | } |