blob: 75fdd6ef235caa8313129aadae0801289912b421 [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
Bob Badour97e6be22021-02-12 14:45:04 -080017package {
18 default_applicable_licenses: ["Android-Apache-2.0"],
19}
20
Tyler Wear90e40632020-03-13 11:38:38 -070021java_defaults {
22 name: "TetheringPrivilegedTestsJniDefaults",
23 jni_libs: [
24 "libdexmakerjvmtiagent",
25 "libstaticjvmtiagent",
26 "libtetherutilsjni",
27 ],
28 jni_uses_sdk_apis: true,
29 visibility: ["//visibility:private"],
30}
31
markchien88f04282020-06-20 17:37:22 +080032android_test {
33 name: "TetheringPrivilegedTests",
Tyler Wear90e40632020-03-13 11:38:38 -070034 defaults: [
35 "TetheringPrivilegedTestsJniDefaults",
36 ],
markchien88f04282020-06-20 17:37:22 +080037 srcs: [
38 "src/**/*.java",
39 "src/**/*.kt",
40 ],
41 certificate: "networkstack",
42 platform_apis: true,
43 test_suites: [
Tyler Wear90e40632020-03-13 11:38:38 -070044 "device-tests",
markchien88f04282020-06-20 17:37:22 +080045 "mts",
46 ],
Tyler Wear90e40632020-03-13 11:38:38 -070047 static_libs: [
48 "androidx.test.rules",
49 "net-tests-utils",
50 "TetheringApiCurrentLib",
51 ],
markchien88f04282020-06-20 17:37:22 +080052 compile_multilib: "both",
53}