blob: cd8f584953aa7e1523ef60c2eb7fe60fc5b46998 [file] [log] [blame]
Stanley Wang929b1492021-04-26 23:06:22 +08001package {
2 // See: http://go/android-license-faq
3 // A large-scale-change added 'default_applicable_licenses' to import
4 // all of the 'license_kinds' from "frameworks_base_license"
5 // to get the below license kinds:
6 // SPDX-license-identifier-Apache-2.0
7 default_applicable_licenses: ["frameworks_base_license"],
8}
9
10android_library {
11 name: "SettingsLibIllustrationPreference",
Peter Kalauskas84c5a992023-08-23 13:39:23 -070012 use_resource_processor: true,
sunnyshaod550d7b2024-01-16 19:02:01 +080013 defaults: [
14 "SettingsLintDefaults",
15 ],
Stanley Wang929b1492021-04-26 23:06:22 +080016
17 srcs: ["src/**/*.java"],
18 resource_dirs: ["res"],
19
20 static_libs: [
Chaohui Wangb9b2b172023-08-14 19:44:10 +080021 "SettingsLibColor",
Stanley Wang929b1492021-04-26 23:06:22 +080022 "androidx.preference_preference",
23 "lottie",
Chris Antolbcad6e22024-05-13 22:03:19 +000024 "settingslib_illustrationpreference_flags_lib",
Stanley Wang929b1492021-04-26 23:06:22 +080025 ],
26
27 sdk_version: "system_current",
Stanley Wangee50d902021-05-25 20:09:05 +080028 min_sdk_version: "28",
Shriya Guptaf1425e42023-01-09 09:45:45 +000029
30 apex_available: [
31 "//apex_available:platform",
32 "com.android.permission",
33 ],
Stanley Wang929b1492021-04-26 23:06:22 +080034}
Chris Antolbcad6e22024-05-13 22:03:19 +000035
36aconfig_declarations {
37 name: "settingslib_illustrationpreference_flags",
38 package: "com.android.settingslib.widget.flags",
39 container: "system",
40 srcs: [
41 "aconfig/illustrationpreference.aconfig",
42 ],
43}
44
45java_aconfig_library {
46 name: "settingslib_illustrationpreference_flags_lib",
47 aconfig_declarations: "settingslib_illustrationpreference_flags",
48
49 min_sdk_version: "30",
Zhi Douaa207562024-05-30 15:57:12 +000050 sdk_version: "system_current",
Chris Antolbcad6e22024-05-13 22:03:19 +000051
52 apex_available: [
53 "//apex_available:platform",
54 "com.android.permission",
55 ],
56}