blob: 7170478ba57b2b8b693ea4606760aa4cbd7bdbc4 [file] [log] [blame]
Keun young Park11c90e92012-08-08 12:51:00 -07001#
2# Product-specific compile-time definitions.
3#
4
5# The generic product target doesn't have any hardware-specific pieces.
6TARGET_NO_BOOTLOADER := true
7TARGET_NO_KERNEL := true
8
9TARGET_ARCH := x86
10TARGET_CPU_ABI := x86
11TARGET_CPU_SMP := true
12
13SMALLER_FONT_FOOTPRINT := true
14MINIMAL_FONT_FOOTPRINT := true
15# Some framework code requires this to enable BT
16BOARD_HAVE_BLUETOOTH := true
Wink Savilleeb853642012-08-20 09:47:03 -070017BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := device/generic/common/bluetooth
Keun young Park11c90e92012-08-08 12:51:00 -070018
leozwangc862a1a2014-06-26 10:33:50 -070019# Build OpenGLES emulation libraries
20BUILD_EMULATOR_OPENGL := true
21BUILD_EMULATOR_OPENGL_DRIVER := true
Keun young Parke7e80f72012-08-14 16:50:50 -070022USE_OPENGL_RENDERER := true
Keun young Parkf4d55832012-08-22 13:53:54 -070023
24BOARD_USE_LEGACY_UI := true
Nicholas Sauer9cba0f12014-03-27 15:27:08 -070025
leozwangc862a1a2014-06-26 10:33:50 -070026# share the same one across all mini-emulators
27BOARD_EGL_CFG := device/generic/goldfish/opengl/system/egl/egl.cfg
28
Nicholas Sauer9cba0f12014-03-27 15:27:08 -070029# PDK does not use ext4 image, but it is added here to prevent build break.
30TARGET_USERIMAGES_USE_EXT4 := true
31BOARD_SYSTEMIMAGE_PARTITION_SIZE := 576716800
32BOARD_USERDATAIMAGE_PARTITION_SIZE := 419430400
33BOARD_CACHEIMAGE_PARTITION_SIZE := 69206016
34BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4
35BOARD_FLASH_BLOCK_SIZE := 512
36TARGET_USERIMAGES_SPARSE_EXT_DISABLED := true
leozwangc862a1a2014-06-26 10:33:50 -070037
38BOARD_SEPOLICY_DIRS += build/target/board/generic/sepolicy
Nick Kralevich770d2c12014-07-09 10:22:23 -070039BOARD_SEPOLICY_DIRS += build/target/board/generic_x86/sepolicy
40
leozwangc862a1a2014-06-26 10:33:50 -070041BOARD_SEPOLICY_UNION += \
42 bootanim.te \
43 device.te \
44 domain.te \
45 file.te \
46 file_contexts \
Nick Kralevich770d2c12014-07-09 10:22:23 -070047 healthd.te \
48 installd.te \
leozwangc862a1a2014-06-26 10:33:50 -070049 qemud.te \
50 rild.te \
51 shell.te \
52 surfaceflinger.te \
Nick Kralevich770d2c12014-07-09 10:22:23 -070053 system_server.te \
54 zygote.te