summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorleozwang <leozwang@google.com>2014-06-25 23:24:33 -0700
committerleozwang <leozwang@google.com>2014-06-25 23:27:57 -0700
commit8e978f6fe7d62bd0d2493c5855bd619d424fe686 (patch)
tree46400673ea40bc453659bf3743c0bb9566b64f5f
parent7102280f161b2cee82e2a5c01fd8a3ac6c82643d (diff)
downloaddevice_generic_armv7-a-neon-8e978f6fe7d62bd0d2493c5855bd619d424fe686.tar.gz
device_generic_armv7-a-neon-8e978f6fe7d62bd0d2493c5855bd619d424fe686.tar.bz2
device_generic_armv7-a-neon-8e978f6fe7d62bd0d2493c5855bd619d424fe686.zip
Update Board config.
Bug: 15831391 Change-Id: I56fc621583cde5745801480b5d6f36c7ee4cf3c5
-rw-r--r--BoardConfig.mk29
1 files changed, 23 insertions, 6 deletions
diff --git a/BoardConfig.mk b/BoardConfig.mk
index 6724c91..23af18f 100644
--- a/BoardConfig.mk
+++ b/BoardConfig.mk
@@ -6,13 +6,12 @@
# The generic product target doesn't have any hardware-specific pieces.
TARGET_NO_BOOTLOADER := true
TARGET_NO_KERNEL := true
-
TARGET_ARCH := arm
-TARGET_ARCH_VARIANT := armv7-a-neon
-TARGET_CPU_VARIANT := cortex-a9
+
+TARGET_ARCH_VARIANT := armv7-a
+TARGET_CPU_VARIANT := generic
TARGET_CPU_ABI := armeabi-v7a
TARGET_CPU_ABI2 := armeabi
-TARGET_CPU_SMP := true
SMALLER_FONT_FOOTPRINT := true
MINIMAL_FONT_FOOTPRINT := true
@@ -20,15 +19,33 @@ MINIMAL_FONT_FOOTPRINT := true
BOARD_HAVE_BLUETOOTH := true
BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := device/generic/common/bluetooth
+BOARD_USES_GENERIC_AUDIO := true
+
+USE_CAMERA_STUB := true
+
+BUILD_EMULATOR_OPENGL := true
USE_OPENGL_RENDERER := true
BOARD_USE_LEGACY_UI := true
+VSYNC_EVENT_PHASE_OFFSET_NS := 0
-# PDK does not use ext4 image, but it is added here to prevent build break.
TARGET_USERIMAGES_USE_EXT4 := true
BOARD_SYSTEMIMAGE_PARTITION_SIZE := 576716800
-BOARD_USERDATAIMAGE_PARTITION_SIZE := 419430400
+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