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