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