Ray Donnelly | c2f40d9 | 2012-12-05 01:01:42 +0000 | [diff] [blame] | 1 | #!/bin/sh |
| 2 | |
| 3 | PROGDIR=`dirname $0` |
Andrew Hsieh | d8276e9 | 2013-11-12 14:33:49 +0800 | [diff] [blame] | 4 | PROGDIR=`cd $PROGDIR && pwd -P` |
Ray Donnelly | c2f40d9 | 2012-12-05 01:01:42 +0000 | [diff] [blame] | 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 | |
David 'Digit' Turner | bd7544d | 2013-06-10 10:17:33 +0200 | [diff] [blame] | 14 | . $PROGDIR/build/tools/ndk-common.sh |
Ray Donnelly | c2f40d9 | 2012-12-05 01:01:42 +0000 | [diff] [blame] | 15 | |
| 16 | # -u means unbuffered standard io. |
| 17 | $PROGDIR/prebuilt/$HOST_TAG/bin/python -u $PROGDIR/ndk-gdb.py "$@" |