blob: c8a0569aa778e131d142a145476962d634713baa [file] [log] [blame]
The Android Open Source Project88b60792009-03-03 19:28:42 -08001# config.mk
Doug Zongkere01100c2009-06-19 17:12:18 -07002#
The Android Open Source Project88b60792009-03-03 19:28:42 -08003# 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
David 'Digit' Turner5f5056f2011-06-15 15:33:24 +02009
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
24
The Android Open Source Project88b60792009-03-03 19:28:42 -080025HAVE_HTC_AUDIO_DRIVER := true
26BOARD_USES_GENERIC_AUDIO := true
Chih-Chung Changb9e030e2010-05-10 14:59:49 +080027
28# no hardware camera
29USE_CAMERA_STUB := true
Jean-Baptiste Queruf7a6ead2010-08-25 10:01:35 -070030
Thorsten Glaser3d00a8c2010-06-03 19:58:02 +020031# Set /system/bin/sh to mksh, not ash, to test the transition.
32TARGET_SHELL := mksh
David 'Digit' Turner456d16c2011-06-16 01:32:20 +020033
34# Enable dex-preoptimization to speed up the first boot sequence
35# of an SDK AVD. Note that this operation only works on Linux for now
36ifeq ($(HOST_OS),linux)
37WITH_DEXPREOPT := true
38endif
David 'Digit' Turner43dd89d2011-08-23 22:25:13 +020039
40# Build OpenGLES emulation guest and host libraries
41BUILD_EMULATOR_OPENGL := true