Home | History | Annotate | Download | only in tools

Lines Matching refs:PLATFORM

60 PLATFORM=
61 register_option "--platform=<name>" do_platform "Specify target Android platform/API level." "android-3"
63 PLATFORM=$1;
64 if [ "$PLATFORM" = "android-L" ]; then
66 PLATFORM=android-21
145 # Check PLATFORM
146 if [ -z "$PLATFORM" ] ; then
148 arm) PLATFORM=android-3
151 PLATFORM=android-9
154 PLATFORM=android-$FIRST_API64_LEVEL
159 echo "Auto-config: --platform=$PLATFORM"
162 if [ ! -d "$NDK_DIR/platforms/$PLATFORM" ] ; then
163 echo "Invalid platform name: $PLATFORM"
164 echo "Please use --platform=<name> with one of:" `(cd "$NDK_DIR/platforms" && ls)`
183 # Extract architecture from platform name
195 # Check that there are any platform files for it!
198 echo "Platform $PLATFORM doesn't have any files for this architecture: $ARCH"
199 echo "Either use --platform=<name> or --toolchain=<name> to select a different"
200 echo "platform or arch-dependent toolchain name (respectively)!"
205 SRC_SYSROOT_INC="$NDK_DIR/platforms/$PLATFORM/arch-$ARCH/usr/include"
206 SRC_SYSROOT_LIB="$NDK_DIR/platforms/$PLATFORM/arch-$ARCH/usr/lib"
208 echo "No platform files ($PLATFORM) for this architecture: $ARCH"