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 19java_defaults { 20 name: "cts-adservices-endtoend-defaults", 21 srcs: [ 22 "src/**/*.java", 23 ], 24 static_libs: [ 25 "androidx.concurrent_concurrent-futures", 26 "compatibility-device-util-axt", // Needed for ShellUtils.runShellCommand 27 "truth", 28 "adservices-clients", 29 "adservices-test-utility", 30 "framework-adservices-lib", 31 ], 32 libs: [ 33 "android.test.base", 34 "framework-adservices", 35 "framework-sdksandbox.impl", 36 ], 37 sdk_version: "module_current", 38} 39 40android_test { 41 name: "CtsAdServicesEndToEndTests", 42 team: "trendy_team_android_rubidium", 43 defaults: ["cts-adservices-endtoend-defaults"], 44 test_suites: [ 45 "cts", 46 "general-tests", 47 "mts-adservices", 48 "mcts-adservices", 49 ], 50 min_sdk_version: "Tiramisu", 51 manifest: "CtsAdServicesEndToEndTestsManifest.xml", 52 test_config: "CtsAdServicesEndToEndTests.xml", 53 lint: { 54 extra_check_modules: ["AdServicesTestLintChecker"], 55 test: false, // TODO(b/343741206): remove when checks will run on android_test 56 }, 57} 58 59android_test { 60 name: "CtsAdExtServicesEndToEndTests", 61 defaults: ["cts-adservices-endtoend-defaults"], 62 test_suites: [ 63 "cts", 64 "general-tests", 65 "mts-extservices", 66 "mcts-extservices", 67 ], 68 min_sdk_version: "30", 69 max_sdk_version: "32", 70 manifest: "CtsAdExtServicesEndToEndTestsManifest.xml", 71 test_config: "CtsAdExtServicesEndToEndTests.xml", 72 lint: { 73 extra_check_modules: ["AdServicesTestLintChecker"], 74 test: false, // TODO(b/343741206): remove when checks will run on android_test 75 }, 76} 77