1// Copyright (C) 2021 Google Inc. 2// 3// Licensed under the Apache License, Version 2.0 (the "License"); 4// you may not use this file except in compliance with the License. 5// You may obtain a copy of the License at 6// 7// http://www.apache.org/licenses/LICENSE-2.0 8// 9// Unless required by applicable law or agreed to in writing, software 10// distributed under the License is distributed on an "AS IS" BASIS, 11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12// See the License for the specific language governing permissions and 13// limitations under the License. 14 15package { 16 // See: http://go/android-license-faq 17 default_applicable_licenses: [ 18 "Android-Apache-2.0", 19 ], 20} 21 22android_app { 23 name: "TVTestInput", 24 srcs: ["src/**/*.java"], 25 optimize: { 26 enabled: false, 27 }, 28 // Overlay view related functionality requires system APIs. 29 sdk_version: "system_current", 30 static_libs: [ 31 "tv-test-common", 32 "tv-common", 33 ], 34 // Disable dexpreopt and <uses-library> check for test. 35 enforce_uses_libs: false, 36 dex_preopt: { 37 enabled: false, 38 }, 39 resource_dirs: [ 40 "res", 41 ], 42 aaptflags: [ 43 "--auto-add-overlay", 44 "--extra-packages com.android.tv.testing", 45 ], 46} 47