Merge "Allow OTA package to contain fake AVB version"
This commit is contained in:
commit
38d8d80b4c
3 changed files with 10 additions and 1 deletions
|
@ -128,13 +128,14 @@ LOCAL_MODULE := framework_compatibility_matrix.xml
|
|||
LOCAL_REQUIRED_MODULES := $(my_system_matrix_deps)
|
||||
include $(BUILD_PHONY_PACKAGE)
|
||||
|
||||
# Final Framework Compatibility Matrix
|
||||
# Final Framework Compatibility Matrix for OTA
|
||||
include $(CLEAR_VARS)
|
||||
include $(LOCAL_PATH)/clear_vars.mk
|
||||
LOCAL_MODULE := verified_assembled_system_matrix.xml
|
||||
LOCAL_MODULE_PATH := $(PRODUCT_OUT)
|
||||
LOCAL_REQUIRED_MODULES := $(my_system_matrix_deps)
|
||||
LOCAL_GENERATED_SOURCES := $(call module-installed-files,$(LOCAL_REQUIRED_MODULES))
|
||||
LOCAL_ADD_VBMETA_VERSION_OVERRIDE := true
|
||||
|
||||
ifdef BUILT_VENDOR_MANIFEST
|
||||
LOCAL_GEN_FILE_DEPENDENCIES += $(BUILT_VENDOR_MANIFEST)
|
||||
|
|
|
@ -16,6 +16,7 @@
|
|||
|
||||
# Clear input variables to BUILD_FRAMEWORK_COMPATIBILITY_MATRIX
|
||||
LOCAL_ADD_VBMETA_VERSION :=
|
||||
LOCAL_ADD_VBMETA_VERSION_OVERRIDE :=
|
||||
LOCAL_ASSEMBLE_VINTF_ENV_VARS :=
|
||||
LOCAL_ASSEMBLE_VINTF_ENV_VARS_OVERRIDE :=
|
||||
LOCAL_ASSEMBLE_VINTF_ERROR_MESSAGE :=
|
||||
|
|
|
@ -77,6 +77,13 @@ endif # BOARD_AVB_ENABLE
|
|||
$(GEN): PRIVATE_ENV_VARS += FRAMEWORK_VBMETA_VERSION
|
||||
endif # LOCAL_ADD_VBMETA_VERSION
|
||||
|
||||
ifeq (true,$(strip $(LOCAL_ADD_VBMETA_VERSION_OVERRIDE)))
|
||||
ifneq ($(BOARD_OTA_FRAMEWORK_VBMETA_VERSION_OVERRIDE),)
|
||||
$(GEN): FRAMEWORK_VBMETA_VERSION_OVERRIDE := $(BOARD_OTA_FRAMEWORK_VBMETA_VERSION_OVERRIDE)
|
||||
$(GEN): PRIVATE_ENV_VARS += FRAMEWORK_VBMETA_VERSION_OVERRIDE
|
||||
endif
|
||||
endif
|
||||
|
||||
ifneq (,$(strip $(LOCAL_KERNEL_CONFIG_DATA_PATHS)))
|
||||
$(GEN): PRIVATE_KERNEL_CONFIG_DATA_PATHS := $(LOCAL_KERNEL_CONFIG_DATA_PATHS)
|
||||
$(GEN): $(foreach pair,$(PRIVATE_KERNEL_CONFIG_DATA_PATHS),\
|
||||
|
|
Loading…
Reference in a new issue