1// Copyright (C) 2020 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 // This tests for functionality that is not required for devices that 21 // don't use Tethering mainline module. 22 name: "MtsTetheringTestLatestSdk", 23 24 min_sdk_version: "30", 25 target_sdk_version: "30", 26 27 libs: [ 28 "android.test.base", 29 ], 30 31 srcs: [ 32 "src/**/*.java", 33 ], 34 35 static_libs: [ 36 "androidx.test.rules", 37 // mockito-target-extended-minus-junit4 used in this lib have dependency with 38 // jni_libs libdexmakerjvmtiagent and libstaticjvmtiagent. 39 "cts-net-utils", 40 // This is needed for androidx.test.runner.AndroidJUnitRunner. 41 "ctstestrunner-axt", 42 "junit", 43 "junit-params", 44 ], 45 46 jni_libs: [ 47 // For mockito extended which is pulled in from -net-utils -> net-tests-utils 48 // (mockito-target-extended-minus-junit4). 49 "libdexmakerjvmtiagent", 50 "libstaticjvmtiagent", 51 ], 52 53 defaults: ["framework-connectivity-test-defaults"], 54 55 platform_apis: true, 56 57 // Tag this module as a mts test artifact 58 test_suites: [ 59 "general-tests", 60 "mts-tethering", 61 ], 62 63 // Include both the 32 and 64 bit versions 64 compile_multilib: "both", 65} 66