Colin Cross | 946a0fd | 2019-05-07 11:22:05 -0700 | [diff] [blame] | 1 | java_library { |
| 2 | name: "settings-logtags", |
| 3 | srcs: ["src/**/*.logtags"], |
Quang Luong | b470e72 | 2019-06-24 14:47:55 -0700 | [diff] [blame] | 4 | static_libs: ["WifiTrackerLib"], |
Colin Cross | 946a0fd | 2019-05-07 11:22:05 -0700 | [diff] [blame] | 5 | } |
| 6 | |
| 7 | // Build the Settings APK |
| 8 | android_library { |
| 9 | name: "Settings-core", |
| 10 | platform_apis: true, |
| 11 | defaults: [ |
| 12 | "SettingsLibDefaults", |
| 13 | "SettingsLib-search-defaults", |
| 14 | ], |
| 15 | |
| 16 | srcs: ["src/**/*.java"], |
| 17 | |
| 18 | static_libs: [ |
| 19 | "androidx-constraintlayout_constraintlayout", |
| 20 | "androidx.slice_slice-builders", |
| 21 | "androidx.slice_slice-core", |
| 22 | "androidx.slice_slice-view", |
| 23 | "androidx.core_core", |
| 24 | "androidx.appcompat_appcompat", |
| 25 | "androidx.cardview_cardview", |
| 26 | "androidx.preference_preference", |
| 27 | "androidx.recyclerview_recyclerview", |
| 28 | "com.google.android.material_material", |
| 29 | "setupcompat", |
| 30 | "setupdesign", |
| 31 | "androidx-constraintlayout_constraintlayout-solver", |
| 32 | "androidx.lifecycle_lifecycle-runtime", |
| 33 | "androidx.lifecycle_lifecycle-extensions", |
| 34 | "guava", |
| 35 | "jsr305", |
| 36 | "settings-contextual-card-protos-lite", |
| 37 | "settings-log-bridge-protos-lite", |
| 38 | "contextualcards", |
| 39 | "settings-logtags", |
| 40 | "zxing-core-1.7", |
| 41 | ], |
| 42 | |
| 43 | libs: [ |
| 44 | "telephony-common", |
| 45 | "ims-common", |
| 46 | ], |
| 47 | } |
| 48 | |
| 49 | android_app { |
| 50 | name: "Settings", |
| 51 | platform_apis: true, |
| 52 | certificate: "platform", |
Jeongik Cha | 68da89b | 2019-11-25 20:28:35 +0900 | [diff] [blame^] | 53 | system_ext_specific: true, |
Colin Cross | 946a0fd | 2019-05-07 11:22:05 -0700 | [diff] [blame] | 54 | privileged: true, |
| 55 | required: ["privapp_whitelist_com.android.settings"], |
| 56 | static_libs: ["Settings-core"], |
| 57 | resource_dirs: [], |
| 58 | optimize: { |
| 59 | proguard_flags_files: ["proguard.flags"], |
| 60 | }, |
| 61 | } |
| 62 | |
| 63 | android_library_import { |
| 64 | name: "contextualcards", |
| 65 | aars: ["libs/contextualcards.aar"], |
| 66 | } |