package { // See: http://go/android-license-faq // A large-scale-change added 'default_applicable_licenses' to import // all of the 'license_kinds' from "frameworks_av_license" // to get the below license kinds: // SPDX-license-identifier-Apache-2.0 default_applicable_licenses: ["frameworks_av_license"], } aidl_interface { name: "tv_tuner_aidl_interface", unstable: true, local_include_dir: "aidl", srcs: ["aidl/android/media/tv/tuner/*.aidl"], imports: [ "android.hardware.common-V2", "android.hardware.common.fmq-V1", "android.hardware.tv.tuner-V2", ], backend: { java: { enabled: false, }, cpp: { enabled: false, }, ndk: { enabled: true, }, }, } cc_library { name: "libtunerservice", srcs: [ "Tuner*.cpp", "hidl/Tuner*.cpp", ], shared_libs: [ "android.hardware.tv.tuner@1.0", "android.hardware.tv.tuner@1.1", "android.hardware.tv.tuner-V2-ndk", "libbase", "libbinder", "libbinder_ndk", "libcutils", "libfmq", "libhidlbase", "liblog", "libmedia", "libutils", "packagemanager_aidl-cpp", "tv_tuner_aidl_interface-ndk", "tv_tuner_resource_manager_aidl_interface-ndk", ], static_libs: [ "android.hardware.common.fmq-V1-ndk", "libaidlcommonsupport", ], include_dirs: [ "frameworks/av/include" ], cflags: [ "-Werror", "-Wall", ], export_include_dirs: ["."], } cc_binary { name: "mediatuner", srcs: [ "main_tunerservice.cpp", ], shared_libs: [ "android.hardware.tv.tuner@1.0", "android.hardware.tv.tuner@1.1", "android.hardware.tv.tuner-V2-ndk", "libbase", "libbinder", "libfmq", "libhidlbase", "liblog", "libtunerservice", "libutils", "tv_tuner_aidl_interface-ndk", "tv_tuner_resource_manager_aidl_interface-ndk", ], init_rc: ["mediatuner.rc"], cflags: [ "-Werror", "-Wall", ], }