markchien | 4607c55 | 2020-10-15 09:42:31 +0800 | [diff] [blame] | 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 | |
| 15 | android_test { |
| 16 | // This tests for functionality that is not required for devices that |
| 17 | // don't use Tethering mainline module. |
| 18 | name: "MtsTetheringTest", |
| 19 | |
| 20 | libs: [ |
| 21 | "android.test.base", |
| 22 | ], |
| 23 | |
| 24 | srcs: [ |
| 25 | "src/**/*.java", |
| 26 | ], |
| 27 | |
| 28 | static_libs: [ |
| 29 | "androidx.test.rules", |
| 30 | // mockito-target-extended-minus-junit4 used in this lib have dependency with |
| 31 | // jni_libs libdexmakerjvmtiagent and libstaticjvmtiagent. |
| 32 | "cts-net-utils", |
| 33 | // This is needed for androidx.test.runner.AndroidJUnitRunner. |
| 34 | "ctstestrunner-axt", |
| 35 | "junit", |
| 36 | "junit-params", |
| 37 | ], |
| 38 | |
| 39 | jni_libs: [ |
| 40 | // For mockito extended which is pulled in from -net-utils -> net-tests-utils |
| 41 | // (mockito-target-extended-minus-junit4). |
| 42 | "libdexmakerjvmtiagent", |
| 43 | "libstaticjvmtiagent", |
| 44 | ], |
| 45 | |
| 46 | platform_apis: true, |
| 47 | |
| 48 | // Tag this module as a mts test artifact |
| 49 | test_suites: [ |
| 50 | "general-tests", |
| 51 | "mts", |
| 52 | ], |
| 53 | |
| 54 | // Include both the 32 and 64 bit versions |
| 55 | compile_multilib: "both", |
| 56 | } |