Home | History | Annotate | Download | only in generic_x86
      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
     10 TARGET_ARCH := x86
     11 TARGET_ARCH_VARIANT := x86
     12 TARGET_PRELINK_MODULE := false
     13 
     14 # The IA emulator (qemu) uses the Goldfish devices
     15 HAVE_HTC_AUDIO_DRIVER := true
     16 BOARD_USES_GENERIC_AUDIO := true
     17 
     18 # no hardware camera
     19 USE_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
     23 ifeq ($(HOST_OS),linux)
     24 WITH_DEXPREOPT ?= true
     25 WITH_DEXPREOPT_BOOT_IMG_ONLY ?= false
     26 endif
     27 
     28 TARGET_USES_HWC2 := true
     29 
     30 # Build OpenGLES emulation host and guest libraries
     31 BUILD_EMULATOR_OPENGL := true
     32 
     33 # Build and enable the OpenGL ES View renderer. When running on the emulator,
     34 # the GLES renderer disables itself if host GL acceleration isn't available.
     35 USE_OPENGL_RENDERER := true
     36 
     37 TARGET_USERIMAGES_USE_EXT4 := true
     38 BOARD_SYSTEMIMAGE_PARTITION_SIZE := 2147483648
     39 BOARD_USERDATAIMAGE_PARTITION_SIZE := 576716800
     40 BOARD_CACHEIMAGE_PARTITION_SIZE := 69206016
     41 BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4
     42 BOARD_FLASH_BLOCK_SIZE := 512
     43 TARGET_USERIMAGES_SPARSE_EXT_DISABLED := true
     44 
     45 BOARD_SEPOLICY_DIRS += \
     46         build/target/board/generic/sepolicy \
     47         build/target/board/generic_x86/sepolicy
     48