source: local/greenstone3/linux-android-ndk-cross/gs3-devel.bash@ 26780

Last change on this file since 26780 was 26780, checked in by davidb, 11 years ago

Initial cut at setup files for compiling Greenstone3 using the Android NDK

File size: 784 bytes
Line 
1
2export crossOS=android
3echo "+ Setting crossOS=$crossOS"
4
5if [ ! -d ../ext/android-ndk ] ; then
6 echo "Warning: Failed to detect Android NDK extension:"
7 echo " <gsdl3home>/ext/android-ndk"
8 echo "Assuming your environment is set up independently to compile with NDK"
9 sleep 3;
10else
11
12 pushd ../ext/android-ndk
13 source ./devel.bash
14 popd
15fi
16
17# Need to make sure crossOS is set before sourcing the gnome-lib ext
18# to ensure GSDLOS is set to 'android'. This in turn ensures that all
19# the cross-compiled files go under the 'android' install directory
20# and avoids cross-contamination of shared libraries between commands
21# run on the build OS (linux) and the intented final host OS (android)
22
23pushd ../gs2build/ext/gnome-lib
24source ./devel.bash
25popd
26
27source ./gs3-setup.bash
28
29
Note: See TracBrowser for help on using the repository browser.