android_packages_apps_Paran.../Android.bp

62 lines
1.3 KiB
Plaintext

//
// 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",
],
}