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 | |
| 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", |
| 21 | ], |
| 22 | group_static_libs: true, |
Tri Vo | e6ca2b3 | 2017-08-03 16:39:02 -0700 | [diff] [blame] | 23 | |
| 24 | // Lists all system dependencies that can be expected on the device. |
Tri Vo | 0b19836 | 2017-08-01 13:12:35 -0700 | [diff] [blame] | 25 | shared_libs: [ |
| 26 | "libbase", |
Tri Vo | e6ca2b3 | 2017-08-03 16:39:02 -0700 | [diff] [blame] | 27 | // All the following are dependencies of any HAL definition library. |
Tri Vo | 0b19836 | 2017-08-01 13:12:35 -0700 | [diff] [blame] | 28 | "libcutils", |
| 29 | "liblog", |
| 30 | "libhidlbase", |
| 31 | "libhidltransport", |
| 32 | "libhwbinder", |
| 33 | "libutils", |
| 34 | ], |
| 35 | cflags: [ |
| 36 | "-O0", |
| 37 | "-g", |
| 38 | ], |
| 39 | |
| 40 | } |