Lines Matching refs:PLATFORM
25 PLATFORM=
26 register_option "--platform=<name>" do_platform "Specify API level [autodetect]"
27 do_platform () { PLATFORM=$1; }
41 an existing platform build, and copy them to a temporary directory that will later
42 be processed by another script (dev-platform-pack.sh) to archive them properly into
52 The <build-path> parameter must point to the platform build output directory
53 of a valid Android reference platform build. This is the value of the
60 can override it with --platform=<number>.
64 1/ Detect the platform build's API level by parsing the build.prop
65 file. This can overriden with --platform=<number>
67 2/ Detect the platform build's target CPU architecture by parsing
88 dump "ERROR: Missing path parameter to platform build, see --help for details"
130 if [ -z "$PLATFORM" ]; then
131 PLATFORM=$(awk -F '=' '$1 == "ro.build.version.sdk" { print $2; }' $BUILD_PROP)
133 dump "WARNING: Could not extract default platform level from $BUILD_PROP!"
134 dump "Please use --platform=<name> to override this. See --help"
137 if [ -z "$PLATFORM" ]; then
141 log "Auto-config: --platform=$PLATFORM"
144 # Normalize platform name, i.e.
148 PLATFORM=${PLATFORM##android-}
150 PLATFORM_ROOT=$OUT_DIR/android-$PLATFORM/arch-$ARCH
151 log "Using platform destination path: $PLATFORM_ROOT"
167 # Check that a given platform level was listed on the command line
168 # $1: Platform numerical level (e.g. '3')
169 # returns true if the platform is listed
172 [ "$PLATFORM" -ge "$1" ]
315 # platform tree. This used to be system/media/opensles but
368 # of the platform headers in order to make room for other STL