Steven Moreland | a1169dd | 2017-11-09 19:05:17 -0800 | [diff] [blame] | 1 | hidl_package_root { |
| 2 | name: "android.hardware", |
Steven Moreland | a1169dd | 2017-11-09 19:05:17 -0800 | [diff] [blame] | 3 | } |
| 4 | |
Steven Moreland | 691a455 | 2017-03-08 15:58:46 -0800 | [diff] [blame] | 5 | cc_defaults { |
| 6 | name: "hidl_defaults", |
| 7 | cflags: [ |
| 8 | "-Wall", |
| 9 | "-Werror", |
| 10 | ], |
| 11 | } |
Tri Vo | 0b19836 | 2017-08-01 13:12:35 -0700 | [diff] [blame] | 12 | |
Tri Vo | e6ca2b3 | 2017-08-03 16:39:02 -0700 | [diff] [blame] | 13 | // VTS tests must link to HAL definition libraries statically. |
Tri Vo | 0b19836 | 2017-08-01 13:12:35 -0700 | [diff] [blame] | 14 | cc_defaults { |
| 15 | name: "VtsHalTargetTestDefaults", |
| 16 | defaults: ["hidl_defaults"], |
Tri Vo | e6ca2b3 | 2017-08-03 16:39:02 -0700 | [diff] [blame] | 17 | |
| 18 | // Lists all dependencies that can *not* be expected on the device. |
Tri Vo | 0b19836 | 2017-08-01 13:12:35 -0700 | [diff] [blame] | 19 | static_libs: [ |
| 20 | "VtsHalHidlTargetTestBase", |
Zhuoyao Zhang | cecb0e7 | 2018-06-08 10:57:30 -0700 | [diff] [blame] | 21 | "libhidl-gen-utils", |
Tri Vo | 0b19836 | 2017-08-01 13:12:35 -0700 | [diff] [blame] | 22 | ], |
| 23 | group_static_libs: true, |
Tri Vo | e6ca2b3 | 2017-08-03 16:39:02 -0700 | [diff] [blame] | 24 | |
| 25 | // Lists all system dependencies that can be expected on the device. |
Tri Vo | 0b19836 | 2017-08-01 13:12:35 -0700 | [diff] [blame] | 26 | shared_libs: [ |
| 27 | "libbase", |
Tri Vo | e6ca2b3 | 2017-08-03 16:39:02 -0700 | [diff] [blame] | 28 | // All the following are dependencies of any HAL definition library. |
Tri Vo | 0b19836 | 2017-08-01 13:12:35 -0700 | [diff] [blame] | 29 | "libcutils", |
| 30 | "liblog", |
| 31 | "libhidlbase", |
| 32 | "libhidltransport", |
| 33 | "libhwbinder", |
| 34 | "libutils", |
| 35 | ], |
| 36 | cflags: [ |
| 37 | "-O0", |
| 38 | "-g", |
| 39 | ], |
| 40 | |
| 41 | } |