Merge "Products launching with API 28 needs system-as-root" into pi-dev

This commit is contained in:
TreeHugger Robot
2018-03-30 01:27:27 +00:00
committed by Android (Google) Code Review

View File

@@ -852,6 +852,11 @@ ifdef PRODUCT_SHIPPING_API_LEVEL
$(error When PRODUCT_SHIPPING_API_LEVEL >= 28, TARGET_USES_64_BIT_BINDER must be true)
endif
endif
ifeq ($(PRODUCT_FULL_TREBLE),true)
ifneq ($(BOARD_BUILD_SYSTEM_ROOT_IMAGE), true)
$(error When PRODUCT_SHIPPING_API_LEVEL >= 28, BOARD_BUILD_SYSTEM_ROOT_IMAGE must be true)
endif
endif
endif
endif