Since this widget will be used by other app, we move it into SettingsLib. Test: robotest Bug: 120005054 Change-Id: Ib54b33d676ca6f742f18fae398a36b217340373c
35 lines
921 B
Plaintext
35 lines
921 B
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",
|
|
"SettingsLibAppPreference",
|
|
"SettingsLibSearchWidget",
|
|
"SettingsLibSettingsSpinner",
|
|
"SettingsLayoutPreference",
|
|
"ActionButtonsPreference",
|
|
],
|
|
|
|
// 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.
|