1 #!/bin/sh 2 3 echo "\$0=$0" 4 cd `dirname $0` 5 echo "PWD=`pwd`" 6 export NDK_MODULE_PATH=`pwd`/path1:`pwd`/path2 7 ../../../ndk-build 8 if [ $? != 0 ]; then 9 echo "ERROR: Can't build test program!" 10 exit 1 11 fi 12