Merge "Enforce no unused HALs when product matrix exists."
This commit is contained in:
commit
d6b231faaa
1 changed files with 2 additions and 3 deletions
|
@ -2559,10 +2559,9 @@ INTERNAL_VENDORIMAGE_FILES := \
|
|||
ifdef BUILT_VENDOR_MANIFEST
|
||||
BUILT_ASSEMBLED_VENDOR_MANIFEST := $(PRODUCT_OUT)/verified_assembled_vendor_manifest.xml
|
||||
ifeq (true,$(strip $(PRODUCT_ENFORCE_VINTF_MANIFEST)))
|
||||
ifdef DEVICE_FRAMEWORK_COMPATIBILITY_MATRIX_FILE
|
||||
# TODO(b/65028233): turn this on globally
|
||||
ifneq ($(strip $(DEVICE_FRAMEWORK_COMPATIBILITY_MATRIX_FILE) $(DEVICE_PRODUCT_COMPATIBILITY_MATRIX_FILE)),)
|
||||
$(BUILT_ASSEMBLED_VENDOR_MANIFEST): PRIVATE_SYSTEM_ASSEMBLE_VINTF_ENV_VARS := VINTF_ENFORCE_NO_UNUSED_HALS=true
|
||||
endif # DEVICE_FRAMEWORK_COMPATIBILITY_MATRIX_FILE
|
||||
endif # DEVICE_FRAMEWORK_COMPATIBILITY_MATRIX_FILE or DEVICE_PRODUCT_COMPATIBILITY_MATRIX_FILE
|
||||
endif # PRODUCT_ENFORCE_VINTF_MANIFEST
|
||||
$(BUILT_ASSEMBLED_VENDOR_MANIFEST): $(HOST_OUT_EXECUTABLES)/assemble_vintf
|
||||
$(BUILT_ASSEMBLED_VENDOR_MANIFEST): $(BUILT_SYSTEM_MATRIX)
|
||||
|
|
Loading…
Reference in a new issue