blob: 7d0291f643cf9e3552069b0ae9ff18cf314b3e5b [file] [log] [blame]
Jason Monk2c3a8042018-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//
16
17java_library {
18 name: "SystemUI-proto",
19
20 srcs: ["src/**/*.proto"],
21
22 proto: {
23 type: "nano",
24 },
25}
26
27java_library {
28 name: "SystemUI-tags",
29 srcs: ["src/com/android/systemui/EventLogTags.logtags"],
30}
31
32android_library {
33 name: "SystemUI-core",
34 srcs: [
35 "src/**/*.java",
36 "src/**/I*.aidl",
37 ],
38 resource_dirs: [
39 "res-keyguard",
40 "res",
41 ],
42 static_libs: [
43 "SystemUIPluginLib",
44 "SystemUISharedLib",
45 "SettingsLib",
46 "androidx.car_car",
47 "androidx.legacy_legacy-support-v4",
48 "androidx.recyclerview_recyclerview",
49 "androidx.preference_preference",
50 "androidx.appcompat_appcompat",
51 "androidx.mediarouter_mediarouter",
52 "androidx.palette_palette",
53 "androidx.legacy_legacy-preference-v14",
54 "androidx.leanback_leanback",
55 "androidx.slice_slice-core",
56 "androidx.slice_slice-view",
57 "androidx.slice_slice-builders",
58 "androidx.arch.core_core-runtime",
59 "androidx.lifecycle_lifecycle-extensions",
60 "SystemUI-tags",
61 "SystemUI-proto",
62 ],
63 manifest: "AndroidManifest.xml",
64
65 libs: [
66 "telephony-common",
67 "android.car",
68 ],
69
70 aaptflags: [
71 "--extra-packages",
72 "com.android.keyguard",
73 ],
74}
75
76android_app {
77 name: "SystemUI",
78 static_libs: [
79 "SystemUI-core",
80 ],
Anton Hansson7ccca9f2019-02-08 09:01:32 +000081 resource_dirs: [],
Jason Monk2c3a8042018-08-13 11:10:48 -040082
83 platform_apis: true,
Anton Hanssonb7909f32018-12-10 17:18:15 +000084 product_specific: true,
Jason Monk2c3a8042018-08-13 11:10:48 -040085 certificate: "platform",
86 privileged: true,
87
88 optimize: {
89 proguard_flags_files: ["proguard.flags"],
90 },
91
92 libs: [
93 "telephony-common",
94 "android.car",
95 ],
96
97 dxflags: ["--multi-dex"],
98 aaptflags: [
99 "--extra-packages",
100 "com.android.keyguard",
101 ],
Anton Hansson2012be22018-12-10 17:05:08 +0000102 required: ["privapp_whitelist_com.android.systemui"],
Jason Monk2c3a8042018-08-13 11:10:48 -0400103
104}