1//
2// Copyright (C) 2023 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
17// Library for internal data used by Safety Center system service and UI.
18package {
19    default_team: "trendy_team_android_permissions",
20    default_applicable_licenses: ["Android-Apache-2.0"],
21}
22
23filegroup {
24    name: "safetycenter-annotations-sources",
25    srcs: ["java/**/*.java"],
26    path: "java",
27    visibility: ["//packages/modules/Permission/SafetyCenter/ConfigLintChecker"],
28}
29
30java_library {
31    name: "safety-center-annotations",
32    srcs: [
33        ":safetycenter-annotations-sources",
34    ],
35    libs: [
36        "jsr305",
37    ],
38    apex_available: [
39        "com.android.permission",
40        "test_com.android.permission",
41    ],
42    installable: false,
43    min_sdk_version: "30",
44    sdk_version: "system_current",
45    visibility: [
46        "//packages/modules/Permission:__subpackages__",
47    ],
48}
49