blob: b1d4a6052bd1e1701618aa8765ae3c44c78bdd2d [file] [log] [blame]
markchienfb904c32019-12-11 18:09:44 +08001// Copyright (C) 2019 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
15android_test {
16 name: "CtsTetheringTest",
17 defaults: ["cts_defaults"],
18
19 libs: [
Jiyong Park616e2992020-05-19 21:12:39 +090020 "android.test.base",
markchienfb904c32019-12-11 18:09:44 +080021 ],
22
23 srcs: [
24 "src/**/*.java",
25 ],
26
27 static_libs: [
paulhu6f203ab2020-04-22 10:25:11 +080028 "TetheringCommonTests",
paulhu85f0fca2020-04-10 11:09:14 +080029 "TetheringIntegrationTestsLib",
markchienfb904c32019-12-11 18:09:44 +080030 "compatibility-device-util-axt",
markchien0420e692020-04-13 16:22:12 +080031 "cts-net-utils",
markchien257cad82020-04-11 18:53:35 +080032 "net-tests-utils",
markchienfb904c32019-12-11 18:09:44 +080033 "ctstestrunner-axt",
34 "junit",
35 "junit-params",
36 ],
37
paulhu85f0fca2020-04-10 11:09:14 +080038 jni_libs: [
39 // For mockito extended
40 "libdexmakerjvmtiagent",
41 "libstaticjvmtiagent",
42 ],
43
markchienfb904c32019-12-11 18:09:44 +080044 // Change to system current when TetheringManager move to bootclass path.
45 platform_apis: true,
46
47 // Tag this module as a cts test artifact
48 test_suites: [
49 "cts",
50 "general-tests",
markchien9ccf3d82019-12-18 11:50:50 +080051 "mts",
markchienfb904c32019-12-11 18:09:44 +080052 ],
53
paulhu85f0fca2020-04-10 11:09:14 +080054 // Include both the 32 and 64 bit versions
55 compile_multilib: "both",
markchienfb904c32019-12-11 18:09:44 +080056}