blob: 3d222f9ef82fcb612b12b815adb11624b5c1e0b7 [file] [log] [blame]
Pavel Chupinfd82a492012-11-26 09:50:07 +04001# 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
Colin Cross930b5fb2014-01-28 14:35:16 -080014TARGET_2ND_CPU_ABI := x86
15TARGET_2ND_ARCH := x86
16TARGET_2ND_ARCH_VARIANT := x86
17
18TARGET_USES_64_BIT_BINDER := true
19
Pavel Chupinfd82a492012-11-26 09:50:07 +040020# 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# customize the malloced address to be 16-byte aligned
28BOARD_MALLOC_ALIGNMENT := 16
29
30# Enable dex-preoptimization to speed up the first boot sequence
31# of an SDK AVD. Note that this operation only works on Linux for now
32ifeq ($(HOST_OS),linux)
Ying Wangc6848b32014-03-20 12:57:19 -070033WITH_DEXPREOPT ?= true
Pavel Chupinfd82a492012-11-26 09:50:07 +040034endif
35
Greg Hackmanndc011362014-03-31 16:54:52 -070036# Build OpenGLES emulation host and guest libraries
37BUILD_EMULATOR_OPENGL := true
Pavel Chupinfd82a492012-11-26 09:50:07 +040038
39# Build and enable the OpenGL ES View renderer. When running on the emulator,
40# the GLES renderer disables itself if host GL acceleration isn't available.
41USE_OPENGL_RENDERER := true
42
43TARGET_USERIMAGES_USE_EXT4 := true
Konstantinos Menychtasdae79612015-08-18 10:27:04 -070044BOARD_SYSTEMIMAGE_PARTITION_SIZE := 1342177280
Tsu Chiang Chuang27a026c2014-05-06 17:27:20 -070045BOARD_USERDATAIMAGE_PARTITION_SIZE := 576716800
Pavel Chupinfd82a492012-11-26 09:50:07 +040046BOARD_CACHEIMAGE_PARTITION_SIZE := 69206016
47BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4
48BOARD_FLASH_BLOCK_SIZE := 512
49TARGET_USERIMAGES_SPARSE_EXT_DISABLED := true