blob: 7cb61be1e0417449b1fca1695633dc10e60d8fff [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
Keun young Park11c90e92012-08-08 12:51:00 -070011
12SMALLER_FONT_FOOTPRINT := true
13MINIMAL_FONT_FOOTPRINT := true
14# Some framework code requires this to enable BT
15BOARD_HAVE_BLUETOOTH := true
Wink Savilleeb853642012-08-20 09:47:03 -070016BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := device/generic/common/bluetooth
Keun young Park11c90e92012-08-08 12:51:00 -070017
leozwangc862a1a2014-06-26 10:33:50 -070018# Build OpenGLES emulation libraries
19BUILD_EMULATOR_OPENGL := true
20BUILD_EMULATOR_OPENGL_DRIVER := true
Keun young Parke7e80f72012-08-14 16:50:50 -070021USE_OPENGL_RENDERER := true
Keun young Parkf4d55832012-08-22 13:53:54 -070022
23BOARD_USE_LEGACY_UI := true
Nicholas Sauer9cba0f12014-03-27 15:27:08 -070024
leozwangc862a1a2014-06-26 10:33:50 -070025# share the same one across all mini-emulators
Yahan Zhou6d452732016-06-27 15:45:33 -070026BOARD_EGL_CFG := device/generic/goldfish-opengl/system/egl/egl.cfg
leozwangc862a1a2014-06-26 10:33:50 -070027
Nicholas Sauer9cba0f12014-03-27 15:27:08 -070028# PDK does not use ext4 image, but it is added here to prevent build break.
29TARGET_USERIMAGES_USE_EXT4 := true
Vikas Marwaha560b60f2018-03-14 17:01:29 -070030BOARD_SYSTEMIMAGE_PARTITION_SIZE := 1073741824 # 1 GB
Nicholas Sauer9cba0f12014-03-27 15:27:08 -070031BOARD_USERDATAIMAGE_PARTITION_SIZE := 419430400
32BOARD_CACHEIMAGE_PARTITION_SIZE := 69206016
33BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4
34BOARD_FLASH_BLOCK_SIZE := 512
35TARGET_USERIMAGES_SPARSE_EXT_DISABLED := true
leozwangc862a1a2014-06-26 10:33:50 -070036
37BOARD_SEPOLICY_DIRS += build/target/board/generic/sepolicy
Nick Kralevich770d2c12014-07-09 10:22:23 -070038BOARD_SEPOLICY_DIRS += build/target/board/generic_x86/sepolicy