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
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
Fix compatibility with zsh on finding device and vendor files for "including" and Execute the contents of any vendorsetup.sh files we can find. 
code re-used from paranoid.

Change-Id: I0c28bfacd90789fbcd7f7438cd35d828770f757d
Edify: Add AssertSomeBaseband

Allow releasetools.py to assert a baseband version. Works just like
AssertSomeBootloader.

Change-Id: Ic8eb341cef1d777d983be25ba21a3bc545819c29
Merge "Fix compatibility with zsh on finding device and vendor files for "including" and Execute the contents of any vendorsetup.sh files we can find.  code re-used from paranoid." into pac-4.4
ota_from_target_files: Validate signatures after possible data wipe

If the data is being wiped, we want to validate the signature after
this step. This is also a good check that the data wipe succeeded.

Change-Id: Iaecfddfb2010944de0c97e7bb21d8e581f20deec
Build: Add support for specifying build variant in brunch/breakfast

This little modification allows specifying build variant in brunch/
breakfast commands. For example we can use "brunch i9300 user" to build
user variant instead of default userdebug.

When no extra argument is given, userdebug is default.

Change-Id: I935327252098ee74b34a815a023d2ac6b9a53a30
Apply correct, optimized mfpu compiler flag for ARMv7-A Cortex CPUs

For those ARMv7-A Cortex CPUs that can handle VFPv4 floating point,
We can set "-mfpu=neon-vfpv4" instead of generic "-mfpu=neon"
to gain extra performance improvements.

References :
 - GCC		: https://gcc.gnu.org/onlinedocs/gcc/ARM-Options.html
 - Cortex A15	: http://www.arm.com/products/processors/cortex-a/cortex-a15.php
 - Cortex A9	: http://www.arm.com/products/processors/cortex-a/cortex-a9.php
 - Cortex A8	: http://www.arm.com/products/processors/cortex-a/cortex-a8.php
 - Cortex A7	: http://www.arm.com/products/processors/cortex-a/cortex-a7.php
 - Cortex A5	: http://www.arm.com/products/processors/cortex-a/cortex-a5.php

Change-Id: Id8b1a251234014ecf7ffbc1ae14455ed1726e028
Signed-off-by: Park Ju Hyung <qkrwngud825@gmail.com>
build: Clean up use of vendor/extra

 * extra_config.mk is not needed anymore
 * Include BoardConfigExtra.mk if available

Change-Id: Icd0db0852ceee5cb5c701c9a40b829e1f3ebd69e
(((AOSPAL OPTIMIZATION)))

Change-Id: I3e79993c44f249b6a15f4f25e1e39057582b21c5
Add -mfpu=neon-fp16 to unknown Clang flags.
Add (some) support for TARGET_FPU_VARIANT.

Change-Id: I7a08346142a054ac106f326233af97f25f2acf50
Add Linker Optimizations

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

CREDIT Chet Kener

Change-Id: Ie52c175bde325060216e4085582ec0d0534d30fd
set back default GCC SaberMod 4.8

Change-Id: I57aa36856251ae07ba431e0afce885d4dfb55b67
Revert "Add Linker Optimizations"

This reverts commit 9e3dfc162db2bfd3dfd09e42892f6813d251ea21.
Rom Optimized by zion959

Change-Id: Iade90f01288c83cc15073b2f865303e5ddd835d8
Add Linker Optimizations

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

CREDIT Chet Kener

Change-Id: Ie52c175bde325060216e4085582ec0d0534d30fd