forked from openkylin/platform_build
Build vendor image for emulator
BUG: 37511975 Test: lunch sdk_gphone_x86-user, make with dist option, unzip sdk_gphone_x86-emulator-eng.xxxx.zip to system image folder, emulator can boot Change-Id: I330adc6da2999031d4ed2d8c4ade4667c1d0b511 Merged-In: I75b9f0de17fece3dec5ae1662400808af321bd4d
This commit is contained in:
parent
d1af74bd70
commit
3afe69d846
|
@ -2792,7 +2792,8 @@ INTERNAL_EMULATOR_PACKAGE_FILES += \
|
|||
prebuilts/qemu-kernel/$(TARGET_ARCH)/kernel-qemu \
|
||||
$(INSTALLED_RAMDISK_TARGET) \
|
||||
$(INSTALLED_SYSTEMIMAGE) \
|
||||
$(INSTALLED_USERDATAIMAGE_TARGET)
|
||||
$(INSTALLED_USERDATAIMAGE_TARGET) \
|
||||
$(INSTALLED_VENDORIMAGE_TARGET)
|
||||
|
||||
name := $(TARGET_PRODUCT)-emulator-$(FILE_NAME_TAG)
|
||||
|
||||
|
|
|
@ -52,6 +52,11 @@ USE_OPENGL_RENDERER := true
|
|||
TARGET_USERIMAGES_USE_EXT4 := true
|
||||
BOARD_SYSTEMIMAGE_PARTITION_SIZE := 2147483648 # 2 GB
|
||||
BOARD_USERDATAIMAGE_PARTITION_SIZE := 576716800
|
||||
TARGET_COPY_OUT_VENDOR := vendor
|
||||
# ~100 MB vendor image. Please adjust system image / vendor image sizes
|
||||
# when finalizing them.
|
||||
BOARD_VENDORIMAGE_PARTITION_SIZE := 100000000
|
||||
BOARD_VENDORIMAGE_FILE_SYSTEM_TYPE := ext4
|
||||
BOARD_CACHEIMAGE_PARTITION_SIZE := 69206016
|
||||
BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4
|
||||
BOARD_FLASH_BLOCK_SIZE := 512
|
||||
|
|
|
@ -83,6 +83,11 @@ USE_OPENGL_RENDERER := true
|
|||
TARGET_USERIMAGES_USE_EXT4 := true
|
||||
BOARD_SYSTEMIMAGE_PARTITION_SIZE := 2684354560 # 2.5 GB
|
||||
BOARD_USERDATAIMAGE_PARTITION_SIZE := 576716800
|
||||
TARGET_COPY_OUT_VENDOR := vendor
|
||||
# ~100 MB vendor image. Please adjust system image / vendor image sizes
|
||||
# when finalizing them.
|
||||
BOARD_VENDORIMAGE_PARTITION_SIZE := 100000000
|
||||
BOARD_VENDORIMAGE_FILE_SYSTEM_TYPE := ext4
|
||||
BOARD_CACHEIMAGE_PARTITION_SIZE := 69206016
|
||||
BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4
|
||||
BOARD_FLASH_BLOCK_SIZE := 512
|
||||
|
|
|
@ -60,6 +60,11 @@ USE_OPENGL_RENDERER := true
|
|||
TARGET_USERIMAGES_USE_EXT4 := true
|
||||
BOARD_SYSTEMIMAGE_PARTITION_SIZE := 2147483648 # 2 GB
|
||||
BOARD_USERDATAIMAGE_PARTITION_SIZE := 734003200
|
||||
TARGET_COPY_OUT_VENDOR := vendor
|
||||
# ~100 MB vendor image. Please adjust system image / vendor image sizes
|
||||
# when finalizing them.
|
||||
BOARD_VENDORIMAGE_PARTITION_SIZE := 100000000
|
||||
BOARD_VENDORIMAGE_FILE_SYSTEM_TYPE := ext4
|
||||
BOARD_CACHEIMAGE_PARTITION_SIZE := 69206016
|
||||
BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4
|
||||
BOARD_FLASH_BLOCK_SIZE := 512
|
||||
|
|
|
@ -75,6 +75,11 @@ USE_OPENGL_RENDERER := true
|
|||
TARGET_USERIMAGES_USE_EXT4 := true
|
||||
BOARD_SYSTEMIMAGE_PARTITION_SIZE := 1879048192 # 1.75 GB
|
||||
BOARD_USERDATAIMAGE_PARTITION_SIZE := 1610612736 # 1.5 GB, lots of space for running tests
|
||||
TARGET_COPY_OUT_VENDOR := vendor
|
||||
# ~100 MB vendor image. Please adjust system image / vendor image sizes
|
||||
# when finalizing them.
|
||||
BOARD_VENDORIMAGE_PARTITION_SIZE := 100000000
|
||||
BOARD_VENDORIMAGE_FILE_SYSTEM_TYPE := ext4
|
||||
BOARD_CACHEIMAGE_PARTITION_SIZE := 69206016
|
||||
BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4
|
||||
BOARD_FLASH_BLOCK_SIZE := 512
|
||||
|
|
|
@ -42,6 +42,11 @@ USE_OPENGL_RENDERER := true
|
|||
TARGET_USERIMAGES_USE_EXT4 := true
|
||||
BOARD_SYSTEMIMAGE_PARTITION_SIZE := 2147483648
|
||||
BOARD_USERDATAIMAGE_PARTITION_SIZE := 576716800
|
||||
TARGET_COPY_OUT_VENDOR := vendor
|
||||
# ~100 MB vendor image. Please adjust system image / vendor image sizes
|
||||
# when finalizing them.
|
||||
BOARD_VENDORIMAGE_PARTITION_SIZE := 100000000
|
||||
BOARD_VENDORIMAGE_FILE_SYSTEM_TYPE := ext4
|
||||
BOARD_CACHEIMAGE_PARTITION_SIZE := 69206016
|
||||
BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4
|
||||
BOARD_FLASH_BLOCK_SIZE := 512
|
||||
|
|
|
@ -45,6 +45,11 @@ USE_OPENGL_RENDERER := true
|
|||
TARGET_USERIMAGES_USE_EXT4 := true
|
||||
BOARD_SYSTEMIMAGE_PARTITION_SIZE := 2684354560 # 2.5 GB
|
||||
BOARD_USERDATAIMAGE_PARTITION_SIZE := 576716800
|
||||
TARGET_COPY_OUT_VENDOR := vendor
|
||||
# ~100 MB vendor image. Please adjust system image / vendor image sizes
|
||||
# when finalizing them.
|
||||
BOARD_VENDORIMAGE_PARTITION_SIZE := 100000000
|
||||
BOARD_VENDORIMAGE_FILE_SYSTEM_TYPE := ext4
|
||||
BOARD_CACHEIMAGE_PARTITION_SIZE := 69206016
|
||||
BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4
|
||||
BOARD_FLASH_BLOCK_SIZE := 512
|
||||
|
|
Loading…
Reference in New Issue