• 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
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
17BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := device/generic/common/bluetooth
18
19# Build OpenGLES emulation libraries
20BUILD_EMULATOR_OPENGL := true
21BUILD_EMULATOR_OPENGL_DRIVER := true
22USE_OPENGL_RENDERER := true
23
24BOARD_USE_LEGACY_UI := true
25
26# share the same one across all mini-emulators
27BOARD_EGL_CFG := device/generic/goldfish/opengl/system/egl/egl.cfg
28
29# 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
37
38BOARD_SEPOLICY_DIRS += build/target/board/generic/sepolicy
39BOARD_SEPOLICY_DIRS += build/target/board/generic_x86/sepolicy
40
41BOARD_SEPOLICY_UNION += \
42        bootanim.te \
43        device.te \
44        domain.te \
45        file.te \
46        file_contexts \
47        healthd.te \
48        installd.te \
49        qemud.te \
50        rild.te \
51        shell.te \
52        surfaceflinger.te \
53        system_server.te \
54        zygote.te
55