Jason Monk | a2f2d82 | 2018-08-13 11:10:48 -0400 | [diff] [blame] | 1 | android_library { |
| 2 | |
| 3 | name: "SettingsLib", |
| 4 | |
Steven Liu | cbbf56d | 2020-03-04 13:44:57 -0800 | [diff] [blame] | 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 | |
| 27 | java_defaults { |
| 28 | name: "SettingsLibDependenciesWithoutWifiTracker", |
Colin Cross | c31dc3f | 2018-10-17 16:24:58 -0700 | [diff] [blame] | 29 | static_libs: [ |
Jason Monk | a2f2d82 | 2018-08-13 11:10:48 -0400 | [diff] [blame] | 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", |
hughchen | b89929a | 2018-11-12 15:44:39 +0800 | [diff] [blame] | 36 | "androidx.mediarouter_mediarouter-nodeps", |
Tsung-Mao Fang | 9e99102 | 2020-02-06 13:49:47 +0800 | [diff] [blame] | 37 | "iconloader", |
Jason Monk | a2f2d82 | 2018-08-13 11:10:48 -0400 | [diff] [blame] | 38 | |
Philip P. Moltmann | 51c6c4c | 2018-08-27 14:40:25 -0700 | [diff] [blame] | 39 | "SettingsLibHelpUtils", |
Philip P. Moltmann | 4e615e6 | 2018-08-28 14:57:49 -0700 | [diff] [blame] | 40 | "SettingsLibRestrictedLockUtils", |
Fan Zhang | 391da98 | 2019-01-29 15:38:13 -0800 | [diff] [blame] | 41 | "SettingsLibActionBarShadow", |
Fan Zhang | 5b8116d | 2018-09-24 11:55:12 -0700 | [diff] [blame] | 42 | "SettingsLibAppPreference", |
Fan Zhang | f8165cc | 2018-09-28 13:34:16 -0700 | [diff] [blame] | 43 | "SettingsLibSearchWidget", |
tmfang | cdf9a83 | 2018-10-04 17:34:45 +0800 | [diff] [blame] | 44 | "SettingsLibSettingsSpinner", |
tmfang | 37e497c | 2018-12-08 23:45:24 +0800 | [diff] [blame] | 45 | "SettingsLibLayoutPreference", |
| 46 | "SettingsLibActionButtonsPreference", |
tmfang | 7bdcf69 | 2018-12-02 21:40:00 +0800 | [diff] [blame] | 47 | "SettingsLibEntityHeaderWidgets", |
Sasha Smundak | 0f019d0 | 2019-01-27 17:34:57 -0800 | [diff] [blame] | 48 | "SettingsLibBarChartPreference", |
Joel Galenson | 2c8d05c | 2019-01-29 13:28:51 -0800 | [diff] [blame] | 49 | "SettingsLibProgressBar", |
hughchen | ed6a4d2 | 2019-03-28 11:20:48 +0800 | [diff] [blame] | 50 | "SettingsLibAdaptiveIcon", |
Raff Tsai | f2b34b9 | 2019-07-31 15:55:45 +0800 | [diff] [blame] | 51 | "SettingsLibRadioButtonPreference", |
Al Sutton | e5e7916 | 2019-08-19 13:42:16 +0100 | [diff] [blame] | 52 | "SettingsLibDisplayDensityUtils", |
Sunny Shao | 9de5cca | 2020-02-06 16:09:14 +0800 | [diff] [blame] | 53 | "SettingsLibSchedulesProvider", |
Philip P. Moltmann | 51c6c4c | 2018-08-27 14:40:25 -0700 | [diff] [blame] | 54 | ], |
Jason Monk | a2f2d82 | 2018-08-13 11:10:48 -0400 | [diff] [blame] | 55 | } |
| 56 | |
Sasha Smundak | 0f019d0 | 2019-01-27 17:34:57 -0800 | [diff] [blame] | 57 | // NOTE: Keep this module in sync with ./common.mk |
| 58 | java_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 | } |