Pavel Chupin | fd82a49 | 2012-11-26 09:50:07 +0400 | [diff] [blame] | 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 | |
Colin Cross | 930b5fb | 2014-01-28 14:35:16 -0800 | [diff] [blame] | 14 | TARGET_2ND_CPU_ABI := x86 |
| 15 | TARGET_2ND_ARCH := x86 |
| 16 | TARGET_2ND_ARCH_VARIANT := x86 |
| 17 | |
| 18 | TARGET_USES_64_BIT_BINDER := true |
| 19 | |
Pavel Chupin | fd82a49 | 2012-11-26 09:50:07 +0400 | [diff] [blame] | 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 | # customize the malloced address to be 16-byte aligned |
| 28 | BOARD_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 |
| 32 | ifeq ($(HOST_OS),linux) |
Ying Wang | c6848b3 | 2014-03-20 12:57:19 -0700 | [diff] [blame] | 33 | WITH_DEXPREOPT ?= true |
Pavel Chupin | fd82a49 | 2012-11-26 09:50:07 +0400 | [diff] [blame] | 34 | endif |
| 35 | |
Greg Hackmann | dc01136 | 2014-03-31 16:54:52 -0700 | [diff] [blame] | 36 | # Build OpenGLES emulation host and guest libraries |
| 37 | BUILD_EMULATOR_OPENGL := true |
Pavel Chupin | fd82a49 | 2012-11-26 09:50:07 +0400 | [diff] [blame] | 38 | |
| 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. |
| 41 | USE_OPENGL_RENDERER := true |
| 42 | |
| 43 | TARGET_USERIMAGES_USE_EXT4 := true |
bohu | a2eccba | 2015-05-26 10:40:36 -0700 | [diff] [blame] | 44 | BOARD_SYSTEMIMAGE_PARTITION_SIZE := 1342177280 # 1.25 GB |
Tsu Chiang Chuang | 27a026c | 2014-05-06 17:27:20 -0700 | [diff] [blame] | 45 | BOARD_USERDATAIMAGE_PARTITION_SIZE := 576716800 |
Pavel Chupin | fd82a49 | 2012-11-26 09:50:07 +0400 | [diff] [blame] | 46 | BOARD_CACHEIMAGE_PARTITION_SIZE := 69206016 |
| 47 | BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4 |
| 48 | BOARD_FLASH_BLOCK_SIZE := 512 |
| 49 | TARGET_USERIMAGES_SPARSE_EXT_DISABLED := true |
Stephen Smalley | 901d792 | 2015-04-29 09:55:08 -0400 | [diff] [blame] | 50 | |
| 51 | BOARD_SEPOLICY_DIRS += \ |
| 52 | build/target/board/generic/sepolicy \ |
| 53 | build/target/board/generic_x86/sepolicy |
Chih-Hung Hsieh | b9774f3 | 2015-10-22 16:29:59 -0700 | [diff] [blame] | 54 | |
| 55 | USE_CLANG_PLATFORM_BUILD := true |