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. 14package { 15 default_team: "trendy_team_platform_security", 16 default_applicable_licenses: ["Android-Apache-2.0"], 17} 18 19// Main lib for Certificate Transparency services. 20java_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: [ 30 "framework-configinfrastructure.stubs.module_lib", 31 "framework-connectivity-pre-jarjar", 32 "service-connectivity-pre-jarjar", 33 ], 34 35 static_libs: [ 36 "auto_value_annotations", 37 ], 38 39 plugins: [ 40 "auto_value_plugin", 41 "auto_annotation_plugin", 42 ], 43 44 // This is included in service-connectivity which is 30+ 45 // TODO (b/293613362): allow APEXes to have service jars with higher min_sdk than the APEX 46 // (service-connectivity is only used on 31+) and use 31 here 47 min_sdk_version: "30", 48 sdk_version: "system_server_current", 49 apex_available: ["com.android.tethering"], 50} 51