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