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: [ |
| 29 | "SystemUI-core", |
| 30 | "SystemUIPluginLib", |
| 31 | "SystemUISharedLib", |
| 32 | "SettingsLib", |
| 33 | "androidx.car_car", |
| 34 | "androidx.legacy_legacy-support-v4", |
| 35 | "androidx.recyclerview_recyclerview", |
| 36 | "androidx.preference_preference", |
| 37 | "androidx.appcompat_appcompat", |
| 38 | "androidx.mediarouter_mediarouter", |
| 39 | "androidx.palette_palette", |
| 40 | "androidx.legacy_legacy-preference-v14", |
| 41 | "androidx.leanback_leanback", |
| 42 | "androidx.slice_slice-core", |
| 43 | "androidx.slice_slice-view", |
| 44 | "androidx.slice_slice-builders", |
| 45 | "androidx.arch.core_core-runtime", |
| 46 | "androidx.lifecycle_lifecycle-extensions", |
| 47 | "SystemUI-tags", |
| 48 | "SystemUI-proto", |
| 49 | ], |
| 50 | |
| 51 | libs: [ |
| 52 | "telephony-common", |
| 53 | "android.car", |
| 54 | ], |
| 55 | |
| 56 | manifest: "AndroidManifest.xml", |
| 57 | |
| 58 | owner: "google", |
| 59 | platform_apis: true, |
| 60 | certificate: "platform", |
| 61 | privileged: true, |
| 62 | |
| 63 | optimize: { |
| 64 | proguard_flags_files: [ |
| 65 | "proguard.flags", |
| 66 | ], |
| 67 | }, |
| 68 | resource_dirs: [ |
| 69 | "res", |
| 70 | ], |
| 71 | |
| 72 | |
| 73 | dxflags: ["--multi-dex"], |
| 74 | |
| 75 | aaptflags: [ |
| 76 | "--extra-packages", |
| 77 | "com.android.keyguard", |
| 78 | ], |
| 79 | |
| 80 | } |