Add compatibility check for system_manifest/compatibility_matrix.xml
am: c9ad35ce39
Change-Id: I29e4ff30ee5b5062d2c30088451a61c0abd90abd
This commit is contained in:
commit
c22e2140b4
1 changed files with 16 additions and 3 deletions
|
@ -71,8 +71,15 @@ LOCAL_MODULE_CLASS := ETC
|
|||
LOCAL_MODULE_PATH := $(TARGET_OUT)
|
||||
|
||||
GEN := $(local-generated-sources-dir)/manifest.xml
|
||||
|
||||
$(GEN): PRIVATE_FLAGS :=
|
||||
ifdef BUILT_VENDOR_MATRIX
|
||||
$(GEN): $(BUILT_VENDOR_MATRIX)
|
||||
$(GEN): PRIVATE_FLAGS := -c "$(BUILT_VENDOR_MATRIX)"
|
||||
endif
|
||||
|
||||
$(GEN): $(FRAMEWORK_MANIFEST_FILE) $(HOST_OUT_EXECUTABLES)/assemble_vintf
|
||||
BOARD_SEPOLICY_VERS=$(BOARD_SEPOLICY_VERS) $(HOST_OUT_EXECUTABLES)/assemble_vintf -i $< -o $@
|
||||
BOARD_SEPOLICY_VERS=$(BOARD_SEPOLICY_VERS) $(HOST_OUT_EXECUTABLES)/assemble_vintf -i $< -o $@ $(PRIVATE_FLAGS)
|
||||
|
||||
LOCAL_PREBUILT_MODULE_FILE := $(GEN)
|
||||
include $(BUILD_PREBUILT)
|
||||
|
@ -86,10 +93,16 @@ LOCAL_MODULE_CLASS := ETC
|
|||
LOCAL_MODULE_PATH := $(TARGET_OUT)
|
||||
|
||||
GEN := $(local-generated-sources-dir)/compatibility_matrix.xml
|
||||
|
||||
$(GEN): PRIVATE_FLAGS :=
|
||||
ifdef BUILT_VENDOR_MANIFEST
|
||||
$(GEN): $(BUILT_VENDOR_MANIFEST)
|
||||
$(GEN): PRIVATE_FLAGS := -c "$(BUILT_VENDOR_MANIFEST)"
|
||||
endif
|
||||
|
||||
$(GEN): $(FRAMEWORK_COMPATIBILITY_MATRIX_FILE) $(HOST_OUT_EXECUTABLES)/assemble_vintf
|
||||
# TODO(b/37405869) (b/37715375) inject avb versions as well for devices that have avb enabled.
|
||||
POLICYVERS=$(POLICYVERS) BOARD_SEPOLICY_VERS=$(BOARD_SEPOLICY_VERS) $(HOST_OUT_EXECUTABLES)/assemble_vintf -i $< -o $@
|
||||
|
||||
POLICYVERS=$(POLICYVERS) BOARD_SEPOLICY_VERS=$(BOARD_SEPOLICY_VERS) $(HOST_OUT_EXECUTABLES)/assemble_vintf -i $< -o $@ $(PRIVATE_FLAGS)
|
||||
LOCAL_PREBUILT_MODULE_FILE := $(GEN)
|
||||
include $(BUILD_PREBUILT)
|
||||
BUILT_SYSTEM_COMPATIBILITY_MATRIX := $(LOCAL_BUILT_MODULE)
|
||||
|
|
Loading…
Reference in a new issue