xref: /aosp_15_r20/hardware/interfaces/cas/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      "CasImpl.cpp",
17      "DescramblerImpl.cpp",
18      "MediaCasService.cpp",
19      "service.cpp",
20      "SharedLibrary.cpp",
21      "TypeConvert.cpp",
22    ],
23
24    compile_multilib: "prefer32",
25
26    shared_libs: [
27      "[email protected]",
28      "[email protected]",
29      "[email protected]",
30      "[email protected]",
31      "libbinder",
32      "libhidlbase",
33      "libhidlmemory",
34      "liblog",
35      "libutils",
36    ],
37    header_libs: [
38      "libstagefright_foundation_headers",
39      "media_plugin_headers",
40    ],
41}
42
43cc_binary {
44    name: "[email protected]",
45    vintf_fragments: ["[email protected]"],
46    defaults: ["[email protected]"],
47    init_rc: ["[email protected]"],
48}
49
50cc_binary {
51    name: "[email protected]",
52    vintf_fragments: ["[email protected]"],
53    overrides: ["[email protected]"],
54    defaults: ["[email protected]"],
55    init_rc: ["[email protected]"],
56    cflags: ["-DLAZY_SERVICE"],
57}
58