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. 21 java_library { 22 name: "cts-core-test-runner-axt", 23 24 srcs: ["src/**/*.java"], 25 static_libs: [ 26 "compatibility-device-util-axt", 27 "androidx.test.rules", 28 "vogarexpect", 29 "testng", 30 ], 31 32 libs: ["android.test.runner.stubs"], 33 sdk_version: "test_current", 34 35 } 36 37 //========================================================== 38 // Build the run listener 39 //========================================================== 40 41 // Build library 42 java_library { 43 name: "cts-test-runner-axt", 44 45 srcs: ["src/com/android/cts/runner/**/*.java"], 46 static_libs: ["androidx.test.rules"], 47 sdk_version: "current", 48 49 } 50