diff options
author | Daniel Zheng <zhengdaniel@google.com> | 2024-01-09 15:56:10 -0800 |
---|---|---|
committer | Daniel Zheng <zhengdaniel@google.com> | 2024-04-18 11:22:26 -0700 |
commit | 270130a0254c713934e7434ec9a866c7b28a71ab (patch) | |
tree | 948448f883604bc60e0fbb7e07adc2fdf9bd6e15 /target | |
parent | 2fc519a568032d403cb3f41f2ae5f408d47eefcc (diff) | |
download | build-270130a0254c713934e7434ec9a866c7b28a71ab.tar.gz |
add build property for compression_factor
Compression factor, as discussed, should be a configurable build
property. This flag here will control that. From initial analysis, it
looks like 64k is a good default. go/variable-block-vabc-perf
Bug: 313962438
Test: th
Change-Id: I2bddede22655e36446e734ac1917be560b1a3a1b
Diffstat (limited to 'target')
-rw-r--r-- | target/product/virtual_ab_ota/vabc_features.mk | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/target/product/virtual_ab_ota/vabc_features.mk b/target/product/virtual_ab_ota/vabc_features.mk index 874eb9cd83..3f484e4f3e 100644 --- a/target/product/virtual_ab_ota/vabc_features.mk +++ b/target/product/virtual_ab_ota/vabc_features.mk @@ -38,6 +38,9 @@ PRODUCT_VENDOR_PROPERTIES += ro.virtual_ab.batch_writes=true # Enabling this property, will improve OTA install time # but will use an additional CPU core # PRODUCT_VENDOR_PROPERTIES += ro.virtual_ab.compression.threads=true +ifndef PRODUCT_VIRTUAL_AB_COMPRESSION_FACTOR + PRODUCT_VIRTUAL_AB_COMPRESSION_FACTOR := 65536 +endif PRODUCT_VIRTUAL_AB_COMPRESSION := true PRODUCT_VIRTUAL_AB_COMPRESSION_METHOD ?= none |