1// 2// Copyright (C) 2022 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// 16package { 17 default_team: "trendy_team_android_permissions", 18 default_applicable_licenses: ["Android-Apache-2.0"], 19} 20 21filegroup { 22 name: "safetycenter-config-parser-sources", 23 srcs: ["java/**/*.java"], 24 path: "java", 25 visibility: ["//packages/modules/Permission/SafetyCenter/ConfigLintChecker"], 26} 27 28java_library { 29 name: "safety-center-config", 30 sdk_version: "module_current", 31 min_sdk_version: "30", 32 srcs: [ 33 ":safetycenter-config-parser-sources", 34 ], 35 libs: [ 36 "androidx.annotation_annotation", 37 "framework-annotations-lib", 38 "framework-permission-s", 39 "safety-center-annotations", 40 ], 41 static_libs: [ 42 "modules-utils-build", 43 "com.android.permission.flags-aconfig-java", 44 ], 45 apex_available: [ 46 "com.android.permission", 47 "test_com.android.permission", 48 ], 49 installable: false, 50 visibility: [ 51 "//packages/modules/Permission:__subpackages__", 52 "//vendor:__subpackages__", 53 ], 54} 55