blob: 9f32403c981d330af8c9a55fd919cf99ba4a63f3 [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: [
20 "android.test.base.stubs",
21 ],
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",
markchien257cad82020-04-11 18:53:35 +080031 "net-tests-utils",
markchienfb904c32019-12-11 18:09:44 +080032 "ctstestrunner-axt",
33 "junit",
34 "junit-params",
35 ],
36
paulhu85f0fca2020-04-10 11:09:14 +080037 jni_libs: [
38 // For mockito extended
39 "libdexmakerjvmtiagent",
40 "libstaticjvmtiagent",
41 ],
42
markchienfb904c32019-12-11 18:09:44 +080043 // Change to system current when TetheringManager move to bootclass path.
44 platform_apis: true,
45
46 // Tag this module as a cts test artifact
47 test_suites: [
48 "cts",
49 "general-tests",
markchien9ccf3d82019-12-18 11:50:50 +080050 "mts",
markchienfb904c32019-12-11 18:09:44 +080051 ],
52
paulhu85f0fca2020-04-10 11:09:14 +080053 // Include both the 32 and 64 bit versions
54 compile_multilib: "both",
markchienfb904c32019-12-11 18:09:44 +080055}