blob: ba6be664c6e2c3ba58ef6d0647396d96ed9dbc44 [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 {
Aditya Choudhary01b5ede2024-01-31 11:08:57 +000018 default_team: "trendy_team_fwk_core_networking",
Bob Badour97e6be22021-02-12 14:45:04 -080019 default_applicable_licenses: ["Android-Apache-2.0"],
20}
21
Tyler Wear90e40632020-03-13 11:38:38 -070022java_defaults {
23 name: "TetheringPrivilegedTestsJniDefaults",
24 jni_libs: [
25 "libdexmakerjvmtiagent",
26 "libstaticjvmtiagent",
markchienf967b112021-11-09 16:56:23 +080027 "libcom_android_networkstack_tethering_util_jni",
Tyler Wear90e40632020-03-13 11:38:38 -070028 ],
29 jni_uses_sdk_apis: true,
markchien45dc7942021-11-04 16:40:18 +080030 jarjar_rules: ":TetheringTestsJarJarRules",
Tyler Wear90e40632020-03-13 11:38:38 -070031 visibility: ["//visibility:private"],
32}
33
markchien88f04282020-06-20 17:37:22 +080034android_test {
35 name: "TetheringPrivilegedTests",
Tyler Wear90e40632020-03-13 11:38:38 -070036 defaults: [
37 "TetheringPrivilegedTestsJniDefaults",
markchien598a75b2021-11-22 10:36:32 +080038 "ConnectivityNextEnableDefaults",
Tyler Wear90e40632020-03-13 11:38:38 -070039 ],
markchien88f04282020-06-20 17:37:22 +080040 srcs: [
41 "src/**/*.java",
42 "src/**/*.kt",
43 ],
44 certificate: "networkstack",
45 platform_apis: true,
46 test_suites: [
Tyler Wear90e40632020-03-13 11:38:38 -070047 "device-tests",
Kimberly Kreiderc5b3f342021-10-20 18:16:59 +000048 "mts-tethering",
markchien88f04282020-06-20 17:37:22 +080049 ],
Tyler Wear90e40632020-03-13 11:38:38 -070050 static_libs: [
51 "androidx.test.rules",
52 "net-tests-utils",
53 "TetheringApiCurrentLib",
54 ],
markchien88f04282020-06-20 17:37:22 +080055 compile_multilib: "both",
56}