Isaac Chen | 55e1d01 | 2018-06-11 12:52:22 +0800 | [diff] [blame] | 1 | # BoardConfigEmuCommon.mk |
| 2 | # |
| 3 | # Common compile-time definitions for emulator |
| 4 | # |
| 5 | |
Isaac Chen | 55e1d01 | 2018-06-11 12:52:22 +0800 | [diff] [blame] | 6 | HAVE_HTC_AUDIO_DRIVER := true |
| 7 | BOARD_USES_GENERIC_AUDIO := true |
| 8 | TARGET_BOOTLOADER_BOARD_NAME := goldfish_$(TARGET_ARCH) |
| 9 | |
Isaac Chen | 55e1d01 | 2018-06-11 12:52:22 +0800 | [diff] [blame] | 10 | # no hardware camera |
| 11 | USE_CAMERA_STUB := true |
| 12 | |
Isaac Chen | 55e1d01 | 2018-06-11 12:52:22 +0800 | [diff] [blame] | 13 | NUM_FRAMEBUFFER_SURFACE_BUFFERS := 3 |
| 14 | |
| 15 | # Build OpenGLES emulation guest and host libraries |
| 16 | BUILD_EMULATOR_OPENGL := true |
| 17 | BUILD_QEMU_IMAGES := true |
| 18 | |
| 19 | # Build and enable the OpenGL ES View renderer. When running on the emulator, |
| 20 | # the GLES renderer disables itself if host GL acceleration isn't available. |
| 21 | USE_OPENGL_RENDERER := true |
| 22 | |
Isaac Chen | 55e1d01 | 2018-06-11 12:52:22 +0800 | [diff] [blame] | 23 | # ~100 MB vendor image. Please adjust system image / vendor image sizes |
Bowgo Tsai | 9d28638 | 2018-08-31 21:40:10 +0800 | [diff] [blame] | 24 | # when finalizing them. The partition size needs to be a multiple of image |
| 25 | # block size: 4096. |
| 26 | BOARD_VENDORIMAGE_PARTITION_SIZE := 100003840 |
Isaac Chen | 55e1d01 | 2018-06-11 12:52:22 +0800 | [diff] [blame] | 27 | BOARD_VENDORIMAGE_FILE_SYSTEM_TYPE := ext4 |
| 28 | BOARD_FLASH_BLOCK_SIZE := 512 |
Isaac Chen | 55e1d01 | 2018-06-11 12:52:22 +0800 | [diff] [blame] | 29 | DEVICE_MATRIX_FILE := device/generic/goldfish/compatibility_matrix.xml |
| 30 | |
Isaac Chen | 55e1d01 | 2018-06-11 12:52:22 +0800 | [diff] [blame] | 31 | BOARD_SEPOLICY_DIRS += device/generic/goldfish/sepolicy/common |
| 32 | BOARD_PROPERTY_OVERRIDES_SPLIT_ENABLED := true |