Merge "Don't use old VNDK and SystemSDK versions for new devices" am: 3fcaecec8a

am: b50e47cbc4

Change-Id: Ieb49f4a2363d2b38b2cb512e97ed828e22790e2a
This commit is contained in:
Jiyong Park 2018-01-24 02:37:21 +00:00 committed by android-build-merger
commit 42bb3a2ddf
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