| 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 |  | 
| Bob Badour | 97e6be2 | 2021-02-12 14:45:04 -0800 | [diff] [blame] | 15 | package { | 
 | 16 |     default_applicable_licenses: ["Android-Apache-2.0"], | 
 | 17 | } | 
 | 18 |  | 
| markchien | 4607c55 | 2020-10-15 09:42:31 +0800 | [diff] [blame] | 19 | android_test { | 
 | 20 |     // This tests for functionality that is not required for devices that | 
 | 21 |     // don't use Tethering mainline module. | 
| markchien | 7193a1b | 2021-04-27 01:50:31 +0800 | [diff] [blame] | 22 |     name: "MtsTetheringTestLatestSdk", | 
 | 23 |  | 
 | 24 |     min_sdk_version: "30", | 
| Mark Chien | d25a1e0 | 2022-05-19 01:01:26 +0800 | [diff] [blame] | 25 |     target_sdk_version: "33", | 
| markchien | 4607c55 | 2020-10-15 09:42:31 +0800 | [diff] [blame] | 26 |  | 
 | 27 |     libs: [ | 
 | 28 |         "android.test.base", | 
 | 29 |     ], | 
 | 30 |  | 
 | 31 |     srcs: [ | 
 | 32 |         "src/**/*.java", | 
 | 33 |     ], | 
 | 34 |  | 
 | 35 |     static_libs: [ | 
| Hungming Chen | 31eab2f | 2022-11-27 21:17:04 +0800 | [diff] [blame] | 36 |         "TetheringIntegrationTestsBaseLib", | 
| markchien | 4607c55 | 2020-10-15 09:42:31 +0800 | [diff] [blame] | 37 |         "androidx.test.rules", | 
 | 38 |         // mockito-target-extended-minus-junit4 used in this lib have dependency with | 
 | 39 |         // jni_libs libdexmakerjvmtiagent and libstaticjvmtiagent. | 
 | 40 |         "cts-net-utils", | 
 | 41 |         // This is needed for androidx.test.runner.AndroidJUnitRunner. | 
 | 42 |         "ctstestrunner-axt", | 
 | 43 |         "junit", | 
 | 44 |         "junit-params", | 
| Motomu Utsumi | 116af0d | 2022-08-08 02:48:29 +0000 | [diff] [blame] | 45 |         "connectivity-net-module-utils-bpf", | 
 | 46 |         "net-utils-device-common-bpf", | 
| markchien | 4607c55 | 2020-10-15 09:42:31 +0800 | [diff] [blame] | 47 |     ], | 
 | 48 |  | 
 | 49 |     jni_libs: [ | 
 | 50 |         // For mockito extended which is pulled in from -net-utils -> net-tests-utils | 
 | 51 |         // (mockito-target-extended-minus-junit4). | 
 | 52 |         "libdexmakerjvmtiagent", | 
 | 53 |         "libstaticjvmtiagent", | 
 | 54 |     ], | 
 | 55 |  | 
| Remi NGUYEN VAN | eeeed13 | 2021-03-30 08:12:27 +0000 | [diff] [blame] | 56 |     defaults: ["framework-connectivity-test-defaults"], | 
| markchien | 4607c55 | 2020-10-15 09:42:31 +0800 | [diff] [blame] | 57 |  | 
| markchien | ac3e0bb | 2021-05-10 01:37:02 +0800 | [diff] [blame] | 58 |     platform_apis: true, | 
 | 59 |  | 
| markchien | 4607c55 | 2020-10-15 09:42:31 +0800 | [diff] [blame] | 60 |     // Tag this module as a mts test artifact | 
 | 61 |     test_suites: [ | 
 | 62 |         "general-tests", | 
| Kimberly Kreider | 6413dd8 | 2020-12-15 10:59:55 -0800 | [diff] [blame] | 63 |         "mts-tethering", | 
| markchien | 4607c55 | 2020-10-15 09:42:31 +0800 | [diff] [blame] | 64 |     ], | 
 | 65 |  | 
 | 66 |     // Include both the 32 and 64 bit versions | 
 | 67 |     compile_multilib: "both", | 
 | 68 | } |