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

Commit 357d069f authored by Steven Moreland's avatar Steven Moreland
Browse files

Monotonicity for NEED_AIDL_NDK_PLATFORM_BACKEND.

Hint to partners this will go away. We have limited
testing of this option, and we shouldn't maintain two
ways of handling NDK AIDL variants. So, this way
we can remove it in the future. :D

Bug: 161456198
Test: build
Change-Id: I5ae43b4f1b6c0d7253e82caeb338b69b7e00fdb6
parent 1dbf5fb0
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -811,6 +811,12 @@ ifeq ($(PRODUCT_FULL_TREBLE),true)
  BOARD_PROPERTY_OVERRIDES_SPLIT_ENABLED ?= true
endif

ifneq ($(call math_gt_or_eq,$(PRODUCT_SHIPPING_API_LEVEL),36),)
  ifneq ($(NEED_AIDL_NDK_PLATFORM_BACKEND),)
    $(error Must not set NEED_AIDL_NDK_PLATFORM_BACKEND, but it is set to: $(NEED_AIDL_NDK_PLATFORM_BACKEND). Support will be removed.)
  endif
endif

# Set BOARD_SYSTEMSDK_VERSIONS to the latest SystemSDK version starting from P-launching
# devices if unset.
ifndef BOARD_SYSTEMSDK_VERSIONS