• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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//
16android_app {
17    name: "CarSystemUI",
18
19    overrides: [
20        "SystemUI",
21    ],
22
23    srcs: [
24        "src/**/*.java",
25        "src/**/I*.aidl",
26    ],
27
28    static_libs: [
29        "CarNotificationLib",
30        "SystemUI-core",
31        "SystemUIPluginLib",
32        "SystemUISharedLib",
33        "SettingsLib",
34        "android.car.userlib",
35        "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",
55    ],
56
57    manifest: "AndroidManifest.xml",
58
59    platform_apis: true,
60    product_specific: true,
61    certificate: "platform",
62    privileged: true,
63
64    optimize: {
65        proguard_flags_files: [
66            "proguard.flags",
67        ],
68    },
69    resource_dirs: [
70        "res-keyguard",
71        "res",
72    ],
73
74
75    dxflags: ["--multi-dex"],
76
77    aaptflags: [
78        "--extra-packages",
79        "com.android.keyguard",
80    ],
81
82    plugins: ["dagger2-compiler-2.19"],
83
84    required: ["privapp_whitelist_com.android.systemui"],
85}
86