[Scummvm-cvs-logs] scummvm master -> 6ea564d9b8f716b6861a6021b972fc224c89fb72

digitall dgturner at iee.org
Thu Jun 19 09:36:36 CEST 2014


This automated email contains information about 2 new commits which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
0e45979634 ANDROID: Allow build with non-ancient SDK
6ea564d9b8 Merge pull request #468 from zeldin/new_android_sdk


Commit: 0e459796346ca98684a115302f448a6317799372
    https://github.com/scummvm/scummvm/commit/0e459796346ca98684a115302f448a6317799372
Author: Marcus Comstedt (marcus at mc.pp.se)
Date: 2014-06-18T21:40:13+02:00

Commit Message:
ANDROID: Allow build with non-ancient SDK

Changed paths:
    backends/platform/android/android.mk
    configure



diff --git a/backends/platform/android/android.mk b/backends/platform/android/android.mk
index 7c4fe01..1a40299 100644
--- a/backends/platform/android/android.mk
+++ b/backends/platform/android/android.mk
@@ -48,10 +48,10 @@ PLUGIN_RESOURCES = \
 #LDFLAGS += -Wl,--gc-sections
 #CXXFLAGS += -ffunction-sections -fdata-sections -fvisibility=hidden -fvisibility-inlines-hidden
 
-AAPT = $(ANDROID_SDK)/platform-tools/aapt
+AAPT = $(ANDROID_SDK)/$(ANDROID_BTOOLS)/aapt
 ADB = $(ANDROID_SDK)/platform-tools/adb
-DX = $(ANDROID_SDK)/platform-tools/dx
-APKBUILDER = $(ANDROID_SDK)/tools/apkbuilder
+DX = $(ANDROID_SDK)/$(ANDROID_BTOOLS)/dx
+APKBUILDER = java -Xmx128M -classpath $(ANDROID_SDK)/tools/lib/sdklib.jar com.android.sdklib.build.ApkBuilderMain
 JAVAC ?= javac
 JAVACFLAGS = -source 1.5 -target 1.5
 
diff --git a/configure b/configure
index 46edeaf..3f49565 100755
--- a/configure
+++ b/configure
@@ -2157,6 +2157,12 @@ case $_host_os in
 		LDFLAGS="$LDFLAGS -L$ANDROID_NDK/sources/cxx-stl/gnu-libstdc++/`$CXX -dumpversion`/libs/$ABI/"
 		LIBS="$LIBS -lsupc++"
 		add_line_to_config_mk "ANDROID_SDK = $ANDROID_SDK"
+		if test -d "$ANDROID_SDK"/build-tools; then
+			_build_tools_version=`cd "$ANDROID_SDK"/build-tools && ls -1 | sort -rn | head -1`
+			add_line_to_config_mk "ANDROID_BTOOLS = build-tools/$_build_tools_version"
+		else
+			add_line_to_config_mk "ANDROID_BTOOLS = platform-tools"
+		fi
 		_seq_midi=no
 		;;
 	beos*)


Commit: 6ea564d9b8f716b6861a6021b972fc224c89fb72
    https://github.com/scummvm/scummvm/commit/6ea564d9b8f716b6861a6021b972fc224c89fb72
Author: David Turner (dgturner at iee.org)
Date: 2014-06-19T08:36:04+01:00

Commit Message:
Merge pull request #468 from zeldin/new_android_sdk

ANDROID: Allow build with newer SDK

Changed paths:
    backends/platform/android/android.mk
    configure









More information about the Scummvm-git-logs mailing list