2022-12-02 05:38:29 +00:00
|
|
|
//
|
|
|
|
// Copyright (C) 2023 Paranoid Android
|
|
|
|
// SPDX-License-Identifer: Apache-2.0
|
|
|
|
//
|
|
|
|
|
|
|
|
package {
|
|
|
|
default_applicable_licenses: ["packages_apps_Paranoid_SystemUI_license"],
|
|
|
|
}
|
|
|
|
|
|
|
|
// Added automatically by a large-scale-change
|
|
|
|
// See: http://go/android-license-faq
|
|
|
|
license {
|
|
|
|
name: "packages_apps_Paranoid_SystemUI_license",
|
|
|
|
visibility: [":__subpackages__"],
|
|
|
|
license_kinds: [
|
|
|
|
"SPDX-license-identifier-Apache-2.0",
|
|
|
|
],
|
|
|
|
license_text: [
|
|
|
|
"NOTICE",
|
|
|
|
],
|
|
|
|
}
|
|
|
|
|
|
|
|
android_library {
|
|
|
|
name: "ParanoidSystemUI-res",
|
|
|
|
manifest: "AndroidManifest.xml",
|
|
|
|
resource_dirs: [
|
|
|
|
"res",
|
|
|
|
],
|
|
|
|
static_libs: [
|
|
|
|
"SystemUI-core",
|
|
|
|
],
|
|
|
|
}
|
|
|
|
|
|
|
|
android_library {
|
|
|
|
name: "ParanoidSystemUI-core",
|
|
|
|
srcs: [
|
|
|
|
"src/**/*.kt",
|
|
|
|
"src/**/*.java",
|
|
|
|
"src/**/I*.aidl",
|
|
|
|
],
|
|
|
|
static_libs: [
|
|
|
|
"ParanoidSystemUI-res",
|
|
|
|
"SystemUI-core",
|
2020-04-20 15:57:43 +00:00
|
|
|
"vendor.aospa.powershare-V1-java",
|
2022-12-02 05:38:29 +00:00
|
|
|
],
|
|
|
|
manifest: "AndroidManifest.xml",
|
2022-04-04 19:05:05 +00:00
|
|
|
javacflags: ["-Adagger.fastInit=enabled"],
|
2022-12-02 05:38:29 +00:00
|
|
|
kotlincflags: ["-Xjvm-default=enable"],
|
|
|
|
plugins: ["dagger2-compiler"],
|
|
|
|
}
|
|
|
|
|
|
|
|
android_app {
|
|
|
|
name: "ParanoidSystemUI",
|
|
|
|
defaults: [
|
|
|
|
"platform_app_defaults",
|
2023-02-23 22:33:20 +00:00
|
|
|
"SystemUI_optimized_defaults",
|
2022-12-02 05:38:29 +00:00
|
|
|
],
|
|
|
|
static_libs: [
|
|
|
|
"ParanoidSystemUI-core",
|
|
|
|
],
|
|
|
|
use_embedded_native_libs: true,
|
|
|
|
platform_apis: true,
|
|
|
|
system_ext_specific: true,
|
|
|
|
certificate: "platform",
|
|
|
|
privileged: true,
|
|
|
|
|
|
|
|
libs: ["extphonelib"],
|
|
|
|
|
2023-07-18 17:52:21 +00:00
|
|
|
kotlincflags: ["-Xjvm-default=all"],
|
2023-02-23 22:33:20 +00:00
|
|
|
dxflags: ["--multi-dex"],
|
2022-12-02 05:38:29 +00:00
|
|
|
optimize: {
|
|
|
|
proguard_flags_files: ["proguard.flags"],
|
|
|
|
},
|
|
|
|
required: [
|
|
|
|
"privapp_whitelist_com.android.systemui",
|
2019-11-26 22:35:01 +00:00
|
|
|
"privapp_whitelist_co.aospa.systemui",
|
2023-06-12 23:01:38 +00:00
|
|
|
"wmshell.protolog.json.gz",
|
2022-12-02 05:38:29 +00:00
|
|
|
],
|
|
|
|
overrides: [
|
|
|
|
"SystemUI",
|
|
|
|
],
|
|
|
|
}
|