android_packages_apps_Paran.../Android.bp

83 lines
1.8 KiB
Plaintext
Raw Normal View History

//
// 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",
"vendor.aospa.powershare-V1-java",
],
manifest: "AndroidManifest.xml",
javacflags: ["-Adagger.fastInit=enabled"],
kotlincflags: ["-Xjvm-default=enable"],
plugins: ["dagger2-compiler"],
}
android_app {
name: "ParanoidSystemUI",
defaults: [
"platform_app_defaults",
"SystemUI_optimized_defaults",
],
static_libs: [
"ParanoidSystemUI-core",
],
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",
],
}