Steven Moreland | 8db261b | 2017-11-13 09:20:37 -0800 | [diff] [blame] | 1 | hidl_package_root { |
| 2 | name: "android.hardware", |
| 3 | path: "hardware/interfaces", |
| 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 | f7c2fbc | 2017-08-01 13:12:35 -0700 | [diff] [blame] | 13 | |
Tri Vo | 1ef659e | 2017-08-03 16:39:02 -0700 | [diff] [blame] | 14 | // VTS tests must link to HAL definition libraries statically. |
Tri Vo | f7c2fbc | 2017-08-01 13:12:35 -0700 | [diff] [blame] | 15 | cc_defaults { |
| 16 | name: "VtsHalTargetTestDefaults", |
| 17 | defaults: ["hidl_defaults"], |
Tri Vo | 1ef659e | 2017-08-03 16:39:02 -0700 | [diff] [blame] | 18 | |
| 19 | // Lists all dependencies that can *not* be expected on the device. |
Tri Vo | f7c2fbc | 2017-08-01 13:12:35 -0700 | [diff] [blame] | 20 | static_libs: [ |
| 21 | "VtsHalHidlTargetTestBase", |
| 22 | ], |
| 23 | group_static_libs: true, |
Tri Vo | 1ef659e | 2017-08-03 16:39:02 -0700 | [diff] [blame] | 24 | |
| 25 | // Lists all system dependencies that can be expected on the device. |
Tri Vo | f7c2fbc | 2017-08-01 13:12:35 -0700 | [diff] [blame] | 26 | shared_libs: [ |
| 27 | "libbase", |
Tri Vo | 1ef659e | 2017-08-03 16:39:02 -0700 | [diff] [blame] | 28 | // All the following are dependencies of any HAL definition library. |
Tri Vo | f7c2fbc | 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 | } |