Dan Willemsen | 242b34e | 2016-09-28 16:12:24 -0700 | [diff] [blame] | 1 | subdirs = [ |
Steven Moreland | 7a4f118 | 2016-10-25 15:45:19 -0700 | [diff] [blame] | 2 | "*" |
Dan Willemsen | 242b34e | 2016-09-28 16:12:24 -0700 | [diff] [blame] | 3 | ] |
Steven Moreland | 691a455 | 2017-03-08 15:58:46 -0800 | [diff] [blame] | 4 | |
Steven Moreland | a1169dd | 2017-11-09 19:05:17 -0800 | [diff] [blame] | 5 | hidl_package_root { |
| 6 | name: "android.hardware", |
| 7 | path: "hardware/interfaces", |
| 8 | } |
| 9 | |
Steven Moreland | 691a455 | 2017-03-08 15:58:46 -0800 | [diff] [blame] | 10 | cc_defaults { |
| 11 | name: "hidl_defaults", |
| 12 | cflags: [ |
| 13 | "-Wall", |
| 14 | "-Werror", |
| 15 | ], |
| 16 | } |
Tri Vo | 0b19836 | 2017-08-01 13:12:35 -0700 | [diff] [blame] | 17 | |
Tri Vo | e6ca2b3 | 2017-08-03 16:39:02 -0700 | [diff] [blame] | 18 | // VTS tests must link to HAL definition libraries statically. |
Tri Vo | 0b19836 | 2017-08-01 13:12:35 -0700 | [diff] [blame] | 19 | cc_defaults { |
| 20 | name: "VtsHalTargetTestDefaults", |
| 21 | defaults: ["hidl_defaults"], |
Tri Vo | e6ca2b3 | 2017-08-03 16:39:02 -0700 | [diff] [blame] | 22 | |
| 23 | // Lists all dependencies that can *not* be expected on the device. |
Tri Vo | 0b19836 | 2017-08-01 13:12:35 -0700 | [diff] [blame] | 24 | static_libs: [ |
| 25 | "VtsHalHidlTargetTestBase", |
| 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 | } |