Home | History | Annotate | Download | only in tools

Lines Matching full:darwin

293 DARWIN=no
296 if [ "$DARWIN" = "yes" ]; then
297 echo "Can not have both --mingw and --darwin"
305 echo "Can not have both --mingw and --darwin"
308 DARWIN=yes;
315 register_option "--darwin" do_darwin_option "Generate darwin binaries on Linux."
570 # Check for the availability of a compatibility SDK in Darwin
599 # Probe Darwin SDK in specified diectory $DARWIN_SYSROOT, or
606 log "Use darwin sysroot $DARWIN_SYSROOT"
608 echo "darwin sysroot $DARWIN_SYSROOT is not valid"
622 if [ "$MINGW" = "yes" -o "$DARWIN" = "yes" ] ; then
627 echo "ERROR: Can only enable --mingw or --darwin on Linux platforms !"
645 darwin
646 HOST_TAG=darwin-x86_64
648 ABI_CONFIGURE_HOST=i686-apple-darwin
649 HOST_TAG=darwin-x86
651 HOST_OS=darwin
702 # $1: install directory for mingw/darwin wrapper toolchain
706 if [ "$MINGW" != "yes" -a "$DARWIN" != "yes" ]; then
722 echo "Please set DARWIN_TOOLCHAIN to darwin cross-toolchain"
726 echo "darwin cross-toolchain $DARWIN_TOOLCHAIN-gcc doesn't exist"
730 BINPREFIX=x86_64-apple-darwin-
735 BINPREFIX=i686-apple-darwin-
748 if [ "$DARWIN" = "yes" ] ; then
771 # this is required for mingw/darwin build to avoid tools canadian cross configuration issues
803 # We can't use this here when building Windows/darwin binaries on Linux with
807 if [ "$NDK_CCACHE" -a "$MINGW" != "yes" -a "$DARWIN" != "yes" ]; then
825 if [ "$MINGW" = "yes" -o "$DARWIN" = "yes" ]; then
834 log "Generating $HOST_BITS-bit Darwin binaries"
836 # Do *not* set CC and CXX when building the Windows/Darwin binaries in canadian build.
854 elif [ "$HOST_OS" = "darwin" ]; then
855 LEGACY_TOOLCHAIN_DIR="$ANDROID_NDK_ROOT/../prebuilts/gcc/darwin-x86/host/i686-apple-darwin-4.2.1/bin"
869 darwin-*)
921 # Now deal with mingw or darwin
922 if [ "$MINGW" = "yes" -o "$DARWIN" = "yes" ]; then
948 darwin-x86)
949 ABI_CONFIGURE_BUILD=i686-apple-darwin
951 darwin-x86_64)
952 ABI_CONFIGURE_BUILD=x86_64-apple-darwin
974 # Now handle the --mingw/--darwin flag
975 if [ "$MINGW" = "yes" -o "$DARWIN" = "yes" ] ; then
1101 # NOTE: Handles the case where '$MINGW = true' or '$DARWIN = true'
1102 # For now, valid values are: linux-x86, darwin-x86 and windows
1113 if [ "$DARWIN" = "yes" ]; then
1114 RET=darwin-x86_64 # let the following handles 32-bit case
1122 darwin-x86_64)
1124 RET=darwin-x86
1355 # NOTE: This deals with MINGW==yes or DARWIN==yes appropriately
1367 # NOTE: This deals with MINGW==yes or DARWIN==yes appropriately.