Add product and system_ext partition for emulator
am: ff3d62d31d
Change-Id: I9671c9532199ad6c4022b31c5a6027bbfce68b06
This commit is contained in:
commit
0a81687a25
2 changed files with 12 additions and 1 deletions
|
@ -646,6 +646,10 @@ $(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/lib*/libstagefright_soft*)
|
|||
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/odm/build.prop)
|
||||
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/vendor/odm/build.prop)
|
||||
|
||||
# Move product and system_ext to root for emulators
|
||||
$(call add-clean-step, rm -rf $(OUT_DIR)/target/product/generic*/*/product)
|
||||
$(call add-clean-step, rm -rf $(OUT_DIR)/target/product/generic*/*/system_ext)
|
||||
|
||||
# ************************************************
|
||||
# NEWER CLEAN STEPS MUST BE AT THE END OF THE LIST
|
||||
# ************************************************
|
||||
|
|
|
@ -37,7 +37,9 @@ ifeq ($(PRODUCT_USE_DYNAMIC_PARTITIONS),true)
|
|||
BOARD_SUPER_PARTITION_GROUPS := emulator_dynamic_partitions
|
||||
BOARD_EMULATOR_DYNAMIC_PARTITIONS_PARTITION_LIST := \
|
||||
system \
|
||||
vendor
|
||||
vendor \
|
||||
product \
|
||||
system_ext
|
||||
|
||||
# 3G
|
||||
BOARD_EMULATOR_DYNAMIC_PARTITIONS_SIZE := 3221225472
|
||||
|
@ -55,6 +57,11 @@ else
|
|||
BOARD_VENDORIMAGE_PARTITION_SIZE := 146800640
|
||||
endif
|
||||
|
||||
TARGET_COPY_OUT_PRODUCT := product
|
||||
BOARD_PRODUCTIMAGE_FILE_SYSTEM_TYPE := ext4
|
||||
TARGET_COPY_OUT_SYSTEM_EXT := system_ext
|
||||
BOARD_SYSTEM_EXTIMAGE_FILE_SYSTEM_TYPE := ext4
|
||||
|
||||
BOARD_VENDORIMAGE_FILE_SYSTEM_TYPE := ext4
|
||||
BOARD_FLASH_BLOCK_SIZE := 512
|
||||
DEVICE_MATRIX_FILE := device/generic/goldfish/compatibility_matrix.xml
|
||||
|
|
Loading…
Reference in a new issue