summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--BoardConfig.mk25
1 files changed, 22 insertions, 3 deletions
diff --git a/BoardConfig.mk b/BoardConfig.mk
index 7b81ae0..4c9e2c7 100644
--- a/BoardConfig.mk
+++ b/BoardConfig.mk
@@ -17,15 +17,34 @@ MINIMAL_FONT_FOOTPRINT := true
BOARD_HAVE_BLUETOOTH := true
BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := device/generic/common/bluetooth
+# Build OpenGLES emulation libraries
+BUILD_EMULATOR_OPENGL := true
+BUILD_EMULATOR_OPENGL_DRIVER := true
USE_OPENGL_RENDERER := true
+BOARD_USES_GENERIC_AUDIO := true
+
+USE_CAMERA_STUB := true
BOARD_USE_LEGACY_UI := true
-# PDK does not use ext4 image, but it is added here to prevent build break.
+# share the same one across all mini-emulators
+BOARD_EGL_CFG := device/generic/goldfish/opengl/system/egl/egl.cfg
TARGET_USERIMAGES_USE_EXT4 := true
-BOARD_SYSTEMIMAGE_PARTITION_SIZE := 576716800
-BOARD_USERDATAIMAGE_PARTITION_SIZE := 419430400
+BOARD_SYSTEMIMAGE_PARTITION_SIZE := 786432000
+BOARD_USERDATAIMAGE_PARTITION_SIZE := 576716800
BOARD_CACHEIMAGE_PARTITION_SIZE := 69206016
BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4
BOARD_FLASH_BLOCK_SIZE := 512
TARGET_USERIMAGES_SPARSE_EXT_DISABLED := true
+BOARD_SEPOLICY_DIRS += build/target/board/generic/sepolicy
+BOARD_SEPOLICY_UNION += \
+ bootanim.te \
+ device.te \
+ domain.te \
+ file.te \
+ file_contexts \
+ qemud.te \
+ rild.te \
+ shell.te \
+ surfaceflinger.te \
+ system_server.te