blob: c6905ec8efced5fbe77260681926a32ec8acfa35 [file] [log] [blame]
markchien43e97e02019-09-03 15:58:06 +08001//
2// Copyright (C) 2019 The Android Open Source Project
3//
4// Licensed under the Apache License, Version 2.0 (the "License");
5// you may not use this file except in compliance with the License.
6// You may obtain a copy of the License at
7//
8// http://www.apache.org/licenses/LICENSE-2.0
9//
10// Unless required by applicable law or agreed to in writing, software
11// distributed under the License is distributed on an "AS IS" BASIS,
12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13// See the License for the specific language governing permissions and
14// limitations under the License.
15//
16
17android_test {
18 name: "TetheringTests",
19 certificate: "platform",
markchiendd6177b2019-09-23 20:29:54 +080020 srcs: [
markchiendd6177b2019-09-23 20:29:54 +080021 "src/**/*.java",
Remi NGUYEN VAN5c146662020-01-24 22:57:09 +090022 "src/**/*.kt",
markchiendd6177b2019-09-23 20:29:54 +080023 ],
markchien2d4cd2d2019-12-24 18:14:15 +080024 test_suites: [
25 "device-tests",
26 "mts",
27 ],
28 compile_multilib: "both",
markchien43e97e02019-09-03 15:58:06 +080029 static_libs: [
30 "androidx.test.rules",
31 "frameworks-base-testutils",
markchien6aa38892019-09-25 14:33:39 +080032 "net-tests-utils",
markchien43e97e02019-09-03 15:58:06 +080033 "mockito-target-extended-minus-junit4",
34 "TetheringApiCurrentLib",
35 "testables",
36 ],
markchien44fc26d2020-02-06 19:23:26 +080037 // TODO(b/147200698) change sdk_version to module-current and
38 // remove framework-minus-apex, ext, and framework-res
39 sdk_version: "core_platform",
markchien43e97e02019-09-03 15:58:06 +080040 libs: [
markchien44fc26d2020-02-06 19:23:26 +080041 "framework-minus-apex",
42 "ext",
43 "framework-res",
44 "framework-wifi-stubs",
45 "framework-telephony-stubs",
markchien43e97e02019-09-03 15:58:06 +080046 "android.test.runner",
47 "android.test.base",
48 "android.test.mock",
markchien9d353822019-12-16 20:15:20 +080049 "framework-tethering",
markchien43e97e02019-09-03 15:58:06 +080050 ],
51 jni_libs: [
52 // For mockito extended
53 "libdexmakerjvmtiagent",
54 "libstaticjvmtiagent",
55 ],
markchien9d353822019-12-16 20:15:20 +080056 jarjar_rules: "jarjar-rules.txt",
markchien43e97e02019-09-03 15:58:06 +080057}