mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-03 23:04:08 +01:00
remove x86 from jni; that chip's dead on Android
This commit is contained in:
parent
e0c6621bfe
commit
f1c2eb79d4
2 changed files with 4 additions and 3 deletions
|
@ -223,7 +223,7 @@ task copyStrings(type: Exec) {
|
|||
|
||||
task ndkSetup(type: Exec) {
|
||||
workingDir '../'
|
||||
commandLine "./scripts/ndksetup.sh", "--with-clang"
|
||||
commandLine "./scripts/ndksetup.sh", "--with-clang", "--arm-only"
|
||||
}
|
||||
|
||||
task myPreBuild(dependsOn: ['ndkSetup', 'mkImages', 'copyStrings', 'mkXml']) {
|
||||
|
|
|
@ -36,10 +36,11 @@ echo "# Generated by $0; do not edit!!!" > $TMP_MK
|
|||
|
||||
[ -n "$USE_CLANG" ] && echo "NDK_TOOLCHAIN_VERSION := clang" >> $TMP_MK
|
||||
|
||||
# TODO: reserach whether armeabi-v7a is better here
|
||||
if [ -n "$XWORDS_DEBUG_ARMONLY" ]; then
|
||||
echo "APP_ABI := armeabi-v7a" >> $TMP_MK
|
||||
echo "APP_ABI := armeabi" >> $TMP_MK
|
||||
elif [ -n "$XWORDS_DEBUG_X86ONLY" ]; then
|
||||
echo "APP_ABI := x86" >> $TMP_MK
|
||||
echo "APP_ABI := x86" >> $TMP_MK
|
||||
else
|
||||
echo "APP_ABI := armeabi x86" >> $TMP_MK
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue