1 # config.mk 2 # 3 # Product-specific compile-time definitions. 4 # 5 6 # The generic product target doesn't have any hardware-specific pieces. 7 TARGET_NO_BOOTLOADER := true 8 TARGET_NO_KERNEL := true 9 TARGET_CPU_ABI := x86_64 10 TARGET_ARCH := x86_64 11 TARGET_ARCH_VARIANT := x86_64 12 TARGET_PRELINK_MODULE := false 13 14 TARGET_2ND_CPU_ABI := x86 15 TARGET_2ND_ARCH := x86 16 TARGET_2ND_ARCH_VARIANT := x86_64 17 18 TARGET_USES_64_BIT_BINDER := true 19 20 # The IA emulator (qemu) uses the Goldfish devices 21 HAVE_HTC_AUDIO_DRIVER := true 22 BOARD_USES_GENERIC_AUDIO := true 23 24 # no hardware camera 25 USE_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 29 ifeq ($(HOST_OS),linux) 30 WITH_DEXPREOPT ?= true 31 WITH_DEXPREOPT_BOOT_IMG_AND_SYSTEM_SERVER_ONLY ?= false 32 endif 33 34 TARGET_USES_HWC2 := true 35 NUM_FRAMEBUFFER_SURFACE_BUFFERS := 3 36 37 # Build OpenGLES emulation host and guest libraries 38 BUILD_EMULATOR_OPENGL := true 39 BUILD_QEMU_IMAGES := true 40 41 # Build and enable the OpenGL ES View renderer. When running on the emulator, 42 # the GLES renderer disables itself if host GL acceleration isn't available. 43 USE_OPENGL_RENDERER := true 44 45 TARGET_USERIMAGES_USE_EXT4 := true 46 BOARD_SYSTEMIMAGE_PARTITION_SIZE := 2684354560 # 2.5 GB 47 BOARD_USERDATAIMAGE_PARTITION_SIZE := 576716800 48 TARGET_COPY_OUT_VENDOR := vendor 49 # ~100 MB vendor image. Please adjust system image / vendor image sizes 50 # when finalizing them. 51 BOARD_VENDORIMAGE_PARTITION_SIZE := 100000000 52 BOARD_VENDORIMAGE_FILE_SYSTEM_TYPE := ext4 53 BOARD_CACHEIMAGE_PARTITION_SIZE := 69206016 54 BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4 55 BOARD_FLASH_BLOCK_SIZE := 512 56 TARGET_USERIMAGES_SPARSE_EXT_DISABLED := true 57 BOARD_PROPERTY_OVERRIDES_SPLIT_ENABLED := true 58 DEVICE_MATRIX_FILE := device/generic/goldfish/compatibility_matrix.xml 59 60 BOARD_SEPOLICY_DIRS += \ 61 build/target/board/generic/sepolicy \ 62 build/target/board/generic_x86/sepolicy 63