1package {
2    // See: http://go/android-license-faq
3    // A large-scale-change added 'default_applicable_licenses' to import
4    // all of the 'license_kinds' from "system_tools_hidl_license"
5    // to get the below license kinds:
6    //   SPDX-license-identifier-Apache-2.0
7    default_applicable_licenses: ["system_tools_hidl_license"],
8}
9
10cc_test {
11    name: "hidl_lazy_test",
12    defaults: ["hidl-gen-defaults"],
13    srcs: ["hidl_lazy_test.cpp"],
14
15    shared_libs: [
16        "libbase",
17        "libcutils",
18        "libhidl-gen-utils",
19        "libhidlbase",
20        "liblog",
21        "libutils",
22    ],
23    static_libs: [
24        "android.hardware.tests.lazy@1.0",
25        "android.hardware.tests.lazy@1.1",
26        "android.hardware.tests.lazy_cb@1.0",
27    ],
28
29    test_suites: ["general-tests"],
30    require_root: true,
31}
32
33cc_binary {
34    name: "hidl_lazy_test_server",
35    system_ext_specific: true,
36
37    vintf_fragments: ["hidl_lazy_test_server.xml"],
38    init_rc: ["hidl_lazy_test_server.rc"],
39
40    srcs: ["hidl_lazy_test_server.cpp"],
41
42    shared_libs: [
43        "android.hardware.tests.lazy@1.0",
44        "android.hardware.tests.lazy@1.1",
45        "android.hardware.tests.lazy_cb@1.0",
46        "libbase",
47        "libhidlbase",
48        "libutils",
49    ],
50}
51
52cc_binary {
53    name: "hidl_lazy_cb_test_server",
54    system_ext_specific: true,
55
56    vintf_fragments: ["hidl_lazy_cb_test_server.xml"],
57    init_rc: ["hidl_lazy_cb_test_server.rc"],
58
59    srcs: ["hidl_lazy_cb_test_server.cpp"],
60
61    shared_libs: [
62        "android.hardware.tests.lazy_cb@1.0",
63        "libbase",
64        "libhidlbase",
65        "libutils",
66    ],
67}
68