1android_library { 2 3 name: "SettingsLib", 4 5 defaults: [ 6 "SettingsLibDependenciesWithoutWifiTracker", 7 ], 8 9 // TODO(b/149540986): revert this change. 10 static_libs: [ 11 // All other dependent components should be put in 12 // "SettingsLibDependenciesWithoutWifiTracker". 13 "WifiTrackerLib", 14 ], 15 16 // ANDROIDMK TRANSLATION ERROR: unsupported assignment to LOCAL_SHARED_JAVA_LIBRARIES 17 // LOCAL_SHARED_JAVA_LIBRARIES := androidx.lifecycle_lifecycle-common 18 19 resource_dirs: ["res"], 20 21 srcs: ["src/**/*.java", "src/**/*.kt"], 22 23 min_sdk_version: "21", 24 25} 26 27java_defaults { 28 name: "SettingsLibDependenciesWithoutWifiTracker", 29 static_libs: [ 30 "androidx.annotation_annotation", 31 "androidx.legacy_legacy-support-v4", 32 "androidx.recyclerview_recyclerview", 33 "androidx.preference_preference", 34 "androidx.appcompat_appcompat", 35 "androidx.lifecycle_lifecycle-runtime", 36 "androidx.mediarouter_mediarouter-nodeps", 37 "iconloader", 38 39 "SettingsLibHelpUtils", 40 "SettingsLibRestrictedLockUtils", 41 "SettingsLibActionBarShadow", 42 "SettingsLibAppPreference", 43 "SettingsLibSearchWidget", 44 "SettingsLibSettingsSpinner", 45 "SettingsLibLayoutPreference", 46 "SettingsLibActionButtonsPreference", 47 "SettingsLibEntityHeaderWidgets", 48 "SettingsLibBarChartPreference", 49 "SettingsLibProgressBar", 50 "SettingsLibAdaptiveIcon", 51 "SettingsLibRadioButtonPreference", 52 "SettingsLibDisplayDensityUtils", 53 "SettingsLibUtils", 54 ], 55} 56 57// NOTE: Keep this module in sync with ./common.mk 58java_defaults { 59 name: "SettingsLibDefaults", 60 static_libs: [ 61 "androidx.annotation_annotation", 62 "androidx.lifecycle_lifecycle-common", 63 "androidx.legacy_legacy-support-v4", 64 "androidx.lifecycle_lifecycle-runtime", 65 "androidx.recyclerview_recyclerview", 66 "androidx.preference_preference", 67 "androidx.appcompat_appcompat", 68 "androidx.legacy_legacy-preference-v14", 69 "SettingsLib", 70 ], 71} 72