• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1cc_defaults {
2    name: "cas_service_defaults",
3    defaults: ["hidl_defaults"],
4    vendor: true,
5    relative_install_path: "hw",
6    srcs: [
7      "CasImpl.cpp",
8      "DescramblerImpl.cpp",
9      "MediaCasService.cpp",
10      "service.cpp",
11      "SharedLibrary.cpp",
12      "TypeConvert.cpp",
13    ],
14
15    compile_multilib: "32",
16
17    shared_libs: [
18      "android.hardware.cas@1.0",
19      "android.hardware.cas.native@1.0",
20      "android.hidl.memory@1.0",
21      "libbinder",
22      "libhidlbase",
23      "libhidlmemory",
24      "libhidltransport",
25      "liblog",
26      "libstagefright_foundation",
27      "libutils",
28    ],
29    header_libs: [
30      "media_plugin_headers",
31    ],
32}
33
34cc_binary {
35    name: "android.hardware.cas@1.0-service",
36    vintf_fragments: ["android.hardware.cas@1.0-service.xml"],
37    defaults: ["cas_service_defaults"],
38    init_rc: ["android.hardware.cas@1.0-service.rc"],
39}
40
41cc_binary {
42    name: "android.hardware.cas@1.0-service-lazy",
43    vintf_fragments: ["android.hardware.cas@1.0-service-lazy.xml"],
44    overrides: ["android.hardware.cas@1.0-service"],
45    defaults: ["cas_service_defaults"],
46    init_rc: ["android.hardware.cas@1.0-service-lazy.rc"],
47    cflags: ["-DLAZY_SERVICE"],
48}
49