Merge "Products launching with API 28 need 64-bit binder interface." into pi-dev

am: d027dfa39f

Change-Id: I259f69f1be9baeab32f45637a17f43dea3c1b728
This commit is contained in:
Martijn Coenen 2018-03-14 11:17:17 +00:00 committed by android-build-merger
commit 16ab41d8ff
1 changed files with 7 additions and 0 deletions

View File

@ -847,6 +847,13 @@ ifdef PRODUCT_SHIPPING_API_LEVEL
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
ifneq ($(call math_gt_or_eq,$(PRODUCT_SHIPPING_API_LEVEL),28),)
ifneq ($(TARGET_IS_64_BIT), true)
ifneq ($(TARGET_USES_64_BIT_BINDER), true)
$(error When PRODUCT_SHIPPING_API_LEVEL >= 28, TARGET_USES_64_BIT_BINDER must be true)
endif
endif
endif
endif
# The default key if not set as LOCAL_CERTIFICATE