1# config.mk 2# 3# Product-specific compile-time definitions. 4# 5 6# The generic product target doesn't have any hardware-specific pieces. 7TARGET_NO_BOOTLOADER := true 8TARGET_NO_KERNEL := true 9TARGET_CPU_ABI := x86_64 10TARGET_ARCH := x86_64 11TARGET_ARCH_VARIANT := x86_64 12TARGET_PRELINK_MODULE := false 13 14TARGET_2ND_CPU_ABI := x86 15TARGET_2ND_ARCH := x86 16TARGET_2ND_ARCH_VARIANT := x86 17 18TARGET_USES_64_BIT_BINDER := true 19 20# The IA emulator (qemu) uses the Goldfish devices 21HAVE_HTC_AUDIO_DRIVER := true 22BOARD_USES_GENERIC_AUDIO := true 23 24# no hardware camera 25USE_CAMERA_STUB := true 26 27# Enable dex-preoptimization to speed up the first boot sequence 28# of an SDK AVD. Note that this operation only works on Linux for now 29ifeq ($(HOST_OS),linux) 30WITH_DEXPREOPT ?= true 31endif 32 33# Build OpenGLES emulation host and guest libraries 34BUILD_EMULATOR_OPENGL := true 35 36# Build and enable the OpenGL ES View renderer. When running on the emulator, 37# the GLES renderer disables itself if host GL acceleration isn't available. 38USE_OPENGL_RENDERER := true 39 40TARGET_USERIMAGES_USE_EXT4 := true 41BOARD_SYSTEMIMAGE_PARTITION_SIZE := 1879048192 # 1.75 GB 42BOARD_USERDATAIMAGE_PARTITION_SIZE := 576716800 43BOARD_CACHEIMAGE_PARTITION_SIZE := 69206016 44BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4 45BOARD_FLASH_BLOCK_SIZE := 512 46TARGET_USERIMAGES_SPARSE_EXT_DISABLED := true 47 48BOARD_SEPOLICY_DIRS += \ 49 build/target/board/generic/sepolicy \ 50 build/target/board/generic_x86/sepolicy 51