blob: 81a0548cd718269cdc3384909d9b7b930208d171 [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 ],
markchien43e97e02019-09-03 15:58:06 +080023 test_suites: ["device-tests"],
24 static_libs: [
25 "androidx.test.rules",
26 "frameworks-base-testutils",
markchien6aa38892019-09-25 14:33:39 +080027 "net-tests-utils",
markchien43e97e02019-09-03 15:58:06 +080028 "mockito-target-extended-minus-junit4",
29 "TetheringApiCurrentLib",
30 "testables",
31 ],
32 libs: [
33 "android.test.runner",
34 "android.test.base",
35 "android.test.mock",
markchien9d353822019-12-16 20:15:20 +080036 "framework-tethering",
markchien43e97e02019-09-03 15:58:06 +080037 ],
38 jni_libs: [
39 // For mockito extended
40 "libdexmakerjvmtiagent",
41 "libstaticjvmtiagent",
42 ],
markchien9d353822019-12-16 20:15:20 +080043 jarjar_rules: "jarjar-rules.txt",
markchien43e97e02019-09-03 15:58:06 +080044}