This is the first of a few sub-libraries that will get factored out of the settings lib. These libs will be included by mainline modules which are compiles against system-api. Bug: 110953302 Test: Looked at UI m -j RunRoboSettingsLibTests Change-Id: I16347e565aca554d6a8653df35765c2194479e78
30 lines
667 B
Plaintext
30 lines
667 B
Plaintext
android_library {
|
|
|
|
name: "SettingsLib",
|
|
|
|
libs: [
|
|
"androidx.annotation_annotation",
|
|
"androidx.legacy_legacy-support-v4",
|
|
"androidx.recyclerview_recyclerview",
|
|
"androidx.preference_preference",
|
|
"androidx.appcompat_appcompat",
|
|
"androidx.lifecycle_lifecycle-runtime",
|
|
],
|
|
|
|
static_libs: [
|
|
"SettingsLibHelpUtils",
|
|
],
|
|
|
|
// 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.
|