Merge "Provide java_defaults as a counterpart to the settings.mk file" am: ad8b5c9939

am: 9870b5659b

Change-Id: I3686e4c9b9ea2079747929359f92f8973bdb8679
This commit is contained in:
Alexander Smundak
2019-02-07 15:33:52 -08:00
committed by android-build-merger
2 changed files with 21 additions and 0 deletions

View File

@@ -22,4 +22,20 @@ android_library {
}
// 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",
],
}
// For the test package.

View File

@@ -12,6 +12,11 @@
#
# include frameworks/base/packages/SettingsLib/common.mk
#
# During the conversion to Soong bluprint files, the equivalent
# functionality is provided by adding
# defaults: ["SettingsLibDefaults"],
# to the corresponding module.
# NOTE: keep this file and ./Android.bp in sync.
LOCAL_STATIC_JAVA_LIBRARIES += \
androidx.annotation_annotation \