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