1//
2// Copyright (C) 2009 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_applicable_licenses: ["packages_wallpapers_LivePicker_license"],
19}
20
21// Added automatically by a large-scale-change
22// See: http://go/android-license-faq
23license {
24    name: "packages_wallpapers_LivePicker_license",
25    visibility: [":__subpackages__"],
26    license_kinds: [
27        "SPDX-license-identifier-Apache-2.0",
28    ],
29    license_text: [
30        "NOTICE",
31    ],
32}
33
34prebuilt_etc {
35    name: "android.software.live_wallpaper.xml",
36    sub_dir: "permissions",
37    src: "android.software.live_wallpaper.xml",
38}
39
40android_app {
41    name: "LiveWallpapersPicker",
42    srcs: ["src/**/*.java"],
43    required: ["android.software.live_wallpaper.xml"],
44    platform_apis: true,
45    privileged: true,
46    static_libs: [
47        "androidx.annotation_annotation",
48        "androidx.appcompat_appcompat",
49        "androidx.core_core",
50        "androidx.legacy_legacy-support-core-utils",
51        "androidx.legacy_legacy-support-core-ui",
52        "androidx.fragment_fragment",
53        "com.google.android.material_material",
54        "androidx.transition_transition",
55        "androidx.recyclerview_recyclerview",
56        "androidx.slice_slice-core",
57        "androidx.slice_slice-view",
58    ],
59    resource_dirs: ["res"],
60}
61