5.0 Bring up

- Build CellBroadcastReceiver
- Replace Launcher2 w/ Launcher3 & remove QuickSearchBox
- add PRODUCT_BUILD_PROP_OVERRIDES
- Remove deprecated Music package
- Remove optional "Home Sample" Launcher
- Build Stk (Sim Toolkit)
- Turn off data roaming by defualt
- envsetup: remove cruft
- envsetup: envsetup: add a helper to fix "out/target/common" not being really common (http://goo.gl/Yadnwq)
- ccache: Use system version over prebuilt (http://goo.gl/qcF3ML)
- envsetup: set OUT_DIR to an absolute path always (http://goo.gl/y0q93m) & (http://goo.gl/Gs7lBc)
- Allow cache.img to be disabled (http://goo.gl/ggtU6t)
- Fix file-size stats on OSX (http://goo.gl/hMcPFC)
- core: main: remove all the spam about including make files (http://goo.gl/t3HdQv)
- enable shared ccache (http://goo.gl/JScBO9) & (http://goo.gl/PpBBZb)
- disable openjdk check for Linux Host OS

Change-Id: Ic8f707e7c2f492812648a4a5c3cc0b22af5fbb08
envsetup: mka & reposync functions

Change-Id: Idc30394631a5cf20038784ffb381f419966505b7
Build with colors

History
===

build-with-colors: moar colors

- rename CL_PFX and CL_INS to better match the
  colors they show.
- add more colors.

Output of:
- most host stuff is yellow
- most target stuff is green
- installing/copying files is cyan
- import/export includes and notice files is cyan
- bootimage/recoveryimage is cyan
- and some more colors in many places ;)

Change-Id: I5532afa4ba608e0a7c408516dc9f912f9ca389f7

build in colors: Install outputs in blue/yellow [basic ics version]

"target prefix:" in yellow
"Install: file" in cyan

should be in a single command line else there are sync problems
in multithread (-j X)

These colors can be tuned in core/Makefile if you use a white terminal.
can be disabled with "export BUILD_WITH_COLORS=0"

Only the most important output is colored to reduce ics merge problems

Change-Id: I0e585079fde6900799ef209367a523d94a51cda5

Colors: add more colors to final build steps

also fix releasetool echo and visible recovery echos

Change-Id: Icf5d88468572f935610c544bf1d5d356ec9870d3

build in colors: host C/C++

Change-Id: Ic415cab53a2efa104c9d4b31ddbe8c8eb74e493d
build: support for PA product builds (EXPERIMENT)

note:
 - adapted from CM for PA use

If building a pa_* product, skip crawling the filesystem for
AndroidProduct makefiles (and, of course, parsing their contents)
and aim directly for the vendor/pa/products/<product> device configuration

Change-Id: I2a5e70dda973a6fcdbba0d5e26b35b99d3f1aea2
Add ro.pa.device to build.prop

note:
- adapted for PA

Change-Id: If08cc13c0f0e92e0dd262a2f71610070a54aaead
build: Stop installing the sample APN list

 * Sample APN list is always being installed, we don't want this in CM.

Change-Id: I74b97f3af545c4a7568d3001e1435c63cfbc7de8
print PA_VERSION in build config

Change-Id: Iead654e30798a11e636ec743683f3431d14a858c
build: Remove vendor overlay restrictions from AOSP

Change-Id: Ifebd3744215505ffef70c15edc7a3090780c60d5
build: Don't stop if JDK version doesn't match

Temporal change, right now unofficial OpenJDK 1.7 builds error out.

Change-Id: I5e77c70724c7d81544673715ed09e0a53ce32730
Use the L audio package

Change-Id: Ib11533e02fda55e1c9715170fac794a44f7886a4
Signed-off-by: Evan Anderson <evananderson@aospa.co>
Remove AOSP stock recovery

This commit will remove AOSPs stock recovery from being built and flashed upon installation.

Credits:

@CallMeAldy
@snak3ater

Sqaushed:
Signed-off-by: Jean Francis Dominique S. Mabalot <jmabalot@google.com>
Remove AOSP stock recovery(2)

2nd commit for removing stock recovery. FINALLY!

Change-Id: If6357fdf4ddbd4873fa9a9263fd4120b0ff078e5
Signed-off-by: Jean Francis Dominique S. Mabalot <jmabalot@google.com>
fix up ota_from_target_files symlink detection.

Change-Id: I29a051b45e574507ab022b46d441557e9900a992
Note that update-api is a lie.

Change-Id: Idc2d92630e94ccbd60b5d5447c3762db8e5096f8
add adb to the disttools

Change-Id: I898fa5c9396606144e57dba8453f476b9e9440ab
envsetup: do not print an error if complete fails

complete is a bashism; so it will fail on other shells. Avoid printing
an error if that is the case.

Change-Id: Id6d6311792f409cc3a697c7a2bb003863f1afe60
make bacon and custom releasetool (for squished zips)

Change-Id: I4f61b6a6b9b8bab8582fa5423c4134c07af17606
Minor fixups

add backuptool items + fixes
remove duplicate "OPTIONS.worker_threads"
ota_from_target_files: more derps
remove backuptool

Change-Id: I517cdc49ed0b73b5d416dcbc614f56520cee6337
temp fix the edify generator for flashing

Change-Id: Ie74ebe395cb565ed57bcce083e3010535ab96a91
Signed-off-by: houst0nn <houstonn@gmail.com>
build: Add chromium prebuilt support to envsetup.sh && The core Makefile

This adds a chromium_prebuilt function to envsetup.sh that is invoked by lunch to check
whether the chromium prebuilts are up-to-date or not. If not, it will be built from source
and then the new source built version will be pulled during brunch/mka bacon to become the
new prebuilts for future builds.

This is all opt-in through the USE_PREBUILT_CHROMIUM flag. Without it being set to 1,
none of this would be ran, and regular operations will go on.

PS13:
-use export TARGET_DEVICE
-replace git -C with params compatible to old git versions

(vendor repository for script)

Change-Id: I40f8c8dbd2a8a84a5c1b9f47ee04180a71ef4e07

Conflicts:
	core/Makefile
Prebuilt chromium: Run a check for target device directory

this should fix the issue that arises if device fails and device is built again,
chromium will error out because it thinks the prebuilt files exist (which they are
not, directories are just created).

Signed-off-by: Ayysir <ayysir@aospal.com>
Change-Id: I595cab268e66c738ccae9900150b36d7f9626a6e