History log of /external/qemu/android/build/common.sh
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
c7389bd69e570a2c8432b37399aff1976b021f0f 13-Mar-2012 Andrew Hsieh <andrewhsieh@google.com> 64-bit emulator

Patch to allow emulator searches for emulator64-${ARCH} first on
64-bit OS. If none is found, the original behavior which searchs
for 32-bit emulator-${ARCH} is performed as usual.

64-bit emulator (which still emulates Android built in 32-bit) offers
up to 20% speedup compared to its 32-bit counterpart.

Details:

android/main-emulator.c
1) search emulator64 based on the OS
2) dlopen lib64OpenglRender in 64-bit

Makefile.*
1) Rules to build 64-bit executable emulator64-{x86,arm} and libraries
emulator64-{libui,libqemu,target-i386,target-arm,libelff,common}
2) remove -Wa,-32
3) Changes prebuit toolchain path

android-configure.h
android/build/common.h
1) no longer force 32-bit build (because now prebuilts/tools/gcc-sdk/gcc
can now handle 64-bit
2) set ANDROID_PREBUILTS to correctly locate ccache

android/config/*/config-host.h
1) Detect HOST_X86_64 and HOST_X86_64/HOST_I386

Misc 64-bit porting clean-up
1) use %zx to print variable of type size_t in hex
2) use %zu to print variable of type size_t in dec
3) Initialize query_parm to NULL
4) use PRIu64 to replace PDUd64
5) use PRId64/PRIu64/PRIX64 to print 64-bit
6) drop PRUx64 because PRIx64 does the same
7) cast pointer arith to intptr_t before casting to int
8) fixed 1ULL<<63

Change-Id: Ife62a20063a6ec38d4a9b23977e840af1fce149a
/external/qemu/android/build/common.sh
04fcb22aa936b2ca326d6e1e35f97b7afb23a3de 23-Jun-2011 David 'Digit' Turner <digit@android.com> android-configure.sh: Better platform build detection.

Change-Id: I3de10b579507165160e93c644023ce06bc557ba7
/external/qemu/android/build/common.sh
ba313e080f0be3061b458075e8e66fc5ff700e3c 09-Feb-2011 David 'Digit' Turner <digit@android.com> android-configure.sh: Fix --cc=<compiler> option.

+ Fix LOCAL_GENERATED_SOURCES handling
+ Fix missing library dependencies for executables
+ Move generated library files to objs/libs/ (instead of objs/)

Change-Id: If3ebaa7ae856efa9bd3ff9e2c199389989db7f71
/external/qemu/android/build/common.sh
334ab475d2f27dbf6fbf836c2d4fb86dbb02a15c 03-Feb-2011 Jun Nakajima <jnakajim@gmail.com> x86: Add x86 support. Rebase the change (20906/1) due to a minor conflict.

Change-Id: Ic73cca0fc6c6e5cf74f63daa6080d00aa7c392bb
Signed-off-by: Xiaohui Xin <xiaohui.xin@intel.com>
Signed-off-by: Yunhong Jiang <yunhong.jiang@intel.com>
Signed-off-by: Jun Nakajima <jun.nakajima@intel.com>
/external/qemu/android/build/common.sh
80dd1261df980abf963b7f4a73f43c1102848706 09-Sep-2010 David Turner <digit@android.com> Add <fnmatch.h> check to android-configure.h
/external/qemu/android/build/common.sh
377eb2c7c762db6e28fa273ac7e4747a7c9e037e 21-May-2010 David 'Digit' Turner <digit@android.com> Enable --mingw option in android-configure.sh

This should ease testing of the Windows build during development.

Change-Id: I45cc9e396a0e82d764cf7a27fd40ad7c5367c51a
/external/qemu/android/build/common.sh
34d165185730eac6ddc4e7a23d192d22aa3d4dfb 19-May-2010 David 'Digit' Turner <digit@android.com> Build SDL from sources directly.

This removes the requirement to build the SDL library before the rest
of the emulator. The prebuilt SDL library and installation is now optional
and is only kept for the full Android build on Linux (mainly to avoid having
to install many dev libraries on build servers).

This patch affects both the Android and standalone build systems.

The script android-configure.sh will not use a prebuilt SDL installation
unless you explicitely use --sdl-config=<script>.

Tested for linux-x86 / darwin-x86 / cygwin / linux-mingw builds.

Change-Id: If973b2ad199f06aeeff43aec387d1ac629487529
/external/qemu/android/build/common.sh
a3abe794b734382295b89d6c2d1d176ce4bb9b4b 15-Sep-2009 Jean-Baptiste Queru <jbq@google.com> merge from open-source master
088232286a7814a92b5b0d4a34f243a2e857facc 31-Aug-2009 Alexey Tarasov <tarasov@dodologics.com> General changes to support freebsd system in building scripts
/external/qemu/android/build/common.sh
5ad9febb1c7e08fe24413f9bd04f30d92b4cfa3a 21-Aug-2009 David 'Digit' Turner <digit@google.com> Fix EsounD audio backend and bump version number.

The original esdaudio.c file from upstream contains a nasty race condition
that can be triggered when the emulator exists while the audio record thread
is in a blocking read() call. In this case, exit() will end up calling
esd_fini_in which will try to pthread_join() the blocked thread, resulting
in a dead-lock.

This change just gets rid of the helper threads and just performs audio output
and input in the main event loop, avoiding blocking i/o completely. I haven't
experienced any difference compared to the original one, be it in audio lag
or CPU usage when playing a simple MP3 file in the emulated system.

The change also updates the update-audio.sh script since we don't store
our sources in p4 anymore. A small fix in common.sh deals removes an obsolete
special case that is not needed anymore when determining the location of the
host prebuilt binaries.

The version number is also bumped to 1.12 and CHANGES.TXT updated
accordingly.
/external/qemu/android/build/common.sh
46be48730333120a7b939116cef075e61c12c703 04-Jun-2009 David 'Digit' Turner <digit@google.com> Add our modified SDL sources under distrib/sdl-1.2.12
Fix distrib/make-distrib.sh script to work with git
Fix distrib/build-emulator.sh to accomodate for new SDL configure script
Handle Tiger SDK usage in SDL configure script
/external/qemu/android/build/common.sh