-
Notifications
You must be signed in to change notification settings - Fork 2
/
Android.bp
61 lines (56 loc) · 1.31 KB
/
Android.bp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
//
// Copyright (C) 2023 Paranoid Android
// SPDX-License-Identifer: Apache-2.0
//
package {
default_applicable_licenses: ["Android-Apache-2.0"],
}
android_library {
name: "ParanoidSystemUI-core",
srcs: [
"src/**/*.kt",
"src/**/*.java",
"src/**/I*.aidl",
],
resource_dirs: [
"res",
],
static_libs: [
"SystemUI-core",
"vendor.aospa.powershare-V1-java",
],
manifest: "AndroidManifest.xml",
javacflags: ["-Adagger.fastInit=enabled"],
kotlincflags: ["-Xjvm-default=all"],
plugins: ["dagger2-compiler"],
}
android_app {
name: "ParanoidSystemUI",
defaults: [
"platform_app_defaults",
"SystemUI_optimized_defaults",
],
static_libs: [
"ParanoidSystemUI-core",
],
resource_dirs: [],
use_embedded_native_libs: true,
platform_apis: true,
system_ext_specific: true,
certificate: "platform",
privileged: true,
libs: ["extphonelib"],
kotlincflags: ["-Xjvm-default=all"],
dxflags: ["--multi-dex"],
optimize: {
proguard_flags_files: ["proguard.flags"],
},
required: [
"privapp_whitelist_com.android.systemui",
"privapp_whitelist_co.aospa.systemui",
"wmshell.protolog.json.gz",
],
overrides: [
"SystemUI",
],
}