blob: dd8473744eac0e293ef3d97e6a8d6685d6fe29a5 [file] [log] [blame]
Steven Morelanda1169dd2017-11-09 19:05:17 -08001hidl_package_root {
2 name: "android.hardware",
Steven Moreland0a28e1c2018-11-29 17:12:15 -08003 use_current: true,
Steven Morelanda1169dd2017-11-09 19:05:17 -08004}
5
Steven Moreland691a4552017-03-08 15:58:46 -08006cc_defaults {
7 name: "hidl_defaults",
8 cflags: [
9 "-Wall",
10 "-Werror",
11 ],
12}
Tri Vo0b198362017-08-01 13:12:35 -070013
Tri Voe6ca2b32017-08-03 16:39:02 -070014// VTS tests must link to HAL definition libraries statically.
Tri Vo0b198362017-08-01 13:12:35 -070015cc_defaults {
16 name: "VtsHalTargetTestDefaults",
Keun Soo YIM71611f32018-11-29 10:15:47 -080017 defaults: [
18 "vts_target_tests_defaults",
19 "hidl_defaults",
20 ],
Tri Voe6ca2b32017-08-03 16:39:02 -070021
22 // Lists all dependencies that can *not* be expected on the device.
Tri Vo0b198362017-08-01 13:12:35 -070023 static_libs: [
24 "VtsHalHidlTargetTestBase",
Zhuoyao Zhangcecb0e72018-06-08 10:57:30 -070025 "libhidl-gen-utils",
Tri Vo0b198362017-08-01 13:12:35 -070026 ],
Steven Moreland022cda02019-08-21 15:44:07 -070027
28 header_libs: [
29 "libhidl_gtest_helpers",
30 ],
31
Tri Vo0b198362017-08-01 13:12:35 -070032 group_static_libs: true,
Tri Voe6ca2b32017-08-03 16:39:02 -070033
34 // Lists all system dependencies that can be expected on the device.
Tri Vo0b198362017-08-01 13:12:35 -070035 shared_libs: [
36 "libbase",
Tri Voe6ca2b32017-08-03 16:39:02 -070037 // All the following are dependencies of any HAL definition library.
Tri Vo0b198362017-08-01 13:12:35 -070038 "libcutils",
39 "liblog",
40 "libhidlbase",
Tri Vo0b198362017-08-01 13:12:35 -070041 "libutils",
42 ],
43 cflags: [
44 "-O0",
45 "-g",
46 ],
47
48}