Home | History | Annotate | Download | only in tools

Lines Matching refs:PLATFORM

42 # Return the list of platform supported from $1/platforms
98 --platform=*)
133 echo "the platform files appropriately into a final release structure."
139 echo " --src-dir=<path> Source directory for development platform files [$SRCDIR]"
142 echo " --platform=<list> List of API levels [$PLATFORMS]"
181 # Remove the android- prefix of any platform name
215 for PLATFORM in $PLATFORMS; do
216 DIR="$SRCDIR/platforms/android-$PLATFORM"
219 echo "Please check your --platform=<list> option and try again."
226 log "Checking source platform architectures."
231 for PLATFORM in $PLATFORMS; do
233 DIR="$SRCDIR/platforms/android-$PLATFORM/arch-$ARCH"
447 # e.g. on x86 for PLATFORM < 9
469 # $1: platform number
494 log "Generating platform $API crtbrand assembly code: $CRTBRAND_S"
550 # $1: platform number
597 # Copy platform sysroot and samples into your destination
600 # if $SRC/android-$PLATFORM/arch-$ARCH exists
601 # $SRC/android-$PLATFORM/include --> $DST/android-$PLATFORM/arch-$ARCH/usr/include
602 # $SRC/android-$PLATFORM/arch-$ARCH/include --> $DST/android-$PLATFORM/arch-$ARCH/usr/include
603 # $SRC/android-$PLATFORM/arch-$ARCH/lib --> $DST/android-$PLATFORM/arch-$ARCH/usr/lib
609 # Find first platform for this arch
611 for PLATFORM in $PLATFORMS; do
612 PLATFORM_DST=platforms/android-$PLATFORM # Relative to $DSTDIR
615 # Skip over if there is no arch-specific file for this platform
616 # and no destination platform directory was created. This is needed
624 log "Populating \$DST/platforms/android-$PLATFORM/arch-$ARCH"
639 # files from previous platform directories into this one.
644 if [ "$OLD_PLATFORM" -eq "$PLATFORM" ]; then
657 generate_api_level "$PLATFORM" "$ARCH" "$DSTDIR"
683 gen_crt_objects $PLATFORM $ARCH platforms/common/src $PLATFORM_SRC_ARCH $SYSROOT_DST/lib "-m32"
684 gen_crt_objects $PLATFORM $ARCH platforms/common/src $PLATFORM_SRC_ARCH $SYSROOT_DST/lib64 "-m64"
685 gen_crt_objects $PLATFORM $ARCH platforms/common/src $PLATFORM_SRC_ARCH $SYSROOT_DST/libx32 "-mx32"
687 gen_crt_objects $PLATFORM $ARCH platforms/common/src $PLATFORM_SRC_ARCH $SYSROOT_DST/lib
716 # $SRC/android-$PLATFORM/samples --> $DST/samples
719 # Copy platform samples and generic samples into your destination
722 # $SRC/android-$PLATFORM/samples/ --> $DST/samples
730 for PLATFORM in $PLATFORMS; do
731 dump "Copy android-$PLATFORM samples"
732 # $SRC/platform-$PLATFORM/samples --> $DST/samples
733 copy_src_directory platforms/android-$PLATFORM/samples samples samples