New packaging script for sources and binaries.

This patch introduces a new script that can generate tarballs
for emulator binaries and sources.

See distrib/package-release.sh --help for details.

Note that for SDK official builds, it is recommended to perform
the build inside of an Android platform tree instead, to let
the standalone build system pick the correct prebuild SDK
toolchains, which ensure the generated binaries are compatible
with older Linux releases.

+ Make android-rebuild.sh more verbose in case of failure and
  fix a bug where the 64-bit unit test suite was launched with
  Wine under Linux (even though we don't generate 64-bit
  binaries for Windows yet).

+ Fix host toolchain probing in android-configure.sh to ensure
  that rebuilding the sources from scratch works even when not
  in the Android platform build.

Change-Id: Ida3182061940360b495c720d10c0ff9b4bcc3549
3 files changed