androidx dependencies should always be static, and Soong is changing to match Make and not include resources from libraries in libs. Test: m checkbuild Change-Id: I478856e7d4d380f5d2623885e04d3923716b68e9
32 lines
799 B
Plaintext
32 lines
799 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",
|
|
|
|
"SettingsLibHelpUtils",
|
|
"SettingsLibRestrictedLockUtils",
|
|
"SettingsLibAppPreference",
|
|
"SettingsLibSearchWidget",
|
|
"SettingsLibSettingsSpinner",
|
|
],
|
|
|
|
// 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.
|