Merge "Disable WITHOUT_CHECK_API for SDK products" into main

This commit is contained in:
Treehugger Robot
2024-03-15 20:28:51 +00:00
committed by Gerrit Code Review

View File

@@ -30,3 +30,7 @@ PRODUCT_BRAND := Android
PRODUCT_DEVICE := mainline_x86
PRODUCT_BUILD_FROM_SOURCE_STUB := true
ifeq ($(WITHOUT_CHECK_API),true)
$(error WITHOUT_CHECK_API cannot be set to true for SDK product builds)
endif