fix some android issues

This commit is contained in:
radius 2014-12-23 16:53:38 -05:00
parent 3f339e0f6c
commit c064c54ad8
4 changed files with 116 additions and 120 deletions

26
libretro-buildbot-recipe.sh Normal file → Executable file
View File

@ -28,7 +28,6 @@ while read line; do
else
export ${KEY}=${VALUE}
echo $KEY: $VALUE
fi
done < $1.conf
echo
@ -214,7 +213,6 @@ build_libretro_generic_makefile() {
echo error while compiling $1
fi
}
build_libretro_generic_jni() {
@ -227,8 +225,9 @@ build_libretro_generic_jni() {
PLATFORM=$5
ARGS=$6
cd $DIR
cd $SUBDIR
echo DIR=$2 SUBDIR=$3
cd ${DIR}/${SUBDIR}
for a in "${ABIS[@]}"; do
if [ -z "${NOCLEAN}" ];
@ -384,7 +383,6 @@ build_libretro_bsnes() {
echo error while compiling $1
fi
}
#fetch a project and mark it for building if there have been any changes
@ -774,6 +772,8 @@ then
if [ "${TYPE}" == "PROJECT" ];
then
BUILD="YES"
RADIR=$DIR
fi
cd $WORK
fi
@ -787,6 +787,7 @@ then
echo "Compiling Shaders"
echo ============================================
echo RADIR $RADIR
cd $RADIR
$MAKE -f Makefile.griffin shaders-convert-glsl PYTHON3=$PYTHON
@ -804,22 +805,17 @@ then
echo "Building"
echo ============================================
cd android/phoenix
rm bin/*.apk
ndk-build.cmd clean
ndk-build.cmd -j8
android.bat update project --path . --target android-21
android.bat update project --path libs/googleplay --target android-21
android.bat update project --path libs/appcompat --target android-21
$NDK clean
$NDK -j8
android update project --path . --target android-21
android update project --path libs/googleplay --target android-21
android update project --path libs/appcompat --target android-21
ant debug
fi
fi
PATH=$ORIGPATH

View File

@ -4,6 +4,7 @@
catsfc libretro-catsfc https://github.com/libretro/CATSFC-libretro.git PROJECT YES GENERIC_JNI Makefile jni
desmume libretro-desmume https://github.com/libretro/desmume.git PROJECT YES GENERIC_JNI Makefile.libretro desmume/src/libretro/jni
dinothawr libretro-dinothawr https://github.com/libretro/Dinothawr.git PROJECT YES GENERIC_JNI Makefile android/eclipse/jni
fb_alpha libretro-fba https://github.com/libretro/fba-libretro.git PROJECT YES GENERIC_JNI makefile.libretro svn-current/trunk/projectfiles/libretro-android/jni
fceumm libretro-fceuumm https://github.com/libretro/libretro-fceumm.git PROJECT YES GENERIC_JNI Makefile.libretro src/drivers/libretro/jni
fmsx libretro-fmsx https://github.com/libretro/fmsx-libretro.git PROJECT YES GENERIC_JNI Makefile jni
gambatte libretro-gambatte https://github.com/libretro/gambatte-libretro.git PROJECT YES GENERIC_JNI Makefile.libretro libgambatte/libretro/jni
@ -31,12 +32,11 @@ ppsspp libretro-ppsspp https://github.com/libretro/ppsspp.git SUBMODULE YES GENE
prosystem libretro-prosystem https://github.com/libretro/prosystem-libretro.git PROJECT YES GENERIC_JNI Makefile jni
snes9x libretro-snes9x https://github.com/libretro/snes9x.git PROJECT YES GENERIC_JNI Makefile libretro/jni
snes9x_next libretro-snes9x_next https://github.com/libretro/snes9x-next.git PROJECT YES GENERIC_JNI Makefile.libretro libretro/jni
stella libretro-stella https://github.com/libretro/stella-libretro.git PROJECT YES GENERIC_JNI Makefile jni
tgbdual libretro-tgbdual https://github.com/libretro/tgbdual-libretro.git PROJECT YES GENERIC_JNI Makefile libretro/jni
tyrquake libretro-tyrquake https://github.com/libretro/tyrquake.git PROJECT YES GENERIC_JNI Makefile.libretro libretro/jni
vba_next libretro-vba_next https://github.com/libretro/vba-next.git PROJECT YES GENERIC_JNI Makefile.libretro libretro/jni
vbam libretro-vbam https://github.com/libretro/vbam-libretro.git PROJECT YES GENERIC_JNI Makefile src/libretro/jni
fb_alpha libretro-fba https://github.com/libretro/fba-libretro.git PROJECT YES GENERIC_JNI makefile.libretro svn-current/trunk/projectfiles/libretro-android/jni
stella libretro-stella https://github.com/libretro/stella-libretro.git PROJECT YES GENERIC_JNI Makefile jni
tyrquake libretro-tyrquake https://github.com/libretro/tyrquake.git PROJECT YES GENERIC_JNI Makefile.libretro libretro/jni
vecx libretro-vecx https://github.com/libretro/libretro-vecx.git PROJECT YES GENERIC_JNI Makefile.libretro libretro/jni
virtualjaguar libretro-virtualjaguar https://github.com/libretro/virtualjaguar-libretro.git PROJECT YES GENERIC_JNI Makefile jni
yabause libretro-yabause https://github.com/libretro/yabause.git PROJECT YES GENERIC_JNI Makefile libretro/jni

View File

@ -1,8 +1,8 @@
ANDROID_HOME /c/Toolchains/android/
NDK_ROOT /c/Toolchains/android/ndk/
ANDROID_NDK /c/Toolchains/android/ndk/
PATH /c/Toolchains/android/ant/bin:/c/Toolchains/android/ndk:/c/Toolchains/android/tools:/c/Toolchains/jdk/bin:/c/Toolchains/tools/cg/bin
ANDROID_HOME /opt/android-sdk
NDK_ROOT /opt/android-ndk
ANDROID_NDK /opt/android-ndk
PATH /opt/android-ndk:/opt/android-sdk/tools
PLATFORM android
platform android
MAKE make
NDK ndk-build.cmd
PYTHON /c/Toolchains/python3/python.exe
NDK ndk-build