blob: abcfbeb34f46b2f35108c22ccea474e3304d700f [file] [log] [blame]
paulhu802ab972021-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
Remi NGUYEN VAN24b3c372021-12-16 15:10:40 +000022java_defaults {
23 name: "enable-framework-connectivity-t-targets",
24 enabled: true,
25}
26// The above defaults can be used to disable framework-connectivity t
27// targets while minimizing merge conflicts in the build rules.
28
29
paulhu802ab972021-12-14 01:30:22 +000030java_sdk_library {
31 name: "framework-connectivity-tiramisu",
32 sdk_version: "module_current",
33 min_sdk_version: "Tiramisu",
Remi NGUYEN VAN24b3c372021-12-16 15:10:40 +000034 defaults: [
35 "framework-module-defaults",
36 "enable-framework-connectivity-t-targets",
37 ],
paulhu802ab972021-12-14 01:30:22 +000038 srcs: [
39 ":framework-connectivity-tiramisu-updatable-sources",
40 ],
41 libs: [
42 "unsupportedappusage",
43 "app-compat-annotations",
44 ],
45 permitted_packages: [
46 "android.net",
47 "android.net.nsd",
48 ],
49 apex_available: [
50 "com.android.tethering",
51 ],
52 impl_library_visibility: [
53 "//packages/modules/Connectivity/Tethering/apex",
54 // In preparation for future move
55 "//packages/modules/Connectivity/apex",
56 "//packages/modules/Connectivity/service-t",
57 "//frameworks/base",
58
59 // Tests using hidden APIs
60 "//cts/tests/netlegacy22.api",
61 "//external/sl4a:__subpackages__",
62 "//frameworks/libs/net/common/testutils",
63 "//frameworks/libs/net/common/tests:__subpackages__",
64 "//frameworks/opt/telephony/tests/telephonytests",
65 "//packages/modules/CaptivePortalLogin/tests",
66 "//packages/modules/Connectivity/Tethering/tests:__subpackages__",
67 "//packages/modules/Connectivity/tests:__subpackages__",
68 "//packages/modules/NetworkStack/tests:__subpackages__",
69 "//packages/modules/Wifi/service/tests/wifitests",
70 ],
71}