Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f84c7e5c authored by Yifan Hong's avatar Yifan Hong
Browse files

DAP: system_as_root can't be true.

Test: builds
Change-Id: I3e47e9717c983703494abc8417526caf5955d2e4
Fixes: 124274480
parent 68e2dc20
Loading
Loading
Loading
Loading
+4 −0
Original line number Original line Diff line number Diff line
@@ -947,6 +947,10 @@ ifeq ($(PRODUCT_RETROFIT_DYNAMIC_PARTITIONS),true)
endif
endif


ifeq ($(PRODUCT_USE_DYNAMIC_PARTITIONS),true)
ifeq ($(PRODUCT_USE_DYNAMIC_PARTITIONS),true)
    ifeq ($(BOARD_BUILD_SYSTEM_ROOT_IMAGE),true)
        $(error BOARD_BUILD_SYSTEM_ROOT_IMAGE cannot be true for devices with dynamic partitions)
    endif

    requirements := \
    requirements := \
        PRODUCT_USE_DYNAMIC_PARTITION_SIZE \
        PRODUCT_USE_DYNAMIC_PARTITION_SIZE \
        PRODUCT_BUILD_SUPER_PARTITION \
        PRODUCT_BUILD_SUPER_PARTITION \