minetest/build/android
est31 e29b61ecd4 Android: speed up rebuild, and prevent race condition fail
Speeding up rebuild:

Before, we've written the android_version.h file at every rebuild.
As it thought the file's content has changed, make has rebuilt files
in the source tree that depended on that header file during rebuild,
causing lots of files being rebuilt without there being a reason.

The reasoning of make can be observed by passing -d and V=1 params
to the ndk-build command. You then got logging entries like:

Prerequisite `jni/src/android_version.h' is newer than target `obj/local/armeabi-v7a-hard/objs-debug/minetest/jni/src/areastore.o'.

Preventing race condition build fail:

Before, there was a race condition, where, if the prep_srcdir target
was executed in parallel with the $(ROOT)/jni/src/android_version.h
one, it could happen that the jni/src directory was nonexistent, and
we were trying to write into a file inside. This resulted in a build
failue:

/bin/sh: 1: cannot create [...]/jni/src/android_version.h: Directory nonexistent

Additionally, we now don't remove the link to src/ needlessly anymore.
Keeping this wouldn't have affected the rebuild, but this way its
more proper.
2015-07-31 10:12:20 +02:00
..
jni Android: fix horrible libiconv build 2015-07-29 15:59:06 +02:00
res Add support for Android 2.3+ 2014-06-29 18:17:56 +02:00
src/net/minetest/minetest Fix libgmp for Android 2015-05-15 05:08:59 +02:00
AndroidManifest.xml.template Fix package name in AndroidManifest.xml 2015-03-14 18:41:36 +01:00
Makefile Android: speed up rebuild, and prevent race condition fail 2015-07-31 10:12:20 +02:00
build.xml Add support for Android 2.3+ 2014-06-29 18:17:56 +02:00
irrlicht-back_button.patch Add support for Android 2.3+ 2014-06-29 18:17:56 +02:00
irrlicht-texturehack.patch Add support for Android 2.3+ 2014-06-29 18:17:56 +02:00
irrlicht-touchcount.patch Add support for Android 2.3+ 2014-06-29 18:17:56 +02:00
libiconv_android.patch Add utf-8 conversion utilities and re-add intlGUIEditBox 2015-06-13 19:49:55 +02:00
libiconv_stdio.patch Android: fix horrible libiconv build 2015-07-29 15:59:06 +02:00
libvorbis-libogg-fpu.patch Add support for Android 2.3+ 2014-06-29 18:17:56 +02:00
openssl_arch.patch Switch to official openssl version and update to 1.0.1j 2015-01-04 16:57:19 +01:00
project.properties Add support for Android 2.3+ 2014-06-29 18:17:56 +02:00