2019-08-10 01:25:12 +02:00
|
|
|
cc_defaults {
|
|
|
|
name: "tuner_service_defaults",
|
|
|
|
defaults: ["hidl_defaults"],
|
|
|
|
vendor: true,
|
|
|
|
relative_install_path: "hw",
|
|
|
|
srcs: [
|
2019-10-16 02:38:19 +02:00
|
|
|
"Filter.cpp",
|
2019-08-10 01:25:12 +02:00
|
|
|
"Frontend.cpp",
|
2019-08-17 01:01:27 +02:00
|
|
|
"Descrambler.cpp",
|
|
|
|
"Demux.cpp",
|
2019-10-16 02:38:19 +02:00
|
|
|
"Dvr.cpp",
|
|
|
|
"TimeFilter.cpp",
|
2019-08-10 01:25:12 +02:00
|
|
|
"Tuner.cpp",
|
2019-09-17 00:51:28 +02:00
|
|
|
"Lnb.cpp",
|
2019-08-10 01:25:12 +02:00
|
|
|
"service.cpp",
|
|
|
|
],
|
|
|
|
|
|
|
|
compile_multilib: "first",
|
|
|
|
|
|
|
|
shared_libs: [
|
|
|
|
"android.hardware.tv.tuner@1.0",
|
|
|
|
"android.hidl.memory@1.0",
|
2019-08-23 23:38:31 +02:00
|
|
|
"libcutils",
|
|
|
|
"libfmq",
|
2019-08-10 01:25:12 +02:00
|
|
|
"libhidlbase",
|
|
|
|
"libhidlmemory",
|
2020-03-11 00:56:59 +01:00
|
|
|
"libion",
|
2019-08-10 01:25:12 +02:00
|
|
|
"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"],
|
|
|
|
}
|