Add build information to OTA script

Outputs:

*   Version: Build 0
*   Device: mako (Nexus 4)

OR

*   Version: Nightly Mar-31-13
*   Device: mako (Nexus 4)

OR

******************************************
************ UNOFFICIAL BUILD ************
******************************************
*   Compiled: Sun Mar 31 20:26:39 CEST 2013
*   Device: mako (Nexus 4)

Change-Id: I4e7829b6b7817f33e00256fe1af28444c51e8a36
Signed-off-by: KhasMek <Boushh@gmail.com>
Secure adb connections on non-eng builds

Change-Id: I9cbfa594d39d9921721e78f0864d21c9935e713c
Signed-off-by: Gergely Szell (sethyx) <szell@hu.ibm.com>
Merge "Secure adb connections on non-eng builds" into jb-mr1
envsetup.sh: add groot

   CD to the top of the current git project.

Change-Id: Idd4e8f7abd7d210c57c5ed5b47eaa5a5cc5956cb
Signed-off-by: KhasMek <Boushh@gmail.com>
envsetup: Update gerrit url

Change-Id: I3a09e4183c0e08d4913bc153f8e41517b304c4fa
Signed-off-by: bmc08gt <bmc08gt.teamb00sted@gmail.com>
[1/3] Install persistence support

Copy files from OUT/install to ZIP/install and extract to /tmp/install
at install time.  This is an extensible framework that may be used for
other install tasks as needed.  Note that none of the install files are
only extracted to a ramdisk, they are never written to /system.

Run script persist.sh with argument "save" prior to formatting /system
and again with argument "restore" after /system is installed.  This may
be explicitly disabled by setting "TARGET_DISABLE_PERSIST := true".

Change-Id: I8b3b298e3c43b31aa275c3cb5d2eeae4cd33760b
build: Add support for extra kernel build variables

 * This allows specifying a variant defconfig, and an selinux defconfig
   which are simply configuration fragments.

Change-Id: I97882ae3b8c2e16ff6a7dce8dd3a70d70f8aa866
fix path to sounds in sdk product

This is necessary to build the SDK:

    lunch sdk-eng && make sdk

Change-Id: I7b9dcfc418ddc46e2967b627525d042bbf6334e1
The bash completion stuff is crapping out on darwin. Disabling.
Let me know if I am doing something wrong.

Change-Id: I6f61f869140b26db0a119617b353e0952eeaebeb
Check bash version instead of OS for bash completion

The bash completion script requires bash 4.0

Change-Id: Id81a42585b1d2cb568cb1b8f602f2bb447bef214
Consolidate bash version checks

There were two checks for bash version, the 2nd was superfluous; this
patch removes the duplicate checks, and shifts the bash version check to
being back after the "are we in bash" check.

Change-Id: I57ff8c1fedce80f739c06643d2976d2c1465db1b
Add support for cross compiling Windows tools on Darwin.

Change-Id: I71372543e8da02e1d2437d6da7eb46b0a72c9870
build: get rid of the sparse expand stuff

* i don't see a reason why we are doing this because we never deal
with flashing system img rawly
* This will put useless write on ssd..
* we don't have space on ssd

Change-Id: Icd53d161b8515f5eca238b98ad68515d69caa34f
Fix /system/app/$app.odex not updated issue

$(built_odex) depends on $(LOCAL_BUILT_MODULE) but doesn't have any build
recipe. It is built by the rules of $(LOCAL_BUILT_MODULE) that results in
a subtle bug: $(built_odex) is always newer than $(LOCAL_BUILT_MODULE)
if $(LOCAL_BUILT_MODULE) rebuilt. Therefore 'make' thinks the targets
(/system/app/$app.odex) depending on $(built_odex) don't need to be updated.
It seems an allegedly optimization bug of 'make'.

The simple fix is to explicitly add $(LOCAL_BUILT_MODULE) as a dependency
of $(installed_odex).

Change-Id: Ia62695eeb9a9709f7115301cbf27eb1fd77a1573
Merge "Fix /system/app/$app.odex not updated issue" into jb-mr1
Merge remote-tracking branch 'm/jb-mr1' into jb-mr1

Change-Id: I3caec033bc2f191b116127472590bf2d6a4bff25