1// 2// Copyright (C) 2019 The Android Open Source Project 3// 4// Licensed under the Apache License, Version 2.0 (the "License"); 5// you may not use this file except in compliance with the License. 6// You may obtain a copy of the License at 7// 8// http://www.apache.org/licenses/LICENSE-2.0 9// 10// Unless required by applicable law or agreed to in writing, software 11// distributed under the License is distributed on an "AS IS" BASIS, 12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13// See the License for the specific language governing permissions and 14// limitations under the License. 15// 16 17package { 18 default_applicable_licenses: ["Android-Apache-2.0"], 19} 20 21android_app { 22 name: "SampleDvbTuner", 23 24 srcs: ["src/**/*.java"], 25 26 sdk_version: "system_current", 27 min_sdk_version: "23", // M 28 29 resource_dirs: [ 30 "res", 31 ], 32 33 static_libs: [ 34 "live-tv-tuner", 35 "live-tv-tuner-proto", 36 "tv-common", 37 "tv-lib-dagger", 38 "tv-lib-exoplayer", 39 "tv-lib-exoplayer-v2-core", 40 "tv-lib-exoplayer-v2-ui", 41 "tv-lib-dagger-android", 42 "live-channels-partner-support", 43 ], 44 45 plugins: [ 46 "tv-lib-dagger-android-processor", 47 "tv-lib-dagger-compiler", 48 ], 49 50 jni_libs: ["libtunertvinput_jni"], 51 52 aaptflags: [ 53 "--version-name", 54 version_name, 55 56 "--version-code", 57 version_code, 58 59 "--extra-packages", 60 "com.android.tv.tuner", 61 62 "--extra-packages", 63 "com.android.tv.common", 64 ], 65} 66