86 lines
2.7 KiB
Plaintext
86 lines
2.7 KiB
Plaintext
package {
|
|
// See: http://go/android-license-faq
|
|
// A large-scale-change added 'default_applicable_licenses' to import
|
|
// all of the 'license_kinds' from "frameworks_base_license"
|
|
// to get the below license kinds:
|
|
// SPDX-license-identifier-Apache-2.0
|
|
default_applicable_licenses: ["frameworks_base_license"],
|
|
}
|
|
|
|
android_library {
|
|
|
|
name: "SettingsLib",
|
|
|
|
static_libs: [
|
|
"androidx.annotation_annotation",
|
|
"androidx.legacy_legacy-support-v4",
|
|
"androidx.recyclerview_recyclerview",
|
|
"androidx.preference_preference",
|
|
"androidx.appcompat_appcompat",
|
|
"androidx.lifecycle_lifecycle-runtime",
|
|
"androidx.mediarouter_mediarouter-nodeps",
|
|
"com.google.android.material_material",
|
|
"iconloader",
|
|
|
|
"WifiTrackerLibRes",
|
|
"SettingsLibHelpUtils",
|
|
"SettingsLibRestrictedLockUtils",
|
|
"SettingsLibActionBarShadow",
|
|
"SettingsLibAppPreference",
|
|
"SettingsLibSearchWidget",
|
|
"SettingsLibSettingsSpinner",
|
|
"SettingsLibIllustrationPreference",
|
|
"SettingsLibLayoutPreference",
|
|
"SettingsLibMainSwitchPreference",
|
|
"SettingsLibActionButtonsPreference",
|
|
"SettingsLibEntityHeaderWidgets",
|
|
"SettingsLibBarChartPreference",
|
|
"SettingsLibProgressBar",
|
|
"SettingsLibAdaptiveIcon",
|
|
"SettingsLibRadioButtonPreference",
|
|
"SettingsLibSelectorWithWidgetPreference",
|
|
"SettingsLibDisplayDensityUtils",
|
|
"SettingsLibUtils",
|
|
"SettingsLibEmergencyNumber",
|
|
"SettingsLibTopIntroPreference",
|
|
"SettingsLibBannerMessagePreference",
|
|
"SettingsLibFooterPreference",
|
|
"SettingsLibUsageProgressBarPreference",
|
|
"SettingsLibCollapsingToolbarBaseActivity",
|
|
"SettingsLibTwoTargetPreference",
|
|
"SettingsLibSettingsTransition",
|
|
"SettingsLibButtonPreference",
|
|
"setupdesign",
|
|
"zxing-core-1.7",
|
|
],
|
|
|
|
// ANDROIDMK TRANSLATION ERROR: unsupported assignment to LOCAL_SHARED_JAVA_LIBRARIES
|
|
// LOCAL_SHARED_JAVA_LIBRARIES := androidx.lifecycle_lifecycle-common
|
|
|
|
resource_dirs: ["res"],
|
|
|
|
srcs: [
|
|
"src/**/*.java",
|
|
"src/**/*.kt",
|
|
],
|
|
|
|
min_sdk_version: "29",
|
|
|
|
}
|
|
|
|
// NOTE: Keep this module in sync with ./common.mk
|
|
java_defaults {
|
|
name: "SettingsLibDefaults",
|
|
static_libs: [
|
|
"androidx.annotation_annotation",
|
|
"androidx.lifecycle_lifecycle-common",
|
|
"androidx.legacy_legacy-support-v4",
|
|
"androidx.lifecycle_lifecycle-runtime",
|
|
"androidx.recyclerview_recyclerview",
|
|
"androidx.preference_preference",
|
|
"androidx.appcompat_appcompat",
|
|
"androidx.legacy_legacy-preference-v14",
|
|
"SettingsLib",
|
|
],
|
|
}
|