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