xref: /aosp_15_r20/hardware/interfaces/tv/cec/1.0/default/Android.bp (revision 4d7e907c777eeecc4c5bd7cf640a754fac206ff7)
1package {
2    default_team: "trendy_team_tv_os",
3    // See: http://go/android-license-faq
4    // A large-scale-change added 'default_applicable_licenses' to import
5    // all of the 'license_kinds' from "hardware_interfaces_license"
6    // to get the below license kinds:
7    //   SPDX-license-identifier-Apache-2.0
8    default_applicable_licenses: ["hardware_interfaces_license"],
9}
10
11cc_library_shared {
12    name: "[email protected]",
13    defaults: ["hidl_defaults"],
14    vendor: true,
15    relative_install_path: "hw",
16    srcs: [
17        "HdmiCec.cpp",
18        "HdmiCecDefault.cpp",
19        "HdmiCecPort.cpp",
20    ],
21
22    shared_libs: [
23        "libhidlbase",
24        "liblog",
25        "libbase",
26        "libcutils",
27        "libutils",
28        "libhardware",
29        "[email protected]",
30    ],
31
32}
33
34cc_binary {
35    name: "[email protected]",
36    defaults: ["hidl_defaults"],
37    relative_install_path: "hw",
38    vendor: true,
39    init_rc: ["[email protected]"],
40    srcs: ["service.cpp"],
41
42    shared_libs: [
43        "liblog",
44        "libcutils",
45        "libdl",
46        "libbase",
47        "libutils",
48        "libhardware_legacy",
49        "libhardware",
50        "libhidlbase",
51        "[email protected]",
52    ],
53
54}
55
56cc_binary {
57    name: "[email protected]",
58    vintf_fragments: ["[email protected]"],
59    relative_install_path: "hw",
60    vendor: true,
61    init_rc: ["[email protected]"],
62    srcs: [
63        "serviceMock.cpp",
64        "HdmiCecMock.cpp",
65    ],
66
67    shared_libs: [
68        "liblog",
69        "libcutils",
70        "libbase",
71        "libutils",
72        "libhardware",
73        "libhidlbase",
74        "[email protected]",
75    ],
76}
77