Lines Matching refs:PLATFORM
17 # dev-platform-expand.sh
38 # Return the list of platform supported from $1/platforms
53 # The default platform is the last entry in the API_LEVELS default variable
54 PLATFORM=android-$(echo $API_LEVELS | tr ' ' '\n' | tail -1)
55 register_var_option "--platform=<level>" PLATFORM "Target API level"
72 "Uncompress the platform files (headers/libraries) correspond to a given
73 platform into a single directory. The main idea is that the files are stored
74 in a platform-specific way under SRC=$$NDK/../development/ndk, i.e.:
91 The script 'dev-platform-compress.sh' can be used to perform the opposite
108 # Check platform (normalize it, i.e. android-9 -> 9}
109 PLATFORM=${PLATFORM##android-}
110 if [ ! -d "$SRCDIR/android-$PLATFORM" ]; then
111 echo "ERROR: Platform directory doesn't exist: $SRCDIR/android-$PLATFORM"
114 log "Using platform: $PLATFORM"
147 # log "Checking source platform architectures."
153 # DIR="$SRCDIR/android-$PLATFORM/arch-$ARCH"
185 # Copy platform sysroot into your destination
188 # $SRC/android-$PLATFORM/include --> $DST/platforms/android-$PLATFORM/arch-$ARCH/usr/include
189 # $SRC/android-$PLATFORM/arch-$ARCH/include --> $DST/platforms/android-$PLATFORM/arch-$ARCH/usr/include
191 # $SRC/android-$PLATFORM/arch-$ARCH/usr/include --> $DST/platforms/android-$PLATFORM/arch-$ARCH/usr/include
195 # $SRC/android-$PLATFORM/arch-$ARCH/usr --> $DST/platforms/android-$PLATFORM/arch-$ARCH/usr
198 if [ "$LEVEL" -gt "$PLATFORM" ]; then
201 log "Copying android-$LEVEL platform files"
204 DDIR="$DSTDIR/android-$PLATFORM"