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

Change-Id: Idb2e33a16171cea6af44cd501c4f35ccdd73b81f
This commit is contained in:
Automerger Merge Worker 2019-12-16 15:29:57 +00:00
commit b598202b3b

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)