root/gs3-extension/android-ndk/trunk/src/PREPARE.sh @ 26768

Revision 26768, 0.6 KB (checked in by davidb, 7 years ago)

First cut at a Greenstone extension for compiling Greenstone using Android's NDK

Line 
1
2if [ ! -d android-ndk-r8d ] ; then
3
4  echo "Untarring Android NDK tar ball"
5
6  tar xvjf android-ndk-r8d-linux-x86.tar.bz2
7fi
8
9devel_reminder=0
10if [ "x$NDK_HOME" = "x" ] ; then
11  devel_reminder=1
12  source ./devel.bash
13fi
14
15$NDK_HOME/android-ndk-r8d/build/tools/make-standalone-toolchain.sh \
16  --platform=android-14 \
17## --toolchain=arm-linux-androideabi-4.7 \
18  --install-dir=$NDK_HOME/android_toolchain
19
20
21if [ $devel_reminder = "1" ] ; then
22  echo ""
23  echo "****"
24  echo "* Now run source ./devel.bash to add the Android NDK to your environment"
25  echo "****"
26  echo ""
27fi
Note: See TracBrowser for help on using the browser.