1package { 2 // See: http://go/android-license-faq 3 // A large-scale-change added 'default_applicable_licenses' to import 4 // all of the 'license_kinds' from "hardware_interfaces_license" 5 // to get the below license kinds: 6 // SPDX-license-identifier-Apache-2.0 7 default_applicable_licenses: ["hardware_interfaces_license"], 8} 9 10cc_defaults { 11 name: "tuner_service_defaults", 12 defaults: ["hidl_defaults"], 13 vendor: true, 14 relative_install_path: "hw", 15 srcs: [ 16 "Filter.cpp", 17 "Frontend.cpp", 18 "Descrambler.cpp", 19 "Demux.cpp", 20 "Dvr.cpp", 21 "TimeFilter.cpp", 22 "Tuner.cpp", 23 "Lnb.cpp", 24 "service.cpp", 25 ], 26 27 compile_multilib: "first", 28 29 shared_libs: [ 30 "android.hardware.tv.tuner@1.0", 31 "android.hidl.memory@1.0", 32 "libcutils", 33 "libfmq", 34 "libhidlbase", 35 "libhidlmemory", 36 "libdmabufheap", 37 "liblog", 38 "libstagefright_foundation", 39 "libutils", 40 ], 41 header_libs: [ 42 "media_plugin_headers", 43 ], 44} 45 46cc_binary { 47 name: "android.hardware.tv.tuner@1.0-service", 48 vintf_fragments: ["android.hardware.tv.tuner@1.0-service.xml"], 49 defaults: ["tuner_service_defaults"], 50 init_rc: ["android.hardware.tv.tuner@1.0-service.rc"], 51} 52 53cc_binary { 54 name: "android.hardware.tv.tuner@1.0-service-lazy", 55 vintf_fragments: ["android.hardware.tv.tuner@1.0-service-lazy.xml"], 56 overrides: ["android.hardware.tv.tuner@1.0-service"], 57 defaults: ["tuner_service_defaults"], 58 init_rc: ["android.hardware.tv.tuner@1.0-service-lazy.rc"], 59 cflags: ["-DLAZY_SERVICE"], 60} 61