1//
2// Copyright (C) 2021 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
23java_library {
24    name: "safety-center-internal-data",
25    srcs: [
26        "java/**/*.java",
27        "proto/safety_center_internal_data.proto",
28    ],
29    libs: [
30        "androidx.annotation_annotation",
31        "safety-center-annotations",
32    ],
33    apex_available: [
34        "com.android.permission",
35        "test_com.android.permission",
36    ],
37    static_libs: [
38        "libprotobuf-java-lite",
39        "modules-utils-build_system",
40    ],
41    proto: {
42        type: "lite",
43    },
44    installable: false,
45    min_sdk_version: "30",
46    sdk_version: "system_current",
47    visibility: [
48        "//packages/modules/Permission:__subpackages__",
49        "//cts:__subpackages__",
50    ],
51}
52