package-release.sh: Add --copy-prebuilts=<path> option.

This patch adds a new option to the package-release.sh script to
copy prebuilt 64-bit binaries for Linux and Darwin to an AOSP
checkout, under $AOSP/prebuilts/android-emulator/<system>/

For the record, this currently adds up to 18 MB (which includes
binaries for both platforms).

This is required to remove the emulator sources / build from the
platform build, and switch to prebuilt binaries instead.

+ Fix the 'emulator' launcher program to probe for either 32-bit
  or 64-bit GPU emulation libraries (the copied prebuilts are only
  64-bits to save space).

Change-Id: I5a4360da736172b5c35e2622fc02fb753853156b
2 files changed