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-prebuilt", 28 "adservices-clients", 29 "adservices-test-utility", 30 ], 31 libs: [ 32 "android.test.base", 33 "framework-adservices", 34 "framework-sdksandbox.impl", 35 ], 36 sdk_version: "module_current", 37} 38 39android_test { 40 name: "CtsAdServicesEndToEndTests", 41 defaults: ["cts-adservices-endtoend-defaults"], 42 test_suites: [ 43 "cts", 44 "general-tests", 45 "mts-adservices" 46 ], 47 min_sdk_version: "Tiramisu", 48 manifest: "CtsAdServicesEndToEndTestsManifest.xml", 49 test_config: "CtsAdServicesEndToEndTests.xml", 50 test_mainline_modules: ["com.google.android.adservices.apex"], 51} 52 53