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

am: 42bb3a2ddf

Change-Id: I3a291a22ffdff76e3cf5796a554ba537e855a2f9
This commit is contained in:
Jiyong Park 2018-01-24 02:39:48 +00:00 committed by android-build-merger
commit 487b149382
1 changed files with 3 additions and 0 deletions

View File

@ -825,6 +825,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