And remove dependency to settingslib.core.Lifecycle. This class use androidx.Lifecycle instead. Bug: 123311100 Test: robotests Change-Id: I80bbbf4bc2759e574d8dabf1799b3bded216f2f3
38 lines
1.0 KiB
Plaintext
38 lines
1.0 KiB
Plaintext
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",
|
|
|
|
"SettingsLibHelpUtils",
|
|
"SettingsLibRestrictedLockUtils",
|
|
"SettingsLibActionBarShadow",
|
|
"SettingsLibAppPreference",
|
|
"SettingsLibSearchWidget",
|
|
"SettingsLibSettingsSpinner",
|
|
"SettingsLibLayoutPreference",
|
|
"SettingsLibActionButtonsPreference",
|
|
"SettingsLibEntityHeaderWidgets",
|
|
"SettingsLibBarChartPreference"
|
|
],
|
|
|
|
// ANDROIDMK TRANSLATION ERROR: unsupported assignment to LOCAL_SHARED_JAVA_LIBRARIES
|
|
// LOCAL_SHARED_JAVA_LIBRARIES := androidx.lifecycle_lifecycle-common
|
|
|
|
resource_dirs: ["res"],
|
|
|
|
srcs: ["src/**/*.java"],
|
|
|
|
min_sdk_version: "21",
|
|
|
|
}
|
|
|
|
// For the test package.
|