blob: 48ba00816cf70cefef900cdeed30531ca9ecbd9c [file] [log] [blame]
paulhu667e8fb2021-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
22// This builds T+ services depending on framework-connectivity-tiramisu
23// hidden symbols separately from the S+ services, to ensure that S+
24// services cannot accidentally depend on T+ hidden symbols from
25// framework-connectivity-tiramisu.
26java_library {
27 name: "service-connectivity-tiramisu-pre-jarjar",
28 sdk_version: "system_server_current",
29 // TODO(b/210962470): Bump this to at least S, and then T.
30 min_sdk_version: "30",
31 srcs: [
32 "src/**/*.java",
33 // TODO: This is necessary just for LocalLog, remove after removing NativeDaemonConnector.
34 ":framework-connectivity-shared-srcs",
35 ":services.connectivity-tiramisu-updatable-sources",
36 ],
37 libs: [
38 "framework-annotations-lib",
39 "framework-connectivity.impl",
40 "framework-connectivity-tiramisu.impl",
41 "service-connectivity-pre-jarjar",
Remi NGUYEN VANd8e74222022-01-20 18:40:29 +090042 "service-nearby",
paulhu667e8fb2021-12-14 01:30:22 +000043 "unsupportedappusage",
44 ],
45 static_libs: [
46 "modules-utils-build",
47 "modules-utils-statemachine",
48 "net-utils-framework-common",
49 ],
50 apex_available: [
51 "com.android.tethering",
52 ],
53 visibility: [
54 "//packages/modules/Connectivity/service",
55 "//packages/modules/Connectivity/tests:__subpackages__",
56 ],
57}