Fix SDK build

Adjust PRODUCT_PACKAGES and PRODUCT_COPY_FILES to fix the following SDK
build.

$ . build/envsetup.sh
$ lunch sdk-eng
$ make sdk

Change-Id: I299e97b7935f9eb01820497342675cfd7ef794e9
envsetup: Wait for device in installboot/installrecovery

 * Useful when you're racing against a bug that causes a kernel panic
   shortly after USB turns on :(

Change-Id: I2a503e4b195e632ed5b67a77b942e80c47d0ff45
Add PRODUCT_BOOTANIMATION

Just add PRODUCT_BOOTANIMATION in your product
makefiles and point it to the zip file you would
like to have used as the boot animation.

The coresponsing build system handles picking
the last one, which is the last product to set this.

Change-Id: I8c95a515a8fbb92d363141eb79e254712dccc162
Signed-off-by: William Roberts <wroberts@tresys.com>
Fix for build break when PRODUCT_BOOTANIMATION is unset

Change-Id: I236c2dd35ba0e632ed327ed6dc36324c9e59587a
envsetup: Use wait-for-online so these cmds work in recovery

Change-Id: I7a85e7068f373b1d726aa6b27a51862fa9b7c6fd
Restore original behavior when PRODUCT_BOOTANIMATION is undefined

Change-Id: I3ee7141f7c26cee033b8a30824caf38fcacec5a8
build: fix bash completion sourcing

Sourcing functions in files from a function within a file being
sourced was giving bash a hard time. This fixes 'repo' command tab
completions.

Change-Id: Iac1b3078e20749fb474ed1270e0886cf435e24d9
Merge "Fix SDK build" into cm-10.2
Build: update qcom_utils.mk

Add build macro to determine Android Release

Adding platform sdk version 18 for JB MR2.

Change-Id: I79aa831ddd335bd14bd777506c210acc5d9960f1
Merge tag 'android-4.3_r3' into cm-10.2

Android 4.3 release 3.0

Change-Id: I17ea872d02f9e19192b57015f90bfcc109ce7e19
build: let TWRP eat zips too

This allows us to sideload zips regardless of the recovery in place.

Change-Id: I5e95614e545a617737fcc27fd892f42c29a06f9b
Merge tag 'android-4.3_r3.1' of https://android.googlesource.com/platform/build into cm-10.2

Android 4.3 Release 3.1
inline kernel dtb build

also add sony device filter

Change-Id: Iffeda58c7086f49e76ecafd37941503611346983
Fix the build for Xcode 5.

Change-Id: Icf8a4917d23114dae62a0e8ac3563587c3bf0361
Merge "Build: update qcom_utils.mk" into cm-10.2
Add a unique build number to every build

SDK-readable via android.os.Build.INCREMENTAL

Change-Id: If9885adebe12a56b2b2e353285721be695bc411b
Fix exporting the unique build identifier

Change-Id: Ie58e981b7e83a4351d137dfd8995dce7d365d950
Merge "inline kernel dtb build" into cm-10.2
build: Prevent some auto-generated variables from being overridden

These variables are used by internal processes for build indexing
and identification, and those processes expect either specific patterns,
or uniqueness.
So prevent accidental overriding of these by device configurations:
BUILD_DISPLAY_ID, BUILD_NUMBER, PLATFORM_VERSION, PLATFORM_SDK_VERSION,
PLATFORM_VERSION_CODENAME, BUILD_VERSION_TAGS

Change-Id: I06252f2687a5e5fd97ee21a98f26c739fd0ef6e4
Fix incremental build number on Darwin

Darwin does not include sha1sum, but it should have openssl.

Change-Id: If2b685c1478f9486bed21dfba0c655d9e02db72b