blob: d8ecab0c5f9e6df21098937dabbb0c907363e273 [file] [log] [blame]
Sasha Smundakc0f4e842019-01-10 19:26:53 -08001//
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
Bob Badour0c94c7e2021-02-12 18:19:16 -080017package {
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
Sasha Smundakc0f4e842019-01-10 19:26:53 -080034prebuilt_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",
Richard Chou00e8d9a2018-11-21 13:46:10 +080042 srcs: ["src/**/*.java"],
Sasha Smundakc0f4e842019-01-10 19:26:53 -080043 required: ["android.software.live_wallpaper.xml"],
44 platform_apis: true,
Ching-Sung Liad25d7f2021-03-26 09:11:53 +080045 privileged: true,
Sasha Smundakc0f4e842019-01-10 19:26:53 -080046 optimize: {
47 proguard_flags_files: ["proguard.flags"],
48 },
49 static_libs: [
50 "androidx.annotation_annotation",
51 "androidx.appcompat_appcompat",
52 "androidx.core_core",
53 "androidx.legacy_legacy-support-core-utils",
54 "androidx.legacy_legacy-support-core-ui",
55 "androidx.fragment_fragment",
Aurimas Liutikas00061162019-01-30 22:29:16 -080056 "com.google.android.material_material",
Sasha Smundakc0f4e842019-01-10 19:26:53 -080057 "androidx.transition_transition",
58 "androidx.recyclerview_recyclerview",
Richard Chou00e8d9a2018-11-21 13:46:10 +080059 "androidx.slice_slice-core",
60 "androidx.slice_slice-view",
Sasha Smundakc0f4e842019-01-10 19:26:53 -080061 ],
62 resource_dirs: ["res"],
63}