1 #!/bin/sh 2 3 PROGDIR=`dirname $0` 4 PROGDIR=`cd $PROGDIR && pwd -P` 5 6 # Check if absolute NDK path contain space 7 # 8 case $PROGDIR in 9 *\ *) echo "ERROR: NDK path cannot contain space" 10 exit 1 11 ;; 12 esac 13 14 . $PROGDIR/build/tools/ndk-common.sh 15 16 # -u means unbuffered standard io. 17 $PROGDIR/prebuilt/$HOST_TAG/bin/python -u $PROGDIR/ndk-gdb.py "$@" 18