From 06b17a25e156773696fc54a4613a2f0c0bee6377 Mon Sep 17 00:00:00 2001 From: Akilesh Kailash Date: Sun, 16 Jul 2023 23:57:47 -0700 Subject: [PATCH] Use lz4 compression instead of gz. Given the benefits of lz4 with respect to install and merge times as well as reduce in CPU usage, it is worth to switch to lz4 Test: OTA Bug: 291594891 Signed-off-by: Akilesh Kailash (cherry picked from https://android-review.googlesource.com/q/commit:62afad0252b57c00847d4942504c6435105b8ccb) Merged-In: I0a6b164432e16f531c0cc1157814411960915539 Change-Id: I0a6b164432e16f531c0cc1157814411960915539 --- device.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/device.mk b/device.mk index b304e0f3..3265df56 100644 --- a/device.mk +++ b/device.mk @@ -589,7 +589,7 @@ include device/google/gs-common/battery_mitigation/bcl.mk $(call inherit-product, $(SRC_TARGET_DIR)/product/emulated_storage.mk) $(call inherit-product, $(SRC_TARGET_DIR)/product/virtual_ab_ota/android_t_baseline.mk) -PRODUCT_VIRTUAL_AB_COMPRESSION_METHOD := gz +PRODUCT_VIRTUAL_AB_COMPRESSION_METHOD := lz4 # Enforce generic ramdisk allow list $(call inherit-product, $(SRC_TARGET_DIR)/product/generic_ramdisk.mk)