Move ro.boot.dynamic_partitions to vendor/build.prop
Bug: 132197773 Test: property present in vendor/build.prop Currently, the property resides in product partition which gets overwritten by the GSI image. Moving it to vendor will ensure that the property is set even when a GSI image is flashed on the device. Change-Id: I4d4a3c473194e15ba124a121f89bbb3ec1a73d19 Merged-In: I4d4a3c473194e15ba124a121f89bbb3ec1a73d19
This commit is contained in:
@@ -520,6 +520,12 @@ $(INSTALLED_VENDOR_BUILD_PROP_TARGET): $(BUILDINFO_COMMON_SH) $(intermediate_sys
|
|||||||
@echo Target vendor buildinfo: $@
|
@echo Target vendor buildinfo: $@
|
||||||
@mkdir -p $(dir $@)
|
@mkdir -p $(dir $@)
|
||||||
$(hide) echo > $@
|
$(hide) echo > $@
|
||||||
|
ifeq ($(PRODUCT_USE_DYNAMIC_PARTITIONS),true)
|
||||||
|
$(hide) echo ro.boot.dynamic_partitions=true >> $@
|
||||||
|
endif
|
||||||
|
ifeq ($(PRODUCT_RETROFIT_DYNAMIC_PARTITIONS),true)
|
||||||
|
$(hide) echo ro.boot.dynamic_partitions_retrofit=true >> $@
|
||||||
|
endif
|
||||||
$(hide) grep 'ro.product.first_api_level' $(intermediate_system_build_prop) >> $@ || true
|
$(hide) grep 'ro.product.first_api_level' $(intermediate_system_build_prop) >> $@ || true
|
||||||
$(hide) echo ro.vendor.build.security_patch="$(VENDOR_SECURITY_PATCH)">>$@
|
$(hide) echo ro.vendor.build.security_patch="$(VENDOR_SECURITY_PATCH)">>$@
|
||||||
$(hide) echo ro.vendor.product.cpu.abilist="$(TARGET_CPU_ABI_LIST)">>$@
|
$(hide) echo ro.vendor.product.cpu.abilist="$(TARGET_CPU_ABI_LIST)">>$@
|
||||||
|
@@ -244,14 +244,6 @@ else
|
|||||||
ADDITIONAL_DEFAULT_PROPERTIES += ro.actionable_compatible_property.enabled=${PRODUCT_COMPATIBLE_PROPERTY}
|
ADDITIONAL_DEFAULT_PROPERTIES += ro.actionable_compatible_property.enabled=${PRODUCT_COMPATIBLE_PROPERTY}
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(PRODUCT_USE_DYNAMIC_PARTITIONS),true)
|
|
||||||
ADDITIONAL_PRODUCT_PROPERTIES += ro.boot.dynamic_partitions=true
|
|
||||||
endif
|
|
||||||
|
|
||||||
ifeq ($(PRODUCT_RETROFIT_DYNAMIC_PARTITIONS),true)
|
|
||||||
ADDITIONAL_PRODUCT_PROPERTIES += ro.boot.dynamic_partitions_retrofit=true
|
|
||||||
endif
|
|
||||||
|
|
||||||
# Add the system server compiler filter if they are specified for the product.
|
# Add the system server compiler filter if they are specified for the product.
|
||||||
ifneq (,$(PRODUCT_SYSTEM_SERVER_COMPILER_FILTER))
|
ifneq (,$(PRODUCT_SYSTEM_SERVER_COMPILER_FILTER))
|
||||||
ADDITIONAL_PRODUCT_PROPERTIES += dalvik.vm.systemservercompilerfilter=$(PRODUCT_SYSTEM_SERVER_COMPILER_FILTER)
|
ADDITIONAL_PRODUCT_PROPERTIES += dalvik.vm.systemservercompilerfilter=$(PRODUCT_SYSTEM_SERVER_COMPILER_FILTER)
|
||||||
|
Reference in New Issue
Block a user