You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
61 lines
1.6 KiB
61 lines
1.6 KiB
package {
|
|
// See: http://go/android-license-faq
|
|
// A large-scale-change added 'default_applicable_licenses' to import
|
|
// all of the 'license_kinds' from "hardware_interfaces_license"
|
|
// to get the below license kinds:
|
|
// SPDX-license-identifier-Apache-2.0
|
|
default_applicable_licenses: ["hardware_interfaces_license"],
|
|
}
|
|
|
|
cc_defaults {
|
|
name: "tuner_service_defaults",
|
|
defaults: ["hidl_defaults"],
|
|
vendor: true,
|
|
relative_install_path: "hw",
|
|
srcs: [
|
|
"Filter.cpp",
|
|
"Frontend.cpp",
|
|
"Descrambler.cpp",
|
|
"Demux.cpp",
|
|
"Dvr.cpp",
|
|
"TimeFilter.cpp",
|
|
"Tuner.cpp",
|
|
"Lnb.cpp",
|
|
"service.cpp",
|
|
],
|
|
|
|
compile_multilib: "first",
|
|
|
|
shared_libs: [
|
|
"android.hardware.tv.tuner@1.0",
|
|
"android.hidl.memory@1.0",
|
|
"libcutils",
|
|
"libfmq",
|
|
"libhidlbase",
|
|
"libhidlmemory",
|
|
"libdmabufheap",
|
|
"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"],
|
|
}
|