Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1109a1f6 authored by Sasha Smundak's avatar Sasha Smundak
Browse files

Provide java_defaults as a counterpart to the settings.mk file

Test: treehugger
Change-Id: I9e57744737430ff7e1ab57891dc81d1dd3bbcb83
Merged-In: I9e57744737430ff7e1ab57891dc81d1dd3bbcb83
parent 1fe97065
Loading
Loading
Loading
Loading
+16 −0
Original line number Diff line number Diff line
@@ -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.
+5 −0
Original line number Diff line number Diff line
@@ -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 \