Merge "Add -D__USE_MINGW_ANSI_STDIO=1 for MinGW-w64 GCC build Fix usage of ABI_CONFIGURE_BUILD in build-host-sed.sh Add usage of ABI_CONFIGURE_BUILD in build-host-make.sh to fix configure error."
Add --with-build-sysroot

Otherwise host's /usr/include, etc, may be used instead of build's
compilers headers (AOSP/prebuilts/gcc/<host>/host, or cross compiler)

Also, quote "$BH_HOST_OS" = "$BH_BUILD_OS"

Change-Id: I671ff8b112f8861fcd0cc074b16473a4d83abde3
Add --with-python=prebuilt

The new option is equivalent to
  --with-python=$ANDROID_NDK_ROOT/prebuilt/$HOST_TAG/bin/python-config.sh,
and it's handy because in build-gcc.sh $HOST_TAG is usually derived by
other means (ie. host os, --mingw and --try-64)

Change-Id: Ifa41465107b92526dda5e4cecd33c26055c32458
Build GDB stub for Windows
Merge "Add --with-build-sysroot"
Merge "Add --with-python=prebuilt"
Merge "Only deploy mcld to known arch"
Merge "Misc doc fixes"
Merge "Use ld.mcld in WINE 64-bit windows testing"
Merge "Build GDB stub for Windows"
Call prepare_abi_configure_build before prepare_host_build

Because when cross compiling, prepare_host_build sets HOST_TAG
to the actual host (Windows or Darwin) and HOST_TAG is what
is used to determine ABI_CONFIGURE_BUILD.
Add FLAGS and EXTRA_CFLAGS to cpp wrapper program.

This is needed for Darwin cross so that -isysroot is passed
as this is needed during checking for cpp sanity.
Don't build Perl when cross compiling for Darwin.

...as it doesn't work.
Merge changes I810a7daf,Iaa582439,I55111c42

* changes:
  Don't build Perl when cross compiling for Darwin.
  Add FLAGS and EXTRA_CFLAGS to cpp wrapper program.
  Call prepare_abi_configure_build before prepare_host_build
Update buffer completion callback documentation

Change-Id: I9e84ee3120f5958f44f51687d663b6f35a270e18
Update documentation for threads used by callbacks

Current implementation uses single callback thread per object,
but this is not guaranteed as it may move to a worker pool model
such as for multi-core devices.

Change-Id: Ieec5cede6e64fd75ea2945bdc2fff0bcf4d34cf2
Merge "Update buffer completion callback documentation"
Merge "Update documentation for threads used by callbacks"
Add testcase for bug 8708181 about NEON vst/vld unalignment access

See https://android-review.googlesource.com/#/c/58433 and
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57271

Change-Id: Ibfbdf89aab0aec743018ee1a2eb35a6229b06192
Fix "--try-64" flag for rebuild-all-prebuilt.sh

The flag "--try-64" was not propagated to the other scripts.
This CL fix this issue by renaming HOST_FLAG to HOST_FLAGS.

Change-Id: I84b9877e84b276152609a584e3c3896d4469ccd4