7fb75d8cf8
Bug: 135709325 Test: Manual Change-Id: I5603e2c6dd71c46c9c5f3b0e25425c965e77ed0c Merged-In: I5603e2c6dd71c46c9c5f3b0e25425c965e77ed0c
43 lines
1.1 KiB
Text
43 lines
1.1 KiB
Text
cc_defaults {
|
|
name: "tuner_service_defaults",
|
|
defaults: ["hidl_defaults"],
|
|
vendor: true,
|
|
relative_install_path: "hw",
|
|
srcs: [
|
|
"Frontend.cpp",
|
|
"Tuner.cpp",
|
|
"service.cpp",
|
|
],
|
|
|
|
compile_multilib: "first",
|
|
|
|
shared_libs: [
|
|
"android.hardware.tv.tuner@1.0",
|
|
"android.hidl.memory@1.0",
|
|
"libhidlbase",
|
|
"libhidlmemory",
|
|
"libhidltransport",
|
|
"liblog",
|
|
"libstagefright_foundation",
|
|
"libutils",
|
|
],
|
|
header_libs: [
|
|
"media_plugin_headers",
|
|
],
|
|
}
|
|
|
|
cc_binary {
|
|
name: "android.hardware.tv.tuner@1.0-service",
|
|
vintf_fragments: ["android.hardware.tv.tuner@1.0-service.xml"],
|
|
defaults: ["tuner_service_defaults"],
|
|
init_rc: ["android.hardware.tv.tuner@1.0-service.rc"],
|
|
}
|
|
|
|
cc_binary {
|
|
name: "android.hardware.tv.tuner@1.0-service-lazy",
|
|
vintf_fragments: ["android.hardware.tv.tuner@1.0-service-lazy.xml"],
|
|
overrides: ["android.hardware.tv.tuner@1.0-service"],
|
|
defaults: ["tuner_service_defaults"],
|
|
init_rc: ["android.hardware.tv.tuner@1.0-service-lazy.rc"],
|
|
cflags: ["-DLAZY_SERVICE"],
|
|
}
|