blob: 4ea104705da0f072284fde3829e4eb25dc11f000 [file] [log] [blame]
Jason Monka2f2d822018-08-13 11:10:48 -04001android_library {
2
3 name: "SettingsLib",
4
Steven Liucbbf56d2020-03-04 13:44:57 -08005 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",
Colin Crossc31dc3f2018-10-17 16:24:58 -070029 static_libs: [
Jason Monka2f2d822018-08-13 11:10:48 -040030 "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",
hughchenb89929a2018-11-12 15:44:39 +080036 "androidx.mediarouter_mediarouter-nodeps",
Tsung-Mao Fang9e991022020-02-06 13:49:47 +080037 "iconloader",
Jason Monka2f2d822018-08-13 11:10:48 -040038
Philip P. Moltmann51c6c4c2018-08-27 14:40:25 -070039 "SettingsLibHelpUtils",
Philip P. Moltmann4e615e62018-08-28 14:57:49 -070040 "SettingsLibRestrictedLockUtils",
Fan Zhang391da982019-01-29 15:38:13 -080041 "SettingsLibActionBarShadow",
Fan Zhang5b8116d2018-09-24 11:55:12 -070042 "SettingsLibAppPreference",
Fan Zhangf8165cc2018-09-28 13:34:16 -070043 "SettingsLibSearchWidget",
tmfangcdf9a832018-10-04 17:34:45 +080044 "SettingsLibSettingsSpinner",
tmfang37e497c2018-12-08 23:45:24 +080045 "SettingsLibLayoutPreference",
46 "SettingsLibActionButtonsPreference",
tmfang7bdcf692018-12-02 21:40:00 +080047 "SettingsLibEntityHeaderWidgets",
Sasha Smundak0f019d02019-01-27 17:34:57 -080048 "SettingsLibBarChartPreference",
Joel Galenson2c8d05c2019-01-29 13:28:51 -080049 "SettingsLibProgressBar",
hughchened6a4d22019-03-28 11:20:48 +080050 "SettingsLibAdaptiveIcon",
Raff Tsaif2b34b92019-07-31 15:55:45 +080051 "SettingsLibRadioButtonPreference",
Al Suttone5e79162019-08-19 13:42:16 +010052 "SettingsLibDisplayDensityUtils",
Sunny Shao9de5cca2020-02-06 16:09:14 +080053 "SettingsLibSchedulesProvider",
Philip P. Moltmann51c6c4c2018-08-27 14:40:25 -070054 ],
Jason Monka2f2d822018-08-13 11:10:48 -040055}
56
Sasha Smundak0f019d02019-01-27 17:34:57 -080057// 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}