emulator: add option to disable avb

avbtool spends considerate amount of time, we want
to disable it in build environment to make incremental
build speed a bit faster.

BUG: 133259713

lunch sdk_phone_x86-eng
export QEMU_DISABLE_AVB=true
make -j

Change-Id: I0d227fc5933aaab1d49f66f4b07b35922bc6255b
This commit is contained in:
bohu 2019-06-07 09:47:41 -07:00
parent 6728fe850e
commit 5b1eed6fbe

View file

@ -41,6 +41,11 @@ ifeq ($(PRODUCT_USE_DYNAMIC_PARTITIONS),true)
# 3G
BOARD_EMULATOR_DYNAMIC_PARTITIONS_SIZE := 3221225472
# in build environment to speed up make -j
ifeq ($(QEMU_DISABLE_AVB),true)
BOARD_AVB_ENABLE := false
endif
else ifeq ($(PRODUCT_USE_DYNAMIC_PARTITION_SIZE),true)
# Enable dynamic system image size and reserved 64MB in it.
BOARD_SYSTEMIMAGE_PARTITION_RESERVED_SIZE := 67108864