blob: 53782fed1c509a9e8966da67d8fb6766dbfa644c [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",
22 ],
markchien2d4cd2d2019-12-24 18:14:15 +080023 test_suites: [
24 "device-tests",
25 "mts",
26 ],
27 compile_multilib: "both",
markchien43e97e02019-09-03 15:58:06 +080028 static_libs: [
29 "androidx.test.rules",
30 "frameworks-base-testutils",
markchien6aa38892019-09-25 14:33:39 +080031 "net-tests-utils",
markchien43e97e02019-09-03 15:58:06 +080032 "mockito-target-extended-minus-junit4",
33 "TetheringApiCurrentLib",
34 "testables",
35 ],
36 libs: [
37 "android.test.runner",
38 "android.test.base",
39 "android.test.mock",
markchien9d353822019-12-16 20:15:20 +080040 "framework-tethering",
markchien43e97e02019-09-03 15:58:06 +080041 ],
42 jni_libs: [
43 // For mockito extended
44 "libdexmakerjvmtiagent",
45 "libstaticjvmtiagent",
46 ],
markchien9d353822019-12-16 20:15:20 +080047 jarjar_rules: "jarjar-rules.txt",
markchien43e97e02019-09-03 15:58:06 +080048}