blob: 79bb1283f44e3c74eb5062f614741a09d3680726 [file] [log] [blame]
paulhu49ccb6a2021-12-14 01:30:22 +00001//
2// Copyright (C) 2021 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
17package {
18 // See: http://go/android-license-faq
19 default_applicable_licenses: ["Android-Apache-2.0"],
20}
21
22java_sdk_library {
23 name: "framework-connectivity-tiramisu",
24 sdk_version: "module_current",
25 min_sdk_version: "Tiramisu",
26 defaults: ["framework-module-defaults"],
27 srcs: [
28 ":framework-connectivity-tiramisu-updatable-sources",
29 ],
30 libs: [
31 "unsupportedappusage",
32 "app-compat-annotations",
33 ],
34 permitted_packages: [
35 "android.net",
36 "android.net.nsd",
37 ],
38 apex_available: [
39 "com.android.tethering",
40 ],
41 impl_library_visibility: [
42 "//packages/modules/Connectivity/Tethering/apex",
43 // In preparation for future move
44 "//packages/modules/Connectivity/apex",
45 "//packages/modules/Connectivity/service-t",
46 "//frameworks/base",
47
48 // Tests using hidden APIs
49 "//cts/tests/netlegacy22.api",
50 "//external/sl4a:__subpackages__",
51 "//frameworks/libs/net/common/testutils",
52 "//frameworks/libs/net/common/tests:__subpackages__",
53 "//frameworks/opt/telephony/tests/telephonytests",
54 "//packages/modules/CaptivePortalLogin/tests",
55 "//packages/modules/Connectivity/Tethering/tests:__subpackages__",
56 "//packages/modules/Connectivity/tests:__subpackages__",
57 "//packages/modules/NetworkStack/tests:__subpackages__",
58 "//packages/modules/Wifi/service/tests/wifitests",
59 ],
60}