3 # Product-specific compile-time definitions.
6 # The generic product target doesn't have any hardware-specific pieces.
7 TARGET_NO_BOOTLOADER := true
8 TARGET_NO_KERNEL := true
11 TARGET_ARCH_VARIANT := armv8-a
12 TARGET_CPU_VARIANT := generic
13 TARGET_CPU_ABI := arm64-v8a
15 # TARGET_2ND_ARCH := arm
16 # TARGET_2ND_ARCH_VARIANT := armv7-a-neon
17 # TARGET_2ND_CPU_VARIANT := cortex-a15
18 # TARGET_2ND_CPU_ABI := armeabi-v7a
19 # TARGET_2ND_CPU_ABI2 := armeabi
21 AUDIOSERVER_MULTILIB := 64
23 TARGET_USES_64_BIT_BINDER := true
25 SMALLER_FONT_FOOTPRINT := true
26 MINIMAL_FONT_FOOTPRINT := true
27 # Some framework code requires this to enable BT
28 BOARD_HAVE_BLUETOOTH := true
29 BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR := device/generic/common/bluetooth
31 BOARD_USES_GENERIC_AUDIO := true
33 USE_CAMERA_STUB := true
35 BUILD_EMULATOR_OPENGL := true
36 USE_OPENGL_RENDERER := true
38 BOARD_USE_LEGACY_UI := true
40 # Enable dex-preoptimization to speed up the first boot sequence
41 # of an SDK AVD. Note that this operation only works on Linux for now
42 ifeq ($(HOST_OS),linux)
43 WITH_DEXPREOPT ?= true
46 # PDK does not use ext4 image, but it is added here to prevent build break.
47 TARGET_USERIMAGES_USE_EXT4 := true
48 BOARD_SYSTEMIMAGE_PARTITION_SIZE := 2147483648 # 2 GB
49 BOARD_USERDATAIMAGE_PARTITION_SIZE := 576716800
50 BOARD_CACHEIMAGE_PARTITION_SIZE := 69206016
51 BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4
52 BOARD_FLASH_BLOCK_SIZE := 512
53 TARGET_USERIMAGES_SPARSE_EXT_DISABLED := true