Add colors to build / Support for complex toolchains / Make lunch menu look neater
Signed-off-by: PipelinerArd <kristoferard@gmail.com>

Signed-off-by: Alvin Francis <nivlafx@gmail.com>

Conflicts:
	core/base_rules.mk
	core/definitions.mk
	core/host_java_library.mk
	core/java.mk
	core/tasks/product-graph.mk

Conflicts:
	core/Makefile
	core/base_rules.mk
	core/definitions.mk
	core/dex_preopt.mk
	core/host_java_library.mk
	core/java_library.mk
	core/package.mk
	core/tasks/collect_gpl_sources.mk

Conflicts:
	core/definitions.mk
	core/java.mk

Change-Id: I154ca05b46a1dce1e9c1b8f858298662b7a63f49
core: main: remove all the spam about including make files

Change-Id: Ifd2ef0e239d16b169c572472416c2c31df62a367
Allow Device Specific Headers

This allows a device to define its own headers compared to default

Signed-off-by: Alvin Francis <nivlafx@gmail.com>

Conflicts:
	core/binary.mk
Allow a device to generically define its own headers

We have a few cases of devices including specific versions of projects
just because of modified headers (msm_mdp.h comes to mind), and I just
had enough of ifdeffing header files for specific cases (the P990 needs
a lot of these).
Now... if a target defines a TARGET_SPECIFIC_HEADER_PATH, any headers in
there will take precedence over the standard ones; for example, on the
p990, I have

TARGET_SPECIFIC_HEADER_PATH := device/lge/p990/include

which makes, for example, the
device/lge/p990/include/hardware_legacy/AudioHardwareInterface.h be
used instead of
hardware/libhardware_legacy/include/hardware_legacy/AudioHardwareInterface.h
whenever a source file uses <hardware_legacy/AudioHardwareInterface.h>

Change-Id: I41b62668b60e3f62a6ebd3738d8d2675103a81e6a

build: fix target header overlay

LOCAL_C_INCLUDES as defined by the makefile should be put AFTER
the overlay includes so the overlay always takes precedence.

Change-Id: I489b2aab6dbacd9122d834f85e07b63ed1271f07
Signed-off-by: Alvin Francis <nivlafx@gmail.com>

Conflicts:
	core/binary.mk
Make the kernel image format parametric instead of a chain of if/elses

Change-Id: I54bfcdecb8647f7bcf744e72b2de19fcf4e4e7ac
Add Launcher3 and foreign keyboards

Conflicts:
	target/product/full_base.mk

Change-Id: I41372a66742d20399643c655b20edf81e3eb6595
Update releasetools

Merge from cm with some modifications

Signed-off-by: Alvin Francis <nivlafx@gmail.com>

Conflicts:
	tools/releasetools/common.py
	tools/releasetools/ota_from_target_files

Conflicts:
	tools/releasetools/common.py

Change-Id: I168c41b9d1295648358d6e4acac15d99ac58a85f
Add forgotten Basic and Stk package
added "make almostclean" for fast rebuilding

This keeps out/host and removes out/target
build: Add QCOM target-specific config

* Needed to support global DirectTract config on legacy targets
 * Let's also eliminate some boilerplate

Change-Id: I736c10a5e7e1f3d1e0de9e60f29b60add276f151

Conflicts:
	core/config.mk

Conflicts:
	core/config.mk
build: Fix cflags for QC targets

Change-Id: I2281bec3afb4d80e80845718d880dc24ef7baf32
The real fix for /usr dir not existing
Stop making assert in updater-script

Signed-off-by: Alvin Francis <nivlafx@gmail.com>

Conflicts:
	tools/releasetools/ota_from_target_files
Add APNS etc inclusion

Conflicts:
	core/config.mk

Change-Id: Icc729b6599863c34583bcb22232f897213f33a85
Allow prebuilt apks (for new gps implementation)
Add inclusion of optimized dalvik libs

Signed-off-by: Alvin Francis <nivlafx@gmail.com>

Conflicts:
	core/config.mk
Colorize javac errors

You know those multi-line ones that are frequently interspersed with other buld output?
The ones that don't even have the word "error" in them to search for?

This makes them red.

ps2: fix jar_check failures cause by leaving empty stderr files in intermediates dirs
     this is probably not the best place to store stderr before colorizing it if javac
     exits non-zero, but it seems much lighter than mkdiring a bunch of temp directories
     or using sed to mangle the paths to point to per-intermediates directory unique
     temporary file names

Change-Id: I3b9b7d8a0c76958588ac1603b6742987d6dde54c
Signed-off-by: nuclearmistake <nuclearmistake@gmail.com>
Signed-off-by: Alvin Francis <nivlafx@gmail.com>

Conflicts:
	core/definitions.mk

Conflicts:
	core/definitions.mk
Update APNS
Build libemoji
Include su binary and SuperSU by default