Home | History | Annotate | Download | only in tools

Lines Matching refs:DARWIN

298 DARWIN=no
301 if [ "$DARWIN" = "yes" ]; then
302 echo "Can not have both --mingw and --darwin"
310 echo "Can not have both --mingw and --darwin"
313 DARWIN=yes;
320 register_option "--darwin" do_darwin_option "Generate darwin binaries on Linux."
575 # Check for the availability of a compatibility SDK in Darwin
604 # Probe Darwin SDK in specified diectory $DARWIN_SYSROOT, or
611 log "Use darwin sysroot $DARWIN_SYSROOT"
613 echo "darwin sysroot $DARWIN_SYSROOT is not valid"
627 if [ "$MINGW" = "yes" -o "$DARWIN" = "yes" ] ; then
632 echo "ERROR: Can only enable --mingw or --darwin on Linux platforms !"
650 ABI_CONFIGURE_HOST=x86_64-apple-darwin
651 HOST_TAG=darwin-x86_64
653 ABI_CONFIGURE_HOST=i686-apple-darwin
654 HOST_TAG=darwin-x86
656 HOST_OS=darwin
707 # $1: install directory for mingw/darwin wrapper toolchain
711 if [ "$MINGW" != "yes" -a "$DARWIN" != "yes" ]; then
727 echo "Please set DARWIN_TOOLCHAIN to darwin cross-toolchain"
731 echo "darwin cross-toolchain $DARWIN_TOOLCHAIN-gcc doesn't exist"
735 BINPREFIX=x86_64-apple-darwin-
740 BINPREFIX=i686-apple-darwin-
753 if [ "$DARWIN" = "yes" ] ; then
776 # this is required for mingw/darwin build to avoid tools canadian cross configuration issues
824 # We can't use this here when building Windows/darwin binaries on Linux with
828 if [ "$NDK_CCACHE" -a "$MINGW" != "yes" -a "$DARWIN" != "yes" ]; then
846 if [ "$MINGW" = "yes" -o "$DARWIN" = "yes" ]; then
855 log "Generating $HOST_BITS-bit Darwin binaries"
857 # Do *not* set CC and CXX when building the Windows/Darwin binaries in canadian build.
880 elif [ "$HOST_OS" = "darwin" ]; then
881 LEGACY_TOOLCHAIN_DIR="$ANDROID_NDK_ROOT/../prebuilts/gcc/darwin-x86/host/i686-apple-darwin-4.2.1/bin"
895 darwin-*)
947 # Now deal with mingw or darwin
948 if [ "$MINGW" = "yes" -o "$DARWIN" = "yes" ]; then
974 darwin-x86)
975 ABI_CONFIGURE_BUILD=i686-apple-darwin
977 darwin-x86_64)
978 ABI_CONFIGURE_BUILD=x86_64-apple-darwin
1000 # Now handle the --mingw/--darwin flag
1001 if [ "$MINGW" = "yes" -o "$DARWIN" = "yes" ] ; then
1151 # NOTE: Handles the case where '$MINGW = true' or '$DARWIN = true'
1152 # For now, valid values are: linux-x86, darwin-x86 and windows
1163 if [ "$DARWIN" = "yes" ]; then
1164 RET=darwin-x86_64 # let the following handles 32-bit case
1172 darwin-x86_64)
1174 RET=darwin-x86
1460 # NOTE: This deals with MINGW==yes or DARWIN==yes appropriately
1472 # NOTE: This deals with MINGW==yes or DARWIN==yes appropriately.