xref: /aosp_15_r20/hardware/interfaces/cas/1.2/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      "[email protected]",
32      "libbinder",
33      "libhidlbase",
34      "libhidlmemory",
35      "liblog",
36      "libutils",
37    ],
38    header_libs: [
39      "libstagefright_foundation_headers",
40      "media_plugin_headers",
41    ],
42}
43
44cc_binary {
45    name: "[email protected]",
46    vintf_fragments: ["[email protected]"],
47    defaults: ["[email protected]"],
48    init_rc: ["[email protected]"],
49    overrides: ["com.android.hardware.cas"],
50}
51
52cc_binary {
53    name: "[email protected]",
54    vintf_fragments: ["[email protected]"],
55    overrides: ["[email protected]"],
56    defaults: ["[email protected]"],
57    init_rc: ["[email protected]"],
58    cflags: ["-DLAZY_SERVICE"],
59}
60