blob: 9064ebe80da1cc74256a50fe51430895970307c3 [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.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",
Priyanke757aa92018-11-06 14:39:50 -080049 "car-theme-lib-bp",
Jason Monka2f2d822018-08-13 11:10:48 -040050 "SystemUI-tags",
51 "SystemUI-proto",
52 ],
53
54 libs: [
55 "telephony-common",
56 "android.car",
Jason Monka2f2d822018-08-13 11:10:48 -040057 ],
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 Stenning92e28352018-12-18 12:34:59 -080072 "res-keyguard",
Jason Monka2f2d822018-08-13 11:10:48 -040073 "res",
74 ],
75
76
77 dxflags: ["--multi-dex"],
78
79 aaptflags: [
80 "--extra-packages",
81 "com.android.keyguard",
82 ],
83
Colin Crossa3b22bf2019-01-23 15:38:30 -080084 plugins: ["dagger2-compiler-2.19"],
Jason Monka2f2d822018-08-13 11:10:48 -040085}