Merge "Verify updatable jars are in PRODUCT_BOOT_JARS" am: 68209e4519 am: 0403c44566 am: b598202b3b

Change-Id: I4df0ac512d2b3729447b188f21031d71a92dc568
This commit is contained in:
Automerger Merge Worker 2019-12-16 15:43:17 +00:00
commit 8242f5e064

View file

@ -264,6 +264,13 @@ ifdef PRODUCT_DEFAULT_DEV_CERTIFICATE
endif
endif
$(foreach pair,$(PRODUCT_UPDATABLE_BOOT_JARS), \
$(if $(findstring $(call word-colon,2,$(pair)),$(PRODUCT_BOOT_JARS)),, \
$(error Every jar in PRODUCT_UPDATABLE_BOOT_JARS must also be in PRODUCT_BOOT_JARS, \
$(call word-colon,2,$(pair)) is not) \
) \
)
ENFORCE_SYSTEM_CERTIFICATE := $(PRODUCT_ENFORCE_ARTIFACT_SYSTEM_CERTIFICATE_REQUIREMENT)
ENFORCE_SYSTEM_CERTIFICATE_WHITELIST := $(PRODUCT_ARTIFACT_SYSTEM_CERTIFICATE_REQUIREMENT_WHITELIST)