Sandro Montanari | 9ffc068 | 2024-07-24 15:50:37 +0000 | [diff] [blame] | 1 | // Copyright (C) 2024 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 | package { |
| 15 | default_team: "trendy_team_platform_security", |
| 16 | default_applicable_licenses: ["Android-Apache-2.0"], |
| 17 | } |
| 18 | |
| 19 | // Main lib for Certificate Transparency services. |
| 20 | java_library { |
| 21 | name: "service-networksecurity-pre-jarjar", |
| 22 | defaults: ["framework-system-server-module-defaults"], |
| 23 | visibility: ["//packages/modules/Connectivity:__subpackages__"], |
| 24 | |
| 25 | srcs: [ |
| 26 | "src/**/*.java", |
| 27 | ], |
| 28 | |
| 29 | libs: [ |
Sandro Montanari | 1f4ddd0 | 2024-07-26 13:12:29 +0000 | [diff] [blame] | 30 | "framework-configinfrastructure", |
Sandro Montanari | 9ffc068 | 2024-07-24 15:50:37 +0000 | [diff] [blame] | 31 | "framework-connectivity-pre-jarjar", |
| 32 | "service-connectivity-pre-jarjar", |
| 33 | ], |
| 34 | |
| 35 | // This is included in service-connectivity which is 30+ |
| 36 | // TODO (b/293613362): allow APEXes to have service jars with higher min_sdk than the APEX |
| 37 | // (service-connectivity is only used on 31+) and use 31 here |
| 38 | min_sdk_version: "30", |
| 39 | sdk_version: "system_server_current", |
| 40 | apex_available: ["com.android.tethering"], |
| 41 | } |