Merge "Don't use old VNDK and SystemSDK versions for new devices"

This commit is contained in:
Treehugger Robot 2018-01-24 02:25:38 +00:00 committed by Gerrit Code Review
commit 3fcaecec8a
1 changed files with 3 additions and 0 deletions

View File

@ -824,6 +824,9 @@ ifdef PRODUCT_SHIPPING_API_LEVEL
$(error When PRODUCT_SHIPPING_API_LEVEL >= 27, TARGET_USES_MKE2FS must be true)
endif
endif
ifneq ($(call numbers_less_than,$(PRODUCT_SHIPPING_API_LEVEL),$(BOARD_SYSTEMSDK_VERSIONS)),)
$(error BOARD_SYSTEMSDK_VERSIONS ($(BOARD_SYSTEMSDK_VERSIONS)) must all be greater than or equal to PRODUCT_SHIPPING_API_LEVEL ($(PRODUCT_SHIPPING_API_LEVEL)))
endif
endif
# The default key if not set as LOCAL_CERTIFICATE