Update to KTU84Q 4.4.4_r2

Change-Id: Ib5393c5904e55664d7746cb5cff3c8d9a445ebfe
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

Change-Id: I40f8c8dbd2a8a84a5c1b9f47ee04180a71ef4e07
add function to generate AOKP sdk

Signed-off-by: Arnav Gupta <championswimmer@aokp.co>

Conflicts:
	envsetup.sh

Change-Id: Icc5510727a8528867b1356df8decf72052a84219
Merge "build: Add chromium prebuilt support to envsetup.sh && The core Makefile" into kitkat
colorize non-fatal javac stderr yellow (and actually display it... at all)

woops!

Signed-off-by: nuclearmistake <nuclearmistake@gmail.com>
Change-Id: I984f428022a68a825aa041866e8d459bd6611f71
Optimize Clang

* Use -O3 and disable warnings.
* Make it optional so device maintainers can choose if they want to use it or not.

Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
Change-Id: I984f428022a68a825aa041866e8d459bd6511f72
Add Linker Optimizations

* Make these optional as well as the Clang optimizations.
* Enable using OPTIMIZE_LINKER=y to BoardConfig of your device.

Signed-off-by: Chet Kener <Cl3Kener@gmail.com>
Change-Id: I984f428022a68a825aa041866e8d456bd6411f79
Revert "Optimize Clang"

This reverts commit 5e41f9f715bd71b85f582bee72afca6e8385368e.

Change-Id: I6edbe08822fed910ce6455fe7c4564c166a0ce75
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
Specify -mcpu=cortex-a15 for krait CPU variants.

Bug: 11178216

Change-Id: I9922e4cd5ba27e3857798aae5c84299e26e054ea
Merge remote-tracking branch 'ls/kitkat' into HEAD

Change-Id: Ic6fa7dba3f616e21e202ed0f814bbed3f8ec02d2