Merge "Monotonicity for NEED_AIDL_NDK_PLATFORM_BACKEND." into main

This commit is contained in:
Steven Moreland
2024-09-03 23:44:16 +00:00
committed by Gerrit Code Review

View File

@@ -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