blob: c9ba26804e89f30377d5cada9d93b112b0d4479a [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//
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 ],
81
82 platform_apis: true,
83 certificate: "platform",
84 privileged: true,
85
86 optimize: {
87 proguard_flags_files: ["proguard.flags"],
88 },
89
90 libs: [
91 "telephony-common",
92 "android.car",
93 ],
94
95 dxflags: ["--multi-dex"],
96 aaptflags: [
97 "--extra-packages",
98 "com.android.keyguard",
99 ],
100
101}