blob: 589623b0d6cd89381986f350b7520c81f9e500d0 [file] [log] [blame]
Jason Monka2f2d822018-08-13 11:10:48 -04001//
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//
16android_app {
17 name: "CarSystemUI",
18
Brad Stenning55832952018-08-27 08:39:30 -070019 overrides: [
20 "SystemUI",
21 ],
22
Jason Monka2f2d822018-08-13 11:10:48 -040023 srcs: [
24 "src/**/*.java",
25 "src/**/I*.aidl",
26 ],
27
28 static_libs: [
Brad Stenning19f236a2018-12-11 14:12:30 -080029 "CarNotificationLib",
Jason Monka2f2d822018-08-13 11:10:48 -040030 "SystemUI-core",
31 "SystemUIPluginLib",
32 "SystemUISharedLib",
33 "SettingsLib",
Ying Zheng149f9382018-11-02 15:46:07 -070034 "android.car.userlib",
Jason Monka2f2d822018-08-13 11:10:48 -040035 "androidx.legacy_legacy-support-v4",
36 "androidx.recyclerview_recyclerview",
37 "androidx.preference_preference",
38 "androidx.appcompat_appcompat",
39 "androidx.mediarouter_mediarouter",
40 "androidx.palette_palette",
41 "androidx.legacy_legacy-preference-v14",
42 "androidx.leanback_leanback",
43 "androidx.slice_slice-core",
44 "androidx.slice_slice-view",
45 "androidx.slice_slice-builders",
46 "androidx.arch.core_core-runtime",
47 "androidx.lifecycle_lifecycle-extensions",
48 "SystemUI-tags",
49 "SystemUI-proto",
50 ],
51
52 libs: [
53 "telephony-common",
54 "android.car",
Jason Monka2f2d822018-08-13 11:10:48 -040055 ],
56
57 manifest: "AndroidManifest.xml",
58
Jason Monka2f2d822018-08-13 11:10:48 -040059 platform_apis: true,
Nicholas Sauer15640572019-02-28 09:54:37 -080060 product_specific: true,
Jason Monka2f2d822018-08-13 11:10:48 -040061 certificate: "platform",
62 privileged: true,
63
64 optimize: {
65 proguard_flags_files: [
66 "proguard.flags",
67 ],
68 },
69 resource_dirs: [
Brad Stenning92e28352018-12-18 12:34:59 -080070 "res-keyguard",
Jason Monka2f2d822018-08-13 11:10:48 -040071 "res",
72 ],
73
74
75 dxflags: ["--multi-dex"],
76
77 aaptflags: [
78 "--extra-packages",
79 "com.android.keyguard",
80 ],
81
Colin Crossa3b22bf2019-01-23 15:38:30 -080082 plugins: ["dagger2-compiler-2.19"],
Nicholas Sauer15640572019-02-28 09:54:37 -080083
84 required: ["privapp_whitelist_com.android.systemui"],
Jason Monka2f2d822018-08-13 11:10:48 -040085}