blob: 69c667d8f594af69fb155d6e4dd6e5874d70986a [file] [log] [blame]
Remi NGUYEN VAN27ad67e2023-08-14 17:23:00 +09001// Copyright (C) 2023 The Android Open Source Project
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7// http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15package {
16 default_applicable_licenses: ["Android-Apache-2.0"],
17}
18
19// Compatibility library included in the service-connectivity jar for
20// builds in udc branches. It only contains compatibility stubs to make
21// the module build, since remoteauth is not available on U.
22
23// Main lib for remoteauth services.
24java_library {
25 name: "service-remoteauth-pre-jarjar-udc-compat",
26 srcs: ["java/**/*.java"],
27
28 defaults: [
29 "framework-system-server-module-defaults"
30 ],
31 libs: [
32 "androidx.annotation_annotation",
33 "error_prone_annotations",
34 ],
35 sdk_version: "system_server_current",
36 // This is included in service-connectivity which is 30+
37 min_sdk_version: "30",
38
39 dex_preopt: {
40 enabled: false,
41 app_image: false,
42 },
43 visibility: [
44 "//packages/modules/Connectivity/service",
45 "//packages/modules/Connectivity/service-t",
46 ],
47 apex_available: [
48 "com.android.tethering",
49 ],
50}
51