From c3162eeff0a5dec9f6334ae421fcd9a63092be47 Mon Sep 17 00:00:00 2001 From: Martijn Coenen Date: Mon, 22 Jan 2018 09:01:15 +0100 Subject: [PATCH] Products launching with API 28 need 64-bit binder interface. This time around we're really deprecating the 32-bit binder interface (v7), even for 32-bit devices. Upgrading devices can keep using it. Bug: 69775513 Test: manual makefile prodding Change-Id: I3850418ca267e72593f5f12b940e5382b29b024a Merged-In: I3850418ca267e72593f5f12b940e5382b29b024a --- core/config.mk | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/core/config.mk b/core/config.mk index ec3c847ff..83134347e 100644 --- a/core/config.mk +++ b/core/config.mk @@ -836,6 +836,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