Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f12ffc44 authored by Martijn Coenen's avatar Martijn Coenen Committed by android-build-merger
Browse files

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

am: c0811e29

Change-Id: I58419bfd193f098273e2bdea35c3bc82dd12817c
parents 2a8e13f7 c0811e29
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -837,6 +837,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