The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 1 | # config.mk |
Doug Zongker | e01100c | 2009-06-19 17:12:18 -0700 | [diff] [blame] | 2 | # |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 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 |
David 'Digit' Turner | 5f5056f | 2011-06-15 15:33:24 +0200 | [diff] [blame] | 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 | # |
| 21 | TARGET_ARCH_VARIANT := armv7-a |
| 22 | TARGET_CPU_ABI := armeabi-v7a |
| 23 | TARGET_CPU_ABI2 := armeabi |
| 24 | |
The Android Open Source Project | 88b6079 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 25 | HAVE_HTC_AUDIO_DRIVER := true |
| 26 | BOARD_USES_GENERIC_AUDIO := true |
Chih-Chung Chang | b9e030e | 2010-05-10 14:59:49 +0800 | [diff] [blame] | 27 | |
| 28 | # no hardware camera |
| 29 | USE_CAMERA_STUB := true |
Jean-Baptiste Queru | f7a6ead | 2010-08-25 10:01:35 -0700 | [diff] [blame] | 30 | |
Thorsten Glaser | 3d00a8c | 2010-06-03 19:58:02 +0200 | [diff] [blame] | 31 | # Set /system/bin/sh to mksh, not ash, to test the transition. |
| 32 | TARGET_SHELL := mksh |
David 'Digit' Turner | 456d16c | 2011-06-16 01:32:20 +0200 | [diff] [blame] | 33 | |
| 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 |
| 36 | ifeq ($(HOST_OS),linux) |
| 37 | WITH_DEXPREOPT := true |
| 38 | endif |
David 'Digit' Turner | 43dd89d | 2011-08-23 22:25:13 +0200 | [diff] [blame^] | 39 | |
| 40 | # Build OpenGLES emulation guest and host libraries |
| 41 | BUILD_EMULATOR_OPENGL := true |