Merge "Products launching with API 28 needs system-as-root" into pi-dev
diff --git a/core/config.mk b/core/config.mk
index e4ed107..800a7fc 100644
--- a/core/config.mk
+++ b/core/config.mk
@@ -852,6 +852,11 @@
$(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