Fix a warning compiling gabi++ with clang

The operator new() doesn't return in regular fashion.
Add __builtin_unreachable() to tell clang otherwise it complains:

  .../ndk/sources/cxx-stl/gabi++/src/new.cc
  .../ndk/sources/cxx-stl/gabi++/src/new.cc:76:1: warning: control may reach
       end of non-void function [-Wreturn-type]

Change-Id: I3179228f89423fc71c81c0eb5686379dd4f95c53
ndk-gdb.py: Handle quoted paths in find_program

The quotes in os.environ['PATH'] need to be removed
otherwise executables are not found.
ndk-gdb.py: Fix ndk_bin_path determination

It wasn't correct on 64bit. This meant that the gnumake
found on those systems tended to be the system one.

Now, sys.executable is used and if that fails, some more
exhaustive checks of platform.platform() and sys.maxsize
are used (in-case the user uses their own Python - note
if this happens, arch differences between that Python and
the NDK could still cause the system make to be used, but
this is a small corner case that will usually work ok ..)
Fixed stlport compilation warning with gcc4.8

under "-W -Wall -Wno-unused-parameter"

Change-Id: I3a1bb9ca752b9c2e0ca239889d87c3d513d989c0
Error when gdb stub fail to build

In windows *-gdb.exe is a wrapper which setup up PATH and PYTHONHOME
to python prebuilt directory before calling into the real *-gdb-orig.exe.

For 32-bit windows, i686-w64-mingw32-gcc is used to compile gdb stub
because the default i586-mingw32msvc doesn't have functions such as
CreateJobObject used in the stub.  Problem is that i686-w64-mingw32-gcc
may not be installed in build system and the build script fails silently,
causing 32-bit *-gdb.exe fail to launch due to missing libpython2.7.dll.

This patch is to issue error when stub can't be generated for
whatever reason.

Change-Id: I6c939728aa7d90eafc60cb5637b598092557b584
abcc - llvm testing driver

Change-Id: I052eed49d5376d08fb1aa161fb2d7f8b0c2f45d2
Fix compile fail with -mtune=atom

where __i686__ isn't defined

Change-Id: I978fdfa6b93e7e3694b382d2c3ef7cdb9c40e6dc
Use prebuilts assets

Use prebuilts/assets or $NDK_TARGET_SYSROOT built this way:

 # prebuilts/assets
  export NDK=your-AOSP-path/ndk
  cd $NDK ; ./build/tools/dev-cleanup.sh
  ./build/tools/download-toolchain-sources.sh /tmp/ndk-$USER/src
  ./build/tools/build-on-device-toolchain.sh --no-sync --abi=armeabi-v7a \
    --out-dir=$NDK/tests/abcc/prebuilts/assets/armeabi-v7a /tmp/ndk-$USER/src

 # apk
  android update project -p . -s -t android-17
  ../../ndk-build SYSTEM_PREBUILT_PACKAGE=false APP_STL=stlport_static -B APP_ABI=armeabi-v7a
  ant debug -Dasset.dir=prebuilts/assets/armeabi-v7a

 # likewise for armeabi,x86,mips

Change-Id: I166abbd8d1ca08a4e567fcfbfa41262a8d05ddaa
Use --enable-shrink-binary-size to reduce LLVM toolchain size.

This CL depends on:

https://android-review.googlesource.com/#/c/63863/
https://android-review.googlesource.com/#/c/63862/

Change-Id: I70d48fd01175a890d410a9feda932912572d3a0d
Fix wchar_t-size for le32.

Change-Id: I7791e7919b1feb93e59e9e3932597ec0673a723f
Fix on-device toolchain script

1. build-device-llvm.sh use --abis instead of --arch
2. build-device-llvm.sh keeps BUILD_OUT explicitly specified
3. wrap more commands with "run" (better in --verbose)
4. more arch-specific flags

Change-Id: Ia453945215ada4532a24ab11f54ff195898c49ec
Add Script for building abcc.

Change-Id: I0a7c73a1021dd501abf5ec50a53f0d00778565d3
Refine abcc for system image.

After apply this patch:
1. Use build-abcc.sh with --only-assets to generate toolchain assets.
3. mmm ndk/tests/abcc
4. make systemimage

Also 2 modifications.
1. Change name abcc-$abi.apk to abcc-$abi-unsigned.apk for clearity.
2. Add prebuilts dir into .gitignore.

Change-Id: Iadace270113209e958439250e6db75c9ed6ea0b8
Determine library suffix by ABI.

Change-Id: I2ae5b6dcc949f0c47392b2afbe49984250ba9478
Build/package stlport and libc++ for unknown archs.

Change-Id: I0fdd757c0c585abaa256e59e2bc14212bd06a000
Use llvm-config-host if it exists instead of relying on Wine

.. this change also allows Darwin cross compilation of mclinker.

and depends on:

https://android-review.googlesource.com/#/c/64261/
https://android-review.googlesource.com/#/c/64263/

Change-Id: I9d51f5a51d7deb689b34d28e604e82b546b43091
Make standalone toolchain fully support unknown arch.

Change-Id: I76fe1653b824748860c616b2a7a2f8448e737acf
Add --enable-shrink-binary-size to device mclinker

Change-Id: I9e078b8d81449e1cd775dcd40e65d4d1af4bbf8f
Fix make-standalone-toolchain.sh clang/++ for known archs

previous commit incorrectly add ndk*-py case in clang/++ for
known arch

Change-Id: Idede83bccfb5ecd0d07c811fd4e021f6cc1fdcf2
Remove zip --symlinks

UNIX/VMS symlink doesn't work in windows.  Revert back to
compressing/storing the original file

Change-Id: I6a5923d1bd04d536820b79d578827d3cb822311c