From 594b712ad6d5b3bd88fc24f1ab6b939512ee9dac Mon Sep 17 00:00:00 2001 From: "Christopher A. Williamson" Date: Thu, 25 Jul 2024 10:23:01 +0100 Subject: [PATCH] Add debugging stuff --- .github/workflows/build-gsi.yml | 3 ++- src/device/phh/treble/voltage.mk | 26 ++++++++++++++++++++++++++ 2 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 src/device/phh/treble/voltage.mk diff --git a/.github/workflows/build-gsi.yml b/.github/workflows/build-gsi.yml index 8d2589f..d63e8fd 100644 --- a/.github/workflows/build-gsi.yml +++ b/.github/workflows/build-gsi.yml @@ -62,7 +62,8 @@ jobs: run: | # copy vanilla config pushd device/phh/treble - cp -fv ../../../../configs/voltage_vanilla.mk voltage.mk + ls -l ../../../../ + cp -fv ../../../../configs/voltage-vanilla.mk voltage.mk bash generate.sh voltage popd diff --git a/src/device/phh/treble/voltage.mk b/src/device/phh/treble/voltage.mk new file mode 100644 index 0000000..2ec9a78 --- /dev/null +++ b/src/device/phh/treble/voltage.mk @@ -0,0 +1,26 @@ +$(call inherit-product, vendor/voltage/config/common_full_phone.mk) +$(call inherit-product, vendor/voltage/config/BoardConfigVoltage.mk) +$(call inherit-product, device/voltage/sepolicy/common/sepolicy.mk) +-include vendor/voltage/build/core/config.mk + +# Bootanimation (force 720p - 720x1280) +TARGET_BOOT_ANIMATION_RES := 1280 + +# Kernel +TARGET_NO_KERNEL_IMAGE := true +TARGET_NO_KERNEL_OVERRIDE := true + +# Overlay +PRODUCT_PACKAGE_OVERLAYS += \ + $(LOCAL_PATH)/overlay-voltage + +# Packages +PRODUCT_PACKAGES += \ + Apps \ + AuroraStorePrivilegedExtension \ + F-DroidPrivilegedExtension \ + OpenEUICC + +# SELinux +SELINUX_IGNORE_NEVERALLOWS := true +TARGET_USES_PREBUILT_VENDOR_SEPOLICY := true