1// Copyright (C) 2022 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_team: "trendy_team_android_rubidium", 17 default_applicable_licenses: ["Android-Apache-2.0"], 18} 19 20android_test { 21 name: "CtsAdServicesPermissionsValidEndToEndTests", 22 defaults: [ 23 "cts_defaults", 24 "modules-utils-testable-device-config-defaults", 25 ], 26 srcs: [ 27 "src/**/*.java", 28 ], 29 static_libs: [ 30 "adservices-clients", 31 "adservices-test-fixtures", 32 "adservices-test-utility", 33 "androidx.concurrent_concurrent-futures", 34 "compatibility-device-util-axt", 35 "truth", 36 ], 37 libs: [ 38 "android.test.base", 39 "framework-adservices", 40 "framework-sdksandbox.impl", 41 ], 42 test_suites: [ 43 "cts", 44 "general-tests", 45 "mts-adservices", 46 "mcts-adservices", 47 ], 48 min_sdk_version: "33", 49 manifest: "AndroidManifest.xml", 50 lint: { 51 extra_check_modules: ["AdServicesTestLintChecker"], 52 baseline_filename: "lint-baseline.xml", 53 test: false, // TODO(b/343741206): remove when checks will run on android_test 54 }, 55} 56 57android_test { 58 name: "CtsAdExtServicesPermissionsValidEndToEndTests", 59 defaults: [ 60 "cts_defaults", 61 "modules-utils-testable-device-config-defaults", 62 ], 63 srcs: [ 64 "src/**/*.java", 65 ], 66 static_libs: [ 67 "adservices-clients", 68 "adservices-test-fixtures", 69 "adservices-test-utility", 70 "androidx.concurrent_concurrent-futures", 71 "compatibility-device-util-axt", 72 "truth", 73 ], 74 libs: [ 75 "android.ext.adservices", 76 "android.test.base", 77 "framework-adservices", 78 "framework-sdksandbox.impl", 79 ], 80 test_suites: [ 81 "cts", 82 "general-tests", 83 "mts-extservices", 84 "mcts-extservices", 85 ], 86 sdk_version: "module_current", 87 min_sdk_version: "31", 88 max_sdk_version: "32", 89 test_config: "AndroidTest.ExtServices.xml", 90 manifest: "AndroidManifestExtServices.xml", 91 lint: { 92 extra_check_modules: ["AdServicesTestLintChecker"], 93 test: false, // TODO(b/343741206): remove when checks will run on android_test 94 }, 95} 96