1// Copyright (C) 2014 The Android Open Source Project 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 default_applicable_licenses: ["Android-Apache-2.0"], 17 default_team: "trendy_team_tv_os", 18} 19 20android_library { 21 name: "CtsTvTestCases_lib", 22 srcs: [ 23 "src/**/*.java", 24 "src/**/*.aidl", 25 ":tuner_cts_configuration_v1", 26 ], 27 libs: [ 28 "platform-test-annotations", 29 "android.test.runner.stubs.system", 30 "android.test.base.stubs.system", 31 ], 32 static_libs: [ 33 "android.media.tv.flags-aconfig-java", 34 "androidx.test.core", 35 "androidx.test.rules", 36 "androidx.test.ext.truth", 37 "compatibility-device-util-axt", 38 "ctstestrunner-axt", 39 "testng", 40 ], 41 42 // sdk_version: "test_current", 43 platform_apis: true, 44 resource_dirs: [ 45 "res", 46 ], 47} 48 49android_test { 50 name: "CtsTvTestCases", 51 defaults: ["cts_defaults"], 52 // Tag this module as a cts test artifact 53 test_suites: [ 54 "cts", 55 "general-tests", 56 ], 57 static_libs: [ 58 "CtsTvTestCases_lib", 59 ], 60 // sdk_version: "test_current", 61 platform_apis: true, 62 resource_dirs: [], 63 sdk_version: "test_current", 64} 65 66android_test_helper_app { 67 name: "CtsTvTestCasesHelperApp", 68 defaults: ["cts_defaults"], 69 platform_apis: true, 70 privileged: true, 71 static_libs: [ 72 "CtsTvTestCases_lib", 73 "ctstestrunner-axt", 74 "compatibility-device-util-axt", 75 "androidx.legacy_legacy-support-v4", 76 "androidx.test.rules", 77 ], 78} 79 80test_module_config { 81 name: "CtsTvTestCases_Presubmit", 82 base: "CtsTvTestCases", 83 test_suites: ["general-tests"], 84 include_annotations: ["android.platform.test.annotations.Presubmit"], 85} 86