forked from openkylin/platform_build
Enforce no unused HALs when product matrix exists.
Also, remove old TODO message because it cannot be fixed. Bug: 120600021 Test: builds Test: remove entry from product matrix, build fails. Change-Id: I9a6e954a1003aa4ad1bbca184ad7041ffad6b99b
This commit is contained in:
parent
47b53c4136
commit
ab1ec4dbe3
|
@ -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 New Issue