blob: 1f1929c7a06bd0a1c1ac7ef444bcfc31cf4e6a45 [file] [log] [blame]
markchien4607c552020-10-15 09:42:31 +08001// 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 Badour97e6be22021-02-12 14:45:04 -080015package {
Aditya Choudhary01b5ede2024-01-31 11:08:57 +000016 default_team: "trendy_team_fwk_core_networking",
Bob Badour97e6be22021-02-12 14:45:04 -080017 default_applicable_licenses: ["Android-Apache-2.0"],
18}
19
markchien4607c552020-10-15 09:42:31 +080020android_test {
21 // This tests for functionality that is not required for devices that
22 // don't use Tethering mainline module.
markchien7193a1b2021-04-27 01:50:31 +080023 name: "MtsTetheringTestLatestSdk",
24
25 min_sdk_version: "30",
Mark Chiend25a1e02022-05-19 01:01:26 +080026 target_sdk_version: "33",
markchien4607c552020-10-15 09:42:31 +080027
28 libs: [
Jihoon Kang8401b6a2024-08-30 00:29:58 +000029 "android.test.base.stubs",
markchien4607c552020-10-15 09:42:31 +080030 ],
31
32 srcs: [
33 "src/**/*.java",
34 ],
35
36 static_libs: [
Hungming Chen31eab2f2022-11-27 21:17:04 +080037 "TetheringIntegrationTestsBaseLib",
markchien4607c552020-10-15 09:42:31 +080038 "androidx.test.rules",
39 // mockito-target-extended-minus-junit4 used in this lib have dependency with
40 // jni_libs libdexmakerjvmtiagent and libstaticjvmtiagent.
41 "cts-net-utils",
42 // This is needed for androidx.test.runner.AndroidJUnitRunner.
43 "ctstestrunner-axt",
44 "junit",
45 "junit-params",
Motomu Utsumi116af0d2022-08-08 02:48:29 +000046 "connectivity-net-module-utils-bpf",
47 "net-utils-device-common-bpf",
Yang Sun3aa62e62024-03-12 21:23:19 +080048 "net-utils-device-common-struct-base",
markchien4607c552020-10-15 09:42:31 +080049 ],
50
51 jni_libs: [
52 // For mockito extended which is pulled in from -net-utils -> net-tests-utils
53 // (mockito-target-extended-minus-junit4).
54 "libdexmakerjvmtiagent",
55 "libstaticjvmtiagent",
56 ],
57
Remi NGUYEN VANeeeed132021-03-30 08:12:27 +000058 defaults: ["framework-connectivity-test-defaults"],
markchien4607c552020-10-15 09:42:31 +080059
markchienac3e0bb2021-05-10 01:37:02 +080060 platform_apis: true,
61
markchien4607c552020-10-15 09:42:31 +080062 // Tag this module as a mts test artifact
63 test_suites: [
64 "general-tests",
Kimberly Kreider6413dd82020-12-15 10:59:55 -080065 "mts-tethering",
markchien4607c552020-10-15 09:42:31 +080066 ],
67
68 // Include both the 32 and 64 bit versions
69 compile_multilib: "both",
70}