BoardConfig.mk revision ef1335eda485cc4d6a7172e08dc89212fb27ed6b
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 9 10# Note: we build the platform images for ARMv7-A _without_ NEON. 11# 12# Technically, the emulator supports ARMv7-A _and_ NEON instructions, but 13# emulated NEON code paths typically ends up 2x slower than the normal C code 14# it is supposed to replace (unlike on real devices where it is 2x to 3x 15# faster). 16# 17# What this means is that the platform image will not use NEON code paths 18# that are slower to emulate. On the other hand, it is possible to emulate 19# application code generated with the NDK that uses NEON in the emulator. 20# 21TARGET_ARCH_VARIANT := armv7-a 22TARGET_CPU_ABI := armeabi-v7a 23TARGET_CPU_ABI2 := armeabi 24ARCH_ARM_HAVE_TLS_REGISTER := true 25 26HAVE_HTC_AUDIO_DRIVER := true 27BOARD_USES_GENERIC_AUDIO := true 28 29# no hardware camera 30USE_CAMERA_STUB := true 31 32# Enable dex-preoptimization to speed up the first boot sequence 33# of an SDK AVD. Note that this operation only works on Linux for now 34ifeq ($(HOST_OS),linux) 35WITH_DEXPREOPT := true 36endif 37 38# Build OpenGLES emulation guest and host libraries 39BUILD_EMULATOR_OPENGL := 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. 43USE_OPENGL_RENDERER := true 44