blob: 9217345dc2f50ce42fd76034f7fac16d56651f53 [file] [log] [blame]
markchien88f04282020-06-20 17:37:22 +08001//
2// Copyright (C) 2020 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
Tyler Wear90e40632020-03-13 11:38:38 -070017java_defaults {
18 name: "TetheringPrivilegedTestsJniDefaults",
19 jni_libs: [
20 "libdexmakerjvmtiagent",
21 "libstaticjvmtiagent",
22 "libtetherutilsjni",
23 ],
24 jni_uses_sdk_apis: true,
25 visibility: ["//visibility:private"],
26}
27
markchien88f04282020-06-20 17:37:22 +080028android_test {
29 name: "TetheringPrivilegedTests",
Tyler Wear90e40632020-03-13 11:38:38 -070030 defaults: [
31 "TetheringPrivilegedTestsJniDefaults",
32 ],
markchien88f04282020-06-20 17:37:22 +080033 srcs: [
34 "src/**/*.java",
35 "src/**/*.kt",
36 ],
37 certificate: "networkstack",
38 platform_apis: true,
39 test_suites: [
Tyler Wear90e40632020-03-13 11:38:38 -070040 "device-tests",
markchien88f04282020-06-20 17:37:22 +080041 "mts",
42 ],
Tyler Wear90e40632020-03-13 11:38:38 -070043 static_libs: [
44 "androidx.test.rules",
45 "net-tests-utils",
46 "TetheringApiCurrentLib",
47 ],
markchien88f04282020-06-20 17:37:22 +080048 compile_multilib: "both",
49}