• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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        "libbinder",
40        "liblog",
41        "libutils",
42    ],
43
44    static_libs: [
45        "lazy_test_service_aidl-cpp",
46    ],
47}
48
49aidl_interface {
50    name: "lazy_test_service_aidl",
51    unstable: true,
52    flags: ["-Werror"],
53    srcs: [
54        "ILazyTestService.aidl",
55    ],
56}
57
58cc_binary {
59    name: "aidl_lazy_cb_test_server",
60    srcs: [
61        "ServerCb.cpp",
62        "LazyTestServiceCb.cpp",
63    ],
64    init_rc: ["aidl_lazy_cb_test_server.rc"],
65    system_ext_specific: true,
66
67    shared_libs: [
68        "libbinder",
69        "liblog",
70        "libutils",
71    ],
72
73    static_libs: [
74        "lazy_cb_test_service_aidl-cpp",
75    ],
76}
77
78aidl_interface {
79    name: "lazy_cb_test_service_aidl",
80    unstable: true,
81    flags: ["-Werror"],
82    srcs: [
83        "ILazyTestServiceCb.aidl",
84    ],
85}
86