mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-01-04 23:02:02 +01:00
19 lines
487 B
Bash
Executable file
19 lines
487 B
Bash
Executable file
#!/bin/sh
|
|
|
|
set -u -e
|
|
|
|
APPMK=./jni/Application.mk
|
|
XWORDS_DEBUG_ARMONLY=${XWORDS_DEBUG_ARMONLY:-""}
|
|
XWORDS_DEBUG_X86ONLY=${XWORDS_DEBUG_X86ONLYx:-""}
|
|
|
|
echo "# Generated by $0; do not edit!!!" > $APPMK
|
|
|
|
if [ "$1" = "release" ]; then
|
|
echo "APP_ABI := armeabi x86" >> $APPMK
|
|
elif [ -n "$XWORDS_DEBUG_ARMONLY" ]; then
|
|
echo "APP_ABI := armeabi" >> $APPMK
|
|
elif [ -n "$XWORDS_DEBUG_X86ONLY" ]; then
|
|
echo "APP_ABI := x86" >> $APPMK
|
|
else
|
|
echo "APP_ABI := armeabi x86" >> $APPMK
|
|
fi
|