• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1subdirs = [
2    "vendor/1.0",
3    "java_test",
4]
5
6cc_test {
7    name: "hidl_test_client",
8    vendor: true,
9    cflags: hidl_flags,
10    srcs: ["hidl_test_client.cpp", "FooCallback.cpp"],
11
12    shared_libs: [
13        "libbase",
14        "liblog",
15        "libcutils",
16        "libhidlbase",
17        "libhidltransport",
18        "libhidlmemory",
19        "libfootest",
20        "libhwbinder",
21        "libpointertest",
22        "libutils",
23        "android.hardware.tests.foo@1.0",
24        "android.hardware.tests.bar@1.0",
25        "android.hardware.tests.baz@1.0",
26        "android.hardware.tests.hash@1.0",
27        "android.hardware.tests.inheritance@1.0",
28        "android.hardware.tests.pointer@1.0",
29        "android.hardware.tests.memory@1.0",
30        "android.hidl.allocator@1.0",
31        "android.hidl.memory@1.0",
32        "android.hidl.token@1.0",
33    ],
34
35    required: [
36        // Warning, these should never be specified explicitly for anything else
37        // as for a given device, what hal implementation is used is determined
38        // by what is specified/available in a device.mk. However, this test
39        // actually depends on these test implementations (which should never be
40        // included on a device.mk).
41        "android.hardware.tests.foo@1.0-impl",
42        "android.hardware.tests.bar@1.0-impl",
43        "android.hardware.tests.baz@1.0-impl",
44        "android.hardware.tests.hash@1.0-impl",
45        "android.hardware.tests.inheritance@1.0-impl",
46        "android.hardware.tests.pointer@1.0-impl",
47        "android.hardware.tests.memory@1.0-impl",
48    ],
49}
50
51cc_test {
52    name: "hidl_test_servers",
53    vendor: true,
54    srcs: ["hidl_test_servers.cpp"],
55    gtest: false,
56
57    shared_libs: [
58        "libbase",
59        "libhidlbase",
60        "libhidltransport",
61        "libhwbinder",
62        "liblog",
63        "libutils",
64        "android.hardware.tests.foo@1.0",
65        "android.hardware.tests.bar@1.0",
66        "android.hardware.tests.baz@1.0",
67        "android.hardware.tests.hash@1.0",
68        "android.hardware.tests.inheritance@1.0",
69        "android.hardware.tests.pointer@1.0",
70        "android.hardware.tests.memory@1.0",
71        "android.hidl.memory@1.0",
72        "android.hidl.token@1.0",
73    ],
74}
75