blob: 927e22731b73cf034ece6dc5f525568c8c8c8681 [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 ],
27 group_static_libs: true,
Tri Voe6ca2b32017-08-03 16:39:02 -070028
29 // Lists all system dependencies that can be expected on the device.
Tri Vo0b198362017-08-01 13:12:35 -070030 shared_libs: [
31 "libbase",
Tri Voe6ca2b32017-08-03 16:39:02 -070032 // All the following are dependencies of any HAL definition library.
Tri Vo0b198362017-08-01 13:12:35 -070033 "libcutils",
34 "liblog",
35 "libhidlbase",
36 "libhidltransport",
37 "libhwbinder",
38 "libutils",
39 ],
40 cflags: [
41 "-O0",
42 "-g",
43 ],
44
45}