1//
2// Copyright (C) 2024 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
17package {
18    default_team: "trendy_team_fwk_telephony",
19    default_applicable_licenses: ["Android-Apache-2.0"],
20}
21
22aconfig_declarations {
23    name: "cellbroadcastreceiver_aconfig_flags",
24    package: "com.android.cellbroadcastreceiver.flags",
25    container: "com.android.cellbroadcast",
26    srcs: ["cellbroadcastreceiver_flags.aconfig"],
27}
28
29java_aconfig_library {
30    name: "cellbroadcastreceiver_aconfig_flags_lib",
31    aconfig_declarations: "cellbroadcastreceiver_aconfig_flags",
32    min_sdk_version: "30",
33    apex_available: [
34        "//apex_available:platform",
35        "com.android.cellbroadcast",
36    ],
37}
38
39java_library {
40    name: "cellbroadcastreceiver_flags_lib",
41    sdk_version: "system_current",
42    min_sdk_version: "30",
43    srcs: [
44        "lib/**/*.java",
45    ],
46    static_libs: [
47        "cellbroadcastreceiver_aconfig_flags_lib",
48    ],
49    installable: false,
50    visibility: [
51        "//packages/apps/CellBroadcastReceiver:__subpackages__",
52        "//vendor:__subpackages__",
53    ],
54    apex_available: [
55        "//apex_available:platform",
56        "com.android.cellbroadcast",
57    ],
58}
59