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 'aokp/jb-mr1' into jb-mr1