Merge "add build property for compression_factor" into main
This commit is contained in:
@@ -6211,6 +6211,8 @@ define dump-dynamic-partitions-info
|
|||||||
echo "virtual_ab_retrofit=true" >> $(1))
|
echo "virtual_ab_retrofit=true" >> $(1))
|
||||||
$(if $(PRODUCT_VIRTUAL_AB_COW_VERSION), \
|
$(if $(PRODUCT_VIRTUAL_AB_COW_VERSION), \
|
||||||
echo "virtual_ab_cow_version=$(PRODUCT_VIRTUAL_AB_COW_VERSION)" >> $(1))
|
echo "virtual_ab_cow_version=$(PRODUCT_VIRTUAL_AB_COW_VERSION)" >> $(1))
|
||||||
|
$(if $(PRODUCT_VIRTUAL_AB_COMPRESSION_FACTOR), \
|
||||||
|
echo "virtual_ab_compression_factor=$(PRODUCT_VIRTUAL_AB_COMPRESSION_FACTOR)" >> $(1))
|
||||||
endef
|
endef
|
||||||
|
|
||||||
# Copy an image file to a directory and generate a block list map file from the image,
|
# Copy an image file to a directory and generate a block list map file from the image,
|
||||||
|
@@ -453,6 +453,9 @@ _product_single_value_vars += PRODUCT_ENABLE_UFFD_GC
|
|||||||
# specified we default to COW version 2 in update_engine for backwards compatibility
|
# specified we default to COW version 2 in update_engine for backwards compatibility
|
||||||
_product_single_value_vars += PRODUCT_VIRTUAL_AB_COW_VERSION
|
_product_single_value_vars += PRODUCT_VIRTUAL_AB_COW_VERSION
|
||||||
|
|
||||||
|
# Specifies maximum bytes to be compressed at once during ota. Options: 4096, 8192, 16384, 32768, 65536, 131072, 262144.
|
||||||
|
_product_single_value_vars += PRODUCT_VIRTUAL_AB_COMPRESSION_FACTOR
|
||||||
|
|
||||||
# If set, determines whether the build system checks vendor seapp contexts violations.
|
# If set, determines whether the build system checks vendor seapp contexts violations.
|
||||||
_product_single_value_vars += PRODUCT_CHECK_VENDOR_SEAPP_VIOLATIONS
|
_product_single_value_vars += PRODUCT_CHECK_VENDOR_SEAPP_VIOLATIONS
|
||||||
|
|
||||||
|
@@ -38,6 +38,9 @@ PRODUCT_VENDOR_PROPERTIES += ro.virtual_ab.batch_writes=true
|
|||||||
# Enabling this property, will improve OTA install time
|
# Enabling this property, will improve OTA install time
|
||||||
# but will use an additional CPU core
|
# but will use an additional CPU core
|
||||||
# PRODUCT_VENDOR_PROPERTIES += ro.virtual_ab.compression.threads=true
|
# 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 := true
|
||||||
PRODUCT_VIRTUAL_AB_COMPRESSION_METHOD ?= none
|
PRODUCT_VIRTUAL_AB_COMPRESSION_METHOD ?= none
|
||||||
|
Reference in New Issue
Block a user