1 # 2 # Product-specific compile-time definitions. 3 # 4 5 # The generic product target doesn't have any hardware-specific pieces. 6 TARGET_NO_BOOTLOADER := true 7 TARGET_NO_KERNEL := true 8 9 TARGET_ARCH := x86 10 TARGET_CPU_ABI := x86 11 TARGET_CPU_SMP := true 12 13 SMALLER_FONT_FOOTPRINT := true 14 MINIMAL_FONT_FOOTPRINT := true 15 # Some framework code requires this to enable BT 16 BOARD_HAVE_BLUETOOTH := true 17 BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := device/generic/common/bluetooth 18 19 # Build OpenGLES emulation libraries 20 BUILD_EMULATOR_OPENGL := true 21 BUILD_EMULATOR_OPENGL_DRIVER := true 22 USE_OPENGL_RENDERER := true 23 24 BOARD_USE_LEGACY_UI := true 25 26 # share the same one across all mini-emulators 27 BOARD_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. 30 TARGET_USERIMAGES_USE_EXT4 := true 31 BOARD_SYSTEMIMAGE_PARTITION_SIZE := 576716800 32 BOARD_USERDATAIMAGE_PARTITION_SIZE := 419430400 33 BOARD_CACHEIMAGE_PARTITION_SIZE := 69206016 34 BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4 35 BOARD_FLASH_BLOCK_SIZE := 512 36 TARGET_USERIMAGES_SPARSE_EXT_DISABLED := true 37 38 BOARD_SEPOLICY_DIRS += build/target/board/generic/sepolicy 39 BOARD_SEPOLICY_DIRS += build/target/board/generic_x86/sepolicy 40 41 BOARD_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