xref: /aosp_15_r20/hardware/interfaces/tv/tuner/1.1/default/Android.bp (revision 4d7e907c777eeecc4c5bd7cf640a754fac206ff7)
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 "hardware_interfaces_license"
5    // to get the below license kinds:
6    //   SPDX-license-identifier-Apache-2.0
7    default_applicable_licenses: ["hardware_interfaces_license"],
8}
9
10cc_defaults {
11    name: "[email protected]",
12    defaults: ["hidl_defaults"],
13    vendor: true,
14    relative_install_path: "hw",
15    srcs: [
16        "Demux.cpp",
17        "Descrambler.cpp",
18        "Dvr.cpp",
19        "Filter.cpp",
20        "Frontend.cpp",
21        "Lnb.cpp",
22        "TimeFilter.cpp",
23        "Tuner.cpp",
24        "service.cpp",
25    ],
26
27    compile_multilib: "first",
28
29    shared_libs: [
30        "[email protected]",
31        "[email protected]",
32        "[email protected]",
33        "libcutils",
34        "libdmabufheap",
35        "libfmq",
36        "libhidlbase",
37        "libhidlmemory",
38        "libion",
39        "liblog",
40        "libstagefright_foundation",
41        "libutils",
42    ],
43    header_libs: [
44        "media_plugin_headers",
45    ],
46}
47
48cc_binary {
49    name: "[email protected]",
50    vintf_fragments: ["[email protected]"],
51    defaults: ["[email protected]"],
52    init_rc: ["[email protected]"],
53}
54
55cc_binary {
56    name: "[email protected]",
57    vintf_fragments: ["[email protected]"],
58    overrides: ["[email protected]"],
59    defaults: ["[email protected]"],
60    init_rc: ["[email protected]"],
61    cflags: ["-DLAZY_SERVICE"],
62}
63