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 10TARGET_ARCH := x86 11TARGET_ARCH_VARIANT := x86 12TARGET_PRELINK_MODULE := false 13 14# The IA emulator (qemu) uses the Goldfish devices 15HAVE_HTC_AUDIO_DRIVER := true 16BOARD_USES_GENERIC_AUDIO := true 17 18# no hardware camera 19USE_CAMERA_STUB := true 20 21# Enable dex-preoptimization to speed up the first boot sequence 22# of an SDK AVD. Note that this operation only works on Linux for now 23ifeq ($(HOST_OS),linux) 24WITH_DEXPREOPT ?= true 25WITH_DEXPREOPT_BOOT_IMG_AND_SYSTEM_SERVER_ONLY ?= false 26endif 27 28TARGET_USES_HWC2 := true 29NUM_FRAMEBUFFER_SURFACE_BUFFERS := 3 30 31# Build OpenGLES emulation host and guest libraries 32BUILD_EMULATOR_OPENGL := true 33 34# Build partitioned system.img and vendor.img (if applicable) 35# for qemu, otherwise, init cannot find PART_NAME 36BUILD_QEMU_IMAGES := true 37 38# Build and enable the OpenGL ES View renderer. When running on the emulator, 39# the GLES renderer disables itself if host GL acceleration isn't available. 40USE_OPENGL_RENDERER := true 41 42TARGET_USERIMAGES_USE_EXT4 := true 43BOARD_SYSTEMIMAGE_PARTITION_SIZE := 2684354560 44BOARD_USERDATAIMAGE_PARTITION_SIZE := 576716800 45TARGET_COPY_OUT_VENDOR := vendor 46BOARD_PROPERTY_OVERRIDES_SPLIT_ENABLED := true 47# ~100 MB vendor image. Please adjust system image / vendor image sizes 48# when finalizing them. 49BOARD_VENDORIMAGE_PARTITION_SIZE := 100000000 50BOARD_VENDORIMAGE_FILE_SYSTEM_TYPE := ext4 51BOARD_CACHEIMAGE_PARTITION_SIZE := 69206016 52BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4 53BOARD_FLASH_BLOCK_SIZE := 512 54TARGET_USERIMAGES_SPARSE_EXT_DISABLED := true 55DEVICE_MATRIX_FILE := device/generic/goldfish/compatibility_matrix.xml 56 57BOARD_SEPOLICY_DIRS += \ 58 build/target/board/generic/sepolicy \ 59 build/target/board/generic_x86/sepolicy 60