• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#
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
11
12SMALLER_FONT_FOOTPRINT := true
13MINIMAL_FONT_FOOTPRINT := true
14# Some framework code requires this to enable BT
15BOARD_HAVE_BLUETOOTH := true
16BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := device/generic/common/bluetooth
17
18# Build OpenGLES emulation libraries
19BUILD_EMULATOR_OPENGL := true
20BUILD_EMULATOR_OPENGL_DRIVER := true
21USE_OPENGL_RENDERER := true
22
23BOARD_USE_LEGACY_UI := true
24
25# share the same one across all mini-emulators
26BOARD_EGL_CFG := device/generic/goldfish-opengl/system/egl/egl.cfg
27
28# PDK does not use ext4 image, but it is added here to prevent build break.
29TARGET_USERIMAGES_USE_EXT4 := true
30BOARD_SYSTEMIMAGE_PARTITION_SIZE := 1073741824 # 1 GB
31BOARD_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
36
37BOARD_SEPOLICY_DIRS += build/target/board/generic/sepolicy
38BOARD_SEPOLICY_DIRS += build/target/board/generic_x86/sepolicy
39