Home | History | Annotate | Download | only in tools

Lines Matching refs:PLATFORM

59 PLATFORM=
60 register_option "--platform=<name>" do_platform "Specify target Android platform/API level." "android-3"
61 do_platform () { PLATFORM=$1; }
128 # Check PLATFORM
129 if [ -z "$PLATFORM" ]; then
131 arm) PLATFORM=android-3
134 PLATFORM=android-9
138 PLATFORM=android-9
141 log "Auto-config: --platform=$PLATFORM"
144 if [ ! -d "$NDK_DIR/platforms/$PLATFORM" ] ; then
145 echo "Invalid platform name: $PLATFORM"
146 echo "Please use --platform=<name> with one of:" `(cd "$NDK_DIR/platforms" && ls)`
159 # Extract architecture from platform name
162 # Check that there are any platform files for it!
165 echo "Platform $PLATFORM doesn't have any files for this architecture: $ARCH_INC"
166 echo "Either use --platform=<name> or --toolchain=<name> to select a different"
167 echo "platform or arch-dependent toolchain name (respectively)!"
172 SRC_SYSROOT_INC="$NDK_DIR/platforms/$PLATFORM/arch-$ARCH_INC/usr/include"
173 SRC_SYSROOT_LIB="$NDK_DIR/platforms/$PLATFORM/arch-$ARCH/usr/lib"
175 echo "No platform files ($PLATFORM) for this architecture: $ARCH"
269 echo '`dirname $0`/python `dirname $0`/ndk-bc2native.py --sysroot=`dirname $0`/../sysroot --abi='$TARGET_ABI' --platform='$PLATFORM' --file $output $output'
289 echo '%~dp0\\python'$HOST_EXE' %~dp0\\ndk-bc2native.py --sysroot=%~dp0\\..\\sysroot --abi='$TARGET_ABI' --platform='$PLATFORM' --file %output% %output%'