1// Copyright (C) 2009 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 15//========================================================== 16// Build the core runner. 17//========================================================== 18 19// temporary cts-core-test-runner variant that brings in androidx.test transitively, instead 20// of android.support.test target. Will be removed after androidx.test CTS conversion is complete. 21package { 22 default_team: "trendy_team_java_core_libraries", 23 default_applicable_licenses: ["Android-Apache-2.0"], 24} 25 26java_library { 27 name: "cts-core-test-runner-axt", 28 29 srcs: ["src/**/*.java"], 30 static_libs: [ 31 "compatibility-device-util-axt", 32 "androidx.test.rules", 33 "core-test-rules", 34 "platform-test-annotations", 35 "vogarexpect", 36 "testng", 37 ], 38 39 libs: ["android.test.runner"], 40 sdk_version: "test_current", 41 42} 43 44//========================================================== 45// Build the run listener 46//========================================================== 47 48// Build library 49java_library { 50 name: "cts-test-runner-axt", 51 52 srcs: ["src/com/android/cts/runner/**/*.java"], 53 static_libs: ["androidx.test.rules"], 54 sdk_version: "current", 55 56} 57