blob: b8f513fe23ab1f6d3ba9d6895765b5ad47a06547 [file] [log] [blame]
Steven Morelandc46e9842016-11-02 13:21:26 -07001subdirs = [
2 "vendor/1.0",
Andreas Huber164f83e2017-01-05 17:20:45 -08003 "java_test",
Steven Morelandc46e9842016-11-02 13:21:26 -07004]
5
Dan Willemsen676abdc2016-09-28 19:42:22 -07006cc_test {
7 name: "hidl_test",
Steven Moreland60818632017-02-04 00:33:42 -08008 cflags: hidl_flags,
Dan Willemsen676abdc2016-09-28 19:42:22 -07009 gtest: false,
Yifan Hong11992a62016-11-09 18:07:40 -080010 srcs: ["main.cpp", "FooCallback.cpp"],
Dan Willemsen676abdc2016-09-28 19:42:22 -070011
12 shared_libs: [
13 "libbase",
14 "liblog",
15 "libcutils",
Yifan Honga5abe922016-11-16 14:18:37 -080016 "libhidlbase",
17 "libhidltransport",
Martijn Coenen99e6beb2016-12-01 15:48:42 +010018 "libhidlmemory",
Yifan Hong398e6fb2016-10-17 11:38:09 -070019 "libfootest",
Dan Willemsen676abdc2016-09-28 19:42:22 -070020 "libhwbinder",
21 "libnativehelper",
Yifan Hong398e6fb2016-10-17 11:38:09 -070022 "libpointertest",
Dan Willemsen676abdc2016-09-28 19:42:22 -070023 "libutils",
24 "android.hardware.tests.foo@1.0",
25 "android.hardware.tests.bar@1.0",
Yifan Hong1e81c532016-10-18 18:43:46 -070026 "android.hardware.tests.inheritance@1.0",
Dan Willemsen676abdc2016-09-28 19:42:22 -070027 "android.hardware.tests.pointer@1.0",
Martijn Coenen99e6beb2016-12-01 15:48:42 +010028 "android.hardware.tests.memory@1.0",
Steven Morelandaa2b83a2016-12-21 15:52:11 -080029 "android.hidl.memory@1.0",
30 "android.hidl.token@1.0",
Dan Willemsen676abdc2016-09-28 19:42:22 -070031 ],
32 static_libs: ["libgtest"],
33
Steven Moreland40d131b2016-10-24 11:29:20 -070034 required: [
35 // Warning, these should never be specified explicitly for anything else
36 // as for a given device, what hal implementation is used is determined
37 // by what is specified/available in a device.mk. However, this test
38 // actually depends on these test implementations (which should never be
39 // included on a device.mk).
40 "android.hardware.tests.foo@1.0-impl",
41 "android.hardware.tests.bar@1.0-impl",
Yifan Hong1e81c532016-10-18 18:43:46 -070042 "android.hardware.tests.inheritance@1.0-impl",
Steven Moreland40d131b2016-10-24 11:29:20 -070043 "android.hardware.tests.pointer@1.0-impl",
Martijn Coenen19cb1062016-12-06 14:49:09 +010044 "android.hardware.tests.memory@1.0-impl",
Steven Moreland40d131b2016-10-24 11:29:20 -070045 ],
46
Martijn Coenenbf21f202016-11-18 15:46:46 +010047 compile_multilib: "both",
48 multilib: {
49 lib32: {
50 suffix: "32",
51 },
52 lib64: {
53 suffix: "64",
54 },
55 },
Dan Willemsen676abdc2016-09-28 19:42:22 -070056}