aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Hall <jessehall@google.com>2012-07-23 14:51:14 -0700
committerandroid code review <noreply-gerritcodereview@google.com>2012-07-23 14:51:14 -0700
commit4b0ca3716e04e4b445fd987e877f07bba6ce06cd (patch)
tree4b74a18db9a5b6ce622cf40610c103c2c7388a13
parenta42f5af0f706d7c7fc8e6527c905c79b5298058e (diff)
parentc60b11434975c424e937fad75275840ef5ec3e81 (diff)
downloadexternal_qemu-4b0ca3716e04e4b445fd987e877f07bba6ce06cd.zip
external_qemu-4b0ca3716e04e4b445fd987e877f07bba6ce06cd.tar.gz
external_qemu-4b0ca3716e04e4b445fd987e877f07bba6ce06cd.tar.bz2
Merge "Switch to sdl 1.2.15 and build from source on osx"
-rw-r--r--INSTALL2
-rw-r--r--Makefile.common10
-rw-r--r--distrib/README10
3 files changed, 3 insertions, 19 deletions
diff --git a/INSTALL b/INSTALL
index 989b714..c9d178a 100644
--- a/INSTALL
+++ b/INSTALL
@@ -77,7 +77,7 @@ these simple steps:
1/ First, build Android's patched libSDL as a static library,
this can be done as:
- cd $TOP/external/qemu/distrib/sdl-1.2.12
+ cd $TOP/external/qemu/distrib/sdl-1.2.15
./android-configure --prefix=<PATH>
make
make install
diff --git a/Makefile.common b/Makefile.common
index 4382bd2..51fcb85 100644
--- a/Makefile.common
+++ b/Makefile.common
@@ -198,14 +198,6 @@ ifeq ($(QEMU_HOST_TAG),linux-x86)
BUILD_SDL_FROM_SOURCES := false
endif
-# On darwin-x86, a bug in the Android build system prevents the compilation
-# of Objective-C sources. Fixed recently in AOSP, but we still use the
-# prebuilts for the benefit of older platform branches.
-#
-ifeq ($(QEMU_HOST_TAG),darwin-x86)
- BUILD_SDL_FROM_SOURCES := false
-endif
-
# If we're building with android-configure.sh && make, always build from
# sources to catch regressions as soon as they happen.
#
@@ -238,7 +230,7 @@ ifneq ($(BUILD_SDL_FROM_SOURCES),true)
else # BUILD_SDL_FROM_SOURCES
- SDL_DIR := distrib/sdl-1.2.12
+ SDL_DIR := distrib/sdl-1.2.15
include $(LOCAL_PATH)/$(SDL_DIR)/sources.make
common_LOCAL_SRC_FILES += $(SDL_SOURCES)
diff --git a/distrib/README b/distrib/README
index 8a2cf52..22d276f 100644
--- a/distrib/README
+++ b/distrib/README
@@ -39,12 +39,4 @@ it is based on QEMU 0.8.2 with many changes used to support the following featur
"dynamic ticks" that make this mode un-necessary for Android.
-it also uses a patched version of LibSDL-1.2.12 which implements the following:
-
- - prevent a fatal bug in Quartz Extreme's QuickDraw emulation to crash the program
- whenever SDL_WINDOW_POS is set in the environment before starting the program.
- the patch implements a simple workaround to this system-level problem.
-
- - new APIs: SDL_WM_GetPos() and SDL_WM_SetPos() are used to retrieve and set the emulator
- window position. this allows us to implement a simple-yet-useful feature: the emulator remembers
- its position among restarts.
+it also uses a patched version of LibSDL-1.2.15.