blob: 6c99082d7eb4a5f3d73a8a4116783a1a12060d0f [file] [log] [blame]
Steven Morelandc46e9842016-11-02 13:21:26 -07001subdirs = [
2 "vendor/1.0",
3]
4
Dan Willemsen676abdc2016-09-28 19:42:22 -07005cc_test {
6 name: "hidl_test",
7 gtest: false,
8 srcs: ["main.cpp"],
9
10 shared_libs: [
11 "libbase",
12 "liblog",
13 "libcutils",
Yifan Honga5abe922016-11-16 14:18:37 -080014 "libhidlbase",
15 "libhidltransport",
Martijn Coenen99e6beb2016-12-01 15:48:42 +010016 "libhidlmemory",
Yifan Hong398e6fb2016-10-17 11:38:09 -070017 "libfootest",
Dan Willemsen676abdc2016-09-28 19:42:22 -070018 "libhwbinder",
19 "libnativehelper",
Yifan Hong398e6fb2016-10-17 11:38:09 -070020 "libpointertest",
Dan Willemsen676abdc2016-09-28 19:42:22 -070021 "libutils",
22 "android.hardware.tests.foo@1.0",
23 "android.hardware.tests.bar@1.0",
Yifan Hong1e81c532016-10-18 18:43:46 -070024 "android.hardware.tests.inheritance@1.0",
Dan Willemsen676abdc2016-09-28 19:42:22 -070025 "android.hardware.tests.pointer@1.0",
Martijn Coenen99e6beb2016-12-01 15:48:42 +010026 "android.hardware.tests.memory@1.0",
Steven Morelandaa2b83a2016-12-21 15:52:11 -080027 "android.hidl.memory@1.0",
28 "android.hidl.token@1.0",
Dan Willemsen676abdc2016-09-28 19:42:22 -070029 ],
30 static_libs: ["libgtest"],
31
Steven Moreland40d131b2016-10-24 11:29:20 -070032 required: [
33 // Warning, these should never be specified explicitly for anything else
34 // as for a given device, what hal implementation is used is determined
35 // by what is specified/available in a device.mk. However, this test
36 // actually depends on these test implementations (which should never be
37 // included on a device.mk).
38 "android.hardware.tests.foo@1.0-impl",
39 "android.hardware.tests.bar@1.0-impl",
Yifan Hong1e81c532016-10-18 18:43:46 -070040 "android.hardware.tests.inheritance@1.0-impl",
Steven Moreland40d131b2016-10-24 11:29:20 -070041 "android.hardware.tests.pointer@1.0-impl",
Martijn Coenen19cb1062016-12-06 14:49:09 +010042 "android.hardware.tests.memory@1.0-impl",
Steven Moreland40d131b2016-10-24 11:29:20 -070043 ],
44
Dan Willemsen676abdc2016-09-28 19:42:22 -070045 cflags: [
46 "-O0",
47 "-g",
48 ],
Martijn Coenenbf21f202016-11-18 15:46:46 +010049
50 compile_multilib: "both",
51 multilib: {
52 lib32: {
53 suffix: "32",
54 },
55 lib64: {
56 suffix: "64",
57 },
58 },
Dan Willemsen676abdc2016-09-28 19:42:22 -070059}