summaryrefslogtreecommitdiffstats
path: root/contrib/build-scripts/build-uscxml-android.sh
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/build-scripts/build-uscxml-android.sh')
-rwxr-xr-xcontrib/build-scripts/build-uscxml-android.sh89
1 files changed, 0 insertions, 89 deletions
diff --git a/contrib/build-scripts/build-uscxml-android.sh b/contrib/build-scripts/build-uscxml-android.sh
deleted file mode 100755
index 9cda4af..0000000
--- a/contrib/build-scripts/build-uscxml-android.sh
+++ /dev/null
@@ -1,89 +0,0 @@
-#!/bin/bash
-
-#
-# build all of uscxml for android
-#
-
-# exit on error
-set -e
-
-ME=`basename $0`
-DIR="$( cd "$( dirname "$0" )" && pwd )"
-CWD=`pwd`
-BUILD_DIR="/tmp/build-uscxml-android"
-
-rm -rf ${BUILD_DIR} && mkdir -p ${BUILD_DIR} &> /dev/null
-cd ${BUILD_DIR}
-
-
-if [ ! -d "${ANDROID_NDK}" ]; then
- echo
- echo No Android NDK at ${ANDROID_NDK}
- echo export ANDROID_NDK as the NDK root
- echo
- exit
-fi
-echo
-echo Using Android NDK at ${ANDROID_NDK}
-echo
-
-#. ${DIR}/find-android-ndk.sh
-
-# ANDROID_ABI=armeabi-v7a - specifies the target Application Binary
-# Interface (ABI). This option nearly matches to the APP_ABI variable
-# used by ndk-build tool from Android NDK.
-#
-# Possible targets are:
-# "armeabi" - matches to the NDK ABI with the same name.
-# See ${ANDROID_NDK}/docs/CPU-ARCH-ABIS.html for the documentation.
-# "armeabi-v7a" - matches to the NDK ABI with the same name.
-# See ${ANDROID_NDK}/docs/CPU-ARCH-ABIS.html for the documentation.
-# "armeabi-v7a with NEON" - same as armeabi-v7a, but
-# sets NEON as floating-point unit
-# "armeabi-v7a with VFPV3" - same as armeabi-v7a, but
-# sets VFPV3 as floating-point unit (has 32 registers instead of 16).
-# "armeabi-v6 with VFP" - tuned for ARMv6 processors having VFP.
-# "x86" - matches to the NDK ABI with the same name.
-# See ${ANDROID_NDK}/docs/CPU-ARCH-ABIS.html for the documentation.
-# "mips" - matches to the NDK ABI with the same name
-# (not testes on real devices)
-
-mkdir -p ${BUILD_DIR} &> /dev/null
-cd ${BUILD_DIR}
-
-rm -rf *
-cmake ${DIR}/../../ \
--DCMAKE_TOOLCHAIN_FILE=${DIR}/../cmake/CrossCompile-Android.cmake \
--DBUILD_SHARED_LIBS=OFF \
--DANDROID_ABI="armeabi" \
--DCMAKE_BUILD_TYPE=Debug
-make -j2
-make -j2 java
-
-rm -rf *
-cmake ${DIR}/../../ \
--DCMAKE_TOOLCHAIN_FILE=${DIR}/../cmake/CrossCompile-Android.cmake \
--DBUILD_SHARED_LIBS=OFF \
--DANDROID_ABI="armeabi" \
--DCMAKE_BUILD_TYPE=Release
-make -j2
-make -j2 java
-
-rm -rf *
-cmake ${DIR}/../../ \
--DCMAKE_TOOLCHAIN_FILE=${DIR}/../cmake/CrossCompile-Android.cmake \
--DBUILD_SHARED_LIBS=OFF \
--DANDROID_ABI="x86" \
--DCMAKE_BUILD_TYPE=Debug
-make -j2
-make -j2 java
-
-rm -rf *
-cmake ${DIR}/../../ \
--DCMAKE_TOOLCHAIN_FILE=${DIR}/../cmake/CrossCompile-Android.cmake \
--DBUILD_SHARED_LIBS=OFF \
--DANDROID_ABI="x86" \
--DCMAKE_BUILD_TYPE=Release
-make -j2
-make -j2 java
-