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

Commit b97fa339 authored by Yifan Hong's avatar Yifan Hong Committed by android-build-merger
Browse files

Merge "DAP: system_as_root can't be true."

am: bee89836

Change-Id: I37b164da2f9171413090032976aebf71de04a5a5
parents 8cf53652 bee89836
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -945,6 +945,10 @@ ifeq ($(PRODUCT_RETROFIT_DYNAMIC_PARTITIONS),true)
endif

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 := \
        PRODUCT_USE_DYNAMIC_PARTITION_SIZE \
        PRODUCT_BUILD_SUPER_PARTITION \