Home | History | Annotate | Download | only in tools

Lines Matching refs:PLATFORM

29 # We need to extract the auto-detected platform level to display it in
38 PLATFORM=9
40 PLATFORM=`awk -F '=' '$1 == "ro.build.version.sdk" { print $2; }' $BUILD_PROP`
42 dump "WARNING: Could not extract default platform level from $BUILD_PROP!"
43 PLATFORM=9
44 dump "Defaulting to $PLATFORM"
50 "This script is used to update the NDK's platform headers and system libraries
51 from those generated after a full build of the Android platform. Run it after
54 The first parameter must be a platform/API level. For example, to update the
55 NDK definitions for the 'android-9' platform, use one of:
64 NOTE: The currently auto-detected API level for your build is $PLATFORM,
65 but this value may be incorrect if your platform has not been assigned
91 By default, the build-specific platform/API level is autodetected, and
118 dump "ERROR: Missing required API/platform level. See --help for usage instructions."
122 # Normalize platform names, i.e. get rid of android- prefix in a list of
123 # platform levels
127 # $1: list of platform levels
136 log "Target platform levels: $PLATFORMS"
139 # We can't accept several platform levels in --force mode.
142 echo "ERROR: You can only use a single platform level when using --force ($NUM_PLATFORMS)"
161 # Check that a given platform level was listed on the command line
162 # $1: Platform numerical level (e.g. '3')
163 # returns true if the platform is listed
168 log "Platform root (forced): $PLATFORM_ROOT"
177 log "Platform root: $PLATFORM_ROOT"
233 # Check the platform value and set PLATFORM_ROOT
237 PLATFORM=${PLATFORM##android-}
238 PLATFORM=android-$PLATFORM
550 # of the platform headers in order to make room for other STL