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: "SettingsLibMainSwitchPreference", 12 use_resource_processor: true, 13 defaults: [ 14 "SettingsLintDefaults", 15 ], 16 17 srcs: ["src/**/*.java"], 18 resource_dirs: ["res"], 19 20 static_libs: [ 21 "androidx.preference_preference", 22 "SettingsLibSettingsTheme", 23 ], 24 25 sdk_version: "system_current", 26 min_sdk_version: "28", 27 apex_available: [ 28 "//apex_available:platform", 29 "com.android.adservices", 30 "com.android.cellbroadcast", 31 "com.android.extservices", 32 "com.android.healthfitness", 33 ], 34} 35