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

This commit is contained in:
Treehugger Robot 2018-03-27 03:40:22 +00:00 committed by Gerrit Code Review
commit 1f7bf445e7
1 changed files with 5 additions and 0 deletions

View File

@ -843,6 +843,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