Jason Monk | a2f2d82 | 2018-08-13 11:10:48 -0400 | [diff] [blame] | 1 | // |
| 2 | // Copyright (C) 2018 The Android Open Source Project |
| 3 | // |
| 4 | // Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | // you may not use this file except in compliance with the License. |
| 6 | // You may obtain a copy of the License at |
| 7 | // |
| 8 | // http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | // |
| 10 | // Unless required by applicable law or agreed to in writing, software |
| 11 | // distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | // See the License for the specific language governing permissions and |
| 14 | // limitations under the License. |
| 15 | // |
| 16 | android_app { |
| 17 | name: "CarSystemUI", |
| 18 | |
Brad Stenning | 5583295 | 2018-08-27 08:39:30 -0700 | [diff] [blame] | 19 | overrides: [ |
| 20 | "SystemUI", |
| 21 | ], |
| 22 | |
Jason Monk | a2f2d82 | 2018-08-13 11:10:48 -0400 | [diff] [blame] | 23 | srcs: [ |
| 24 | "src/**/*.java", |
| 25 | "src/**/I*.aidl", |
| 26 | ], |
| 27 | |
| 28 | static_libs: [ |
Brad Stenning | 19f236a | 2018-12-11 14:12:30 -0800 | [diff] [blame] | 29 | "CarNotificationLib", |
Jason Monk | a2f2d82 | 2018-08-13 11:10:48 -0400 | [diff] [blame] | 30 | "SystemUI-core", |
| 31 | "SystemUIPluginLib", |
| 32 | "SystemUISharedLib", |
| 33 | "SettingsLib", |
Ying Zheng | 149f938 | 2018-11-02 15:46:07 -0700 | [diff] [blame] | 34 | "android.car.userlib", |
Jason Monk | a2f2d82 | 2018-08-13 11:10:48 -0400 | [diff] [blame] | 35 | "androidx.car_car", |
| 36 | "androidx.legacy_legacy-support-v4", |
| 37 | "androidx.recyclerview_recyclerview", |
| 38 | "androidx.preference_preference", |
| 39 | "androidx.appcompat_appcompat", |
| 40 | "androidx.mediarouter_mediarouter", |
| 41 | "androidx.palette_palette", |
| 42 | "androidx.legacy_legacy-preference-v14", |
| 43 | "androidx.leanback_leanback", |
| 44 | "androidx.slice_slice-core", |
| 45 | "androidx.slice_slice-view", |
| 46 | "androidx.slice_slice-builders", |
| 47 | "androidx.arch.core_core-runtime", |
| 48 | "androidx.lifecycle_lifecycle-extensions", |
Priyank | e757aa9 | 2018-11-06 14:39:50 -0800 | [diff] [blame] | 49 | "car-theme-lib-bp", |
Jason Monk | a2f2d82 | 2018-08-13 11:10:48 -0400 | [diff] [blame] | 50 | "SystemUI-tags", |
| 51 | "SystemUI-proto", |
| 52 | ], |
| 53 | |
| 54 | libs: [ |
| 55 | "telephony-common", |
| 56 | "android.car", |
Jason Monk | a2f2d82 | 2018-08-13 11:10:48 -0400 | [diff] [blame] | 57 | ], |
| 58 | |
| 59 | manifest: "AndroidManifest.xml", |
| 60 | |
| 61 | owner: "google", |
| 62 | platform_apis: true, |
| 63 | certificate: "platform", |
| 64 | privileged: true, |
| 65 | |
| 66 | optimize: { |
| 67 | proguard_flags_files: [ |
| 68 | "proguard.flags", |
| 69 | ], |
| 70 | }, |
| 71 | resource_dirs: [ |
Brad Stenning | 92e2835 | 2018-12-18 12:34:59 -0800 | [diff] [blame] | 72 | "res-keyguard", |
Jason Monk | a2f2d82 | 2018-08-13 11:10:48 -0400 | [diff] [blame] | 73 | "res", |
| 74 | ], |
| 75 | |
| 76 | |
| 77 | dxflags: ["--multi-dex"], |
| 78 | |
| 79 | aaptflags: [ |
| 80 | "--extra-packages", |
| 81 | "com.android.keyguard", |
| 82 | ], |
| 83 | |
Colin Cross | a3b22bf | 2019-01-23 15:38:30 -0800 | [diff] [blame] | 84 | plugins: ["dagger2-compiler-2.19"], |
Jason Monk | a2f2d82 | 2018-08-13 11:10:48 -0400 | [diff] [blame] | 85 | } |