Jason Monk | 2c3a804 | 2018-08-13 11:10:48 -0400 | [diff] [blame] | 1 | android_library { |
| 2 | |
| 3 | name: "SettingsLib", |
| 4 | |
| 5 | libs: [ |
| 6 | "androidx.annotation_annotation", |
| 7 | "androidx.legacy_legacy-support-v4", |
| 8 | "androidx.recyclerview_recyclerview", |
| 9 | "androidx.preference_preference", |
| 10 | "androidx.appcompat_appcompat", |
| 11 | "androidx.lifecycle_lifecycle-runtime", |
| 12 | ], |
| 13 | |
| 14 | // ANDROIDMK TRANSLATION ERROR: unsupported assignment to LOCAL_SHARED_JAVA_LIBRARIES |
| 15 | // LOCAL_SHARED_JAVA_LIBRARIES := androidx.lifecycle_lifecycle-common |
| 16 | |
| 17 | resource_dirs: ["res"], |
| 18 | |
| 19 | srcs: ["src/**/*.java"], |
| 20 | |
| 21 | min_sdk_version: "21", |
| 22 | |
| 23 | } |
| 24 | |
Sasha Smundak | 1109a1f | 2019-01-10 17:15:18 -0800 | [diff] [blame] | 25 | // NOTE: Keep this module in sync with ./common.mk |
| 26 | java_defaults { |
| 27 | name: "SettingsLibDefaults", |
| 28 | static_libs: [ |
| 29 | "androidx.annotation_annotation", |
| 30 | "androidx.lifecycle_lifecycle-common", |
| 31 | "androidx.legacy_legacy-support-v4", |
| 32 | "androidx.lifecycle_lifecycle-runtime", |
| 33 | "androidx.recyclerview_recyclerview", |
| 34 | "androidx.preference_preference", |
| 35 | "androidx.appcompat_appcompat", |
| 36 | "androidx.legacy_legacy-preference-v14", |
| 37 | "SettingsLib", |
| 38 | ], |
| 39 | } |
| 40 | |
Jason Monk | 2c3a804 | 2018-08-13 11:10:48 -0400 | [diff] [blame] | 41 | // For the test package. |