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

View File

@ -4,6 +4,7 @@
catsfc libretro-catsfc https://github.com/libretro/CATSFC-libretro.git PROJECT YES GENERIC_JNI Makefile jni 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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/ ANDROID_HOME /opt/android-sdk
NDK_ROOT /c/Toolchains/android/ndk/ NDK_ROOT /opt/android-ndk
ANDROID_NDK /c/Toolchains/android/ndk/ ANDROID_NDK /opt/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 PATH /opt/android-ndk:/opt/android-sdk/tools
PLATFORM android PLATFORM android
platform android
MAKE make MAKE make
NDK ndk-build.cmd NDK ndk-build
PYTHON /c/Toolchains/python3/python.exe