1package { 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", 12 use_resource_processor: true, 13 defaults: [ 14 "SettingsLintDefaults", 15 ], 16 17 srcs: ["src/**/*.java"], 18 resource_dirs: ["res"], 19 20 static_libs: [ 21 "SettingsLibColor", 22 "androidx.preference_preference", 23 "lottie", 24 "SettingsLibSettingsTheme", 25 "settingslib_illustrationpreference_flags_lib", 26 ], 27 28 sdk_version: "system_current", 29 min_sdk_version: "28", 30 31 apex_available: [ 32 "//apex_available:platform", 33 "com.android.permission", 34 ], 35} 36 37aconfig_declarations { 38 name: "settingslib_illustrationpreference_flags", 39 package: "com.android.settingslib.widget.flags", 40 container: "system", 41 srcs: [ 42 "aconfig/illustrationpreference.aconfig", 43 ], 44} 45 46java_aconfig_library { 47 name: "settingslib_illustrationpreference_flags_lib", 48 aconfig_declarations: "settingslib_illustrationpreference_flags", 49 50 min_sdk_version: "30", 51 sdk_version: "system_current", 52 53 apex_available: [ 54 "//apex_available:platform", 55 "com.android.permission", 56 ], 57} 58