1// Copyright (C) 2023 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} 18 19android_test { 20 name: "CtsAdServicesCobaltTest", 21 team: "trendy_team_android_rubidium", 22 srcs: [ 23 "src/**/*.java", 24 ], 25 static_libs: [ 26 "androidx.test.runner", 27 "compatibility-device-util-axt", 28 "truth", 29 ], 30 libs: [ 31 "android.test.base", 32 "android.test.runner", 33 "framework-adservices-lib", 34 ], 35 test_suites: [ 36 "cts", 37 "general-tests", 38 "mts-adservices", 39 "mcts-adservices", 40 ], 41 sdk_version: "module_current", 42 min_sdk_version: "Tiramisu", 43 manifest: "AndroidManifest.xml", 44 test_config: "AndroidTest.xml", 45 lint: { 46 extra_check_modules: ["AdServicesTestLintChecker"], 47 test: false, // TODO(b/343741206): remove when checks will run on android_test 48 }, 49} 50 51android_test { 52 name: "CtsAdExtServicesAdServicesCobaltTest", 53 srcs: [ 54 "src/**/*.java", 55 ], 56 static_libs: [ 57 "androidx.test.runner", 58 "compatibility-device-util-axt", 59 "truth", 60 ], 61 libs: [ 62 "android.ext.adservices", 63 "android.test.base", 64 "android.test.runner", 65 "framework-adservices-lib", 66 ], 67 test_suites: [ 68 "cts", 69 "general-tests", 70 "mts-extservices", 71 "mcts-extservices", 72 ], 73 sdk_version: "module_current", 74 min_sdk_version: "31", 75 max_sdk_version: "32", 76 test_config: "AndroidTest.ExtServices.xml", 77 manifest: "AndroidManifestExtServices.xml", 78 lint: { 79 extra_check_modules: ["AdServicesTestLintChecker"], 80 test: false, // TODO(b/343741206): remove when checks will run on android_test 81 }, 82} 83