1// Copyright (C) 2018 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.
14
15package {
16    default_applicable_licenses: ["Android-Apache-2.0"],
17}
18
19android_library {
20    name: "iconloader_base",
21    sdk_version: "current",
22    min_sdk_version: "31",
23    static_libs: [
24        "androidx.core_core",
25        "com_android_launcher3_flags_lib",
26    ],
27    resource_dirs: [
28        "res",
29    ],
30    srcs: [
31        "src/**/*.java",
32        "src/**/*.kt",
33    ],
34}
35
36android_library {
37    name: "iconloader",
38    sdk_version: "system_current",
39    min_sdk_version: "31",
40    static_libs: [
41        "androidx.core_core",
42        "com_android_launcher3_flags_lib",
43    ],
44    resource_dirs: [
45        "res",
46    ],
47    srcs: [
48        "src/**/*.java",
49        "src/**/*.kt",
50        "src_full_lib/**/*.java",
51        "src_full_lib/**/*.kt",
52    ],
53    apex_available: [
54        "//apex_available:platform",
55        "com.android.permission",
56    ],
57}
58