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_aidl_license"
5    // to get the below license kinds:
6    //   SPDX-license-identifier-Apache-2.0
7    default_applicable_licenses: ["system_tools_aidl_license"],
8}
9
10cc_test {
11    name: "aidl_lazy_test",
12    srcs: ["main.cpp"],
13    test_suites: ["general-tests"],
14    require_root: true,
15
16    shared_libs: [
17        "libbase",
18        "liblog",
19        "libutils",
20        "libbinder",
21    ],
22
23    static_libs: [
24        "lazy_test_service_aidl-cpp",
25        "lazy_cb_test_service_aidl-cpp",
26    ],
27}
28
29cc_binary {
30    name: "aidl_lazy_test_server",
31    srcs: [
32        "server.cpp",
33        "LazyTestService.cpp",
34    ],
35    init_rc: ["aidl_lazy_test_server.rc"],
36    system_ext_specific: true,
37
38    shared_libs: [
39        "libbase",
40        "libbinder",
41        "liblog",
42        "libutils",
43    ],
44
45    static_libs: [
46        "lazy_test_service_aidl-cpp",
47    ],
48}
49
50aidl_interface {
51    name: "lazy_test_service_aidl",
52    unstable: true,
53    flags: ["-Werror"],
54    srcs: [
55        "ILazyTestService.aidl",
56    ],
57}
58
59cc_binary {
60    name: "aidl_lazy_cb_test_server",
61    srcs: [
62        "ServerCb.cpp",
63        "LazyTestServiceCb.cpp",
64    ],
65    init_rc: ["aidl_lazy_cb_test_server.rc"],
66    system_ext_specific: true,
67
68    shared_libs: [
69        "libbinder",
70        "liblog",
71        "libutils",
72    ],
73
74    static_libs: [
75        "lazy_cb_test_service_aidl-cpp",
76    ],
77}
78
79aidl_interface {
80    name: "lazy_cb_test_service_aidl",
81    unstable: true,
82    flags: ["-Werror"],
83    srcs: [
84        "ILazyTestServiceCb.aidl",
85    ],
86}
87