Merge "Set BOARD_SYSTEMSDK_VERSIONS even if PRODUCT_SHIPPING_API_LEVEL is unset" into main am: 7968bc4f39 am: fdb1137a95

Original change: https://android-review.googlesource.com/c/platform/build/+/2897500

Change-Id: I236cac7b470367a2a482aa411245e1cbe2aa253e
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Treehugger Robot
2024-01-04 19:01:21 +00:00
committed by Automerger Merge Worker

View File

@@ -831,16 +831,12 @@ endif
# Set BOARD_SYSTEMSDK_VERSIONS to the latest SystemSDK version starting from P-launching
# devices if unset.
ifndef BOARD_SYSTEMSDK_VERSIONS
ifdef PRODUCT_SHIPPING_API_LEVEL
ifneq ($(call math_gt_or_eq,$(PRODUCT_SHIPPING_API_LEVEL),28),)
ifeq (REL,$(PLATFORM_VERSION_CODENAME))
BOARD_SYSTEMSDK_VERSIONS := $(PLATFORM_SDK_VERSION)
else
BOARD_SYSTEMSDK_VERSIONS := $(PLATFORM_VERSION_CODENAME)
endif
endif
endif
endif
ifndef BOARD_CURRENT_API_LEVEL_FOR_VENDOR_MODULES
BOARD_CURRENT_API_LEVEL_FOR_VENDOR_MODULES := current