platform_hardware_interfaces/cas/1.1/default/Android.bp
Henry Fang d3fbe19e6b Remove the enforce to build 32 binary
cherry-pick from internal master

bug: 157096583
Test: Manual
Change-Id: Ice58cac7adf46f17606be8c4b2c3fe2e4bf1a472
Merged-In: Ice58cac7adf46f17606be8c4b2c3fe2e4bf1a472
2020-06-10 22:22:05 +00:00

46 lines
1.2 KiB
Text

cc_defaults {
name: "cas_service_defaults@1.1",
defaults: ["hidl_defaults"],
vendor: true,
relative_install_path: "hw",
srcs: [
"CasImpl.cpp",
"DescramblerImpl.cpp",
"MediaCasService.cpp",
"service.cpp",
"SharedLibrary.cpp",
"TypeConvert.cpp",
],
shared_libs: [
"android.hardware.cas@1.0",
"android.hardware.cas@1.1",
"android.hardware.cas.native@1.0",
"android.hidl.memory@1.0",
"libbinder",
"libhidlbase",
"libhidlmemory",
"liblog",
"libutils",
],
header_libs: [
"libstagefright_foundation_headers",
"media_plugin_headers",
],
}
cc_binary {
name: "android.hardware.cas@1.1-service",
vintf_fragments: ["android.hardware.cas@1.1-service.xml"],
defaults: ["cas_service_defaults@1.1"],
init_rc: ["android.hardware.cas@1.1-service.rc"],
}
cc_binary {
name: "android.hardware.cas@1.1-service-lazy",
vintf_fragments: ["android.hardware.cas@1.1-service-lazy.xml"],
overrides: ["android.hardware.cas@1.1-service"],
defaults: ["cas_service_defaults@1.1"],
init_rc: ["android.hardware.cas@1.1-service-lazy.rc"],
cflags: ["-DLAZY_SERVICE"],
}