blob: ca2176c7353f0a2860eae4a3bc38648ef0eb982a [file] [log] [blame]
Isaac Chen55e1d012018-06-11 12:52:22 +08001# BoardConfigEmuCommon.mk
2#
3# Common compile-time definitions for emulator
4#
5
6# The generic product target doesn't have any hardware-specific pieces.
7TARGET_NO_BOOTLOADER := true
8TARGET_NO_KERNEL := true
9
10HAVE_HTC_AUDIO_DRIVER := true
11BOARD_USES_GENERIC_AUDIO := true
12TARGET_BOOTLOADER_BOARD_NAME := goldfish_$(TARGET_ARCH)
13
Isaac Chen55e1d012018-06-11 12:52:22 +080014# no hardware camera
15USE_CAMERA_STUB := true
16
17TARGET_USES_HWC2 := true
18NUM_FRAMEBUFFER_SURFACE_BUFFERS := 3
19
20# Build OpenGLES emulation guest and host libraries
21BUILD_EMULATOR_OPENGL := true
22BUILD_QEMU_IMAGES := true
23
24# Build and enable the OpenGL ES View renderer. When running on the emulator,
25# the GLES renderer disables itself if host GL acceleration isn't available.
26USE_OPENGL_RENDERER := true
27
28TARGET_COPY_OUT_VENDOR := vendor
SzuWei Line592c962018-07-12 17:40:00 +080029
Isaac Chen55e1d012018-06-11 12:52:22 +080030# ~100 MB vendor image. Please adjust system image / vendor image sizes
31# when finalizing them.
32BOARD_VENDORIMAGE_PARTITION_SIZE := 100000000
33BOARD_VENDORIMAGE_FILE_SYSTEM_TYPE := ext4
34BOARD_FLASH_BLOCK_SIZE := 512
Isaac Chen55e1d012018-06-11 12:52:22 +080035DEVICE_MATRIX_FILE := device/generic/goldfish/compatibility_matrix.xml
36
Isaac Chen55e1d012018-06-11 12:52:22 +080037BOARD_SEPOLICY_DIRS += device/generic/goldfish/sepolicy/common
38BOARD_PROPERTY_OVERRIDES_SPLIT_ENABLED := true