blob: 9e1df132a797709bf1ffa54d5bbb98759b4e187f [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: [
Dan Shifdbc4942020-04-07 14:38:56 -070024 "VtsHalHidlTestUtils",
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: [
Steven Moreland07c843c2019-10-29 14:20:45 -070029 "libhidl_gtest_helper",
Steven Moreland022cda02019-08-21 15:44:07 -070030 ],
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
Dan Shi47e47832019-10-10 11:17:22 -070048 require_root: true,
Tri Vo0b198362017-08-01 13:12:35 -070049}
Dan Shifdbc4942020-04-07 14:38:56 -070050
51// TODO: Remove this after all vts tests under vendor/qcom are converted to
52// parameterized gtest.
53cc_defaults {
54 name: "Vts10HalTargetTestDefaults",
55 defaults: [
56 "VtsHalTargetTestDefaults",
57 ],
58 static_libs: [
59 "VtsHalHidlTargetTestBase",
60 ],
61}