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    ],
26}
27
28cc_binary {
29    name: "aidl_lazy_test_server",
30    srcs: [
31        "server.cpp",
32        "LazyTestService.cpp",
33    ],
34    init_rc: ["aidl_lazy_test_server.rc"],
35    system_ext_specific: true,
36
37    shared_libs: [
38        "libbinder",
39        "liblog",
40        "libutils",
41    ],
42
43    static_libs: [
44        "lazy_test_service_aidl-cpp",
45    ],
46}
47
48aidl_interface {
49    name: "lazy_test_service_aidl",
50    unstable: true,
51    flags: ["-Werror"],
52    srcs: [
53        "ILazyTestService.aidl",
54    ],
55}
56