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