Fix mka

return value of the make command, rather than the notification command
don't infinitely loop on the notification command
execute notification command async with (starts running, then lets mka return)
separate succes and failure notifications.
add a sleep in between iterations to make the notification flash

Change-Id: Ie698ebe3fa68043d32d0319752ec5750288c8343

Conflicts:
	envsetup.sh
build update for GCC4.7 from le goog via AOKP

CS2: Revert unreleated signapk "build optimization" because not all apks are going to be squished...
especially using tools like mm to compile a single apk for testing

Squashed commit of the following:

commit 124e0284c5a4978e8220f0d8452e5384cb37a662
Author: Ben Cheng <bccheng@google.com>
Date:   Mon Dec 10 16:04:39 2012 -0800

    Export TARGET_GCC_VERSION as an env variable.

    Have it referenced by the adbs tool to pick the specified toolchain.

    Change-Id: I23df88946254a55d0749d6753e54559faf33e121

commit 55cbf3fadfaa4076d323ebd16309d861368bd358
Author: aaronpoweruser <atlrudeboi1@gmail.com>
Date:   Mon Dec 10 10:52:02 2012 -0500

    Use GCC 4.7 from google

    Noticible preformance improvement
    Fixes needed
    *Framework/rs
    *System/security
    *external/oprofile
    *external/elfutils
    *external/v8

    Change-Id: Ic1eadf1fa7df1525471b9c844ac0c4bd9e778330

commit 9b127a27a79a8eb3dcb5fc26a9e4dc34702021df
Author: Ben Cheng <bccheng@google.com>
Date:   Fri Nov 16 13:29:13 2012 -0800

    [ARM] Extend the usage of TARGET_GCC_VERSION for gdb and arm-eabi-*.

    In the future to upgrade the gcc version we just need to edit one
    line in core/config.mk.

    Change-Id: I01bb38c38f2388913bb7369aa4b2da480411dfbe

    Conflicts:
    	envsetup.sh

    Conflicts:

    	envsetup.sh

commit 7b3f12961f5b7c52385ce793791154a3b435d661
Author: Andrew Hsieh <andrewhsieh@google.com>
Date:   Tue Oct 23 12:06:01 2012 +0800

    Add TARGET_GCC_VERSION

    Default to 4.6, but can overwritten to something else in
    prebuilts/gcc/$os/$arch/$arch-linux-android*-$ver

    Change-Id: I16f99d642b8ff8e831d392261a0c536041107051

Change-Id: I2cde7c661fe1c3cb98d06a81ad7ea18e54c8a10d
x86: enable FORTIFY_SOURCE

Enable FORTIFY_SOURCE for Android x86.  This adds certain security
protections to Android programs, checking for common programming
mistakes and buffer overflows.

FORTIFY_SOURCE protections have been enabled for ARM since
a46c480e43cc61d0190569684f0a1e53a5da75b6 (Jun 4th 2012)

Change-Id: Idae6f93d37ddae605088867cd3029f12632456e1
linaro stuff

Change-Id: Ia2a9c7256ca7101b7cc6d38c84a4fdfbdca994a9

Conflicts:
	core/combo/HOST_darwin-x86.mk
	core/combo/arch/arm/armv7-a-neon.mk
	core/combo/arch/arm/armv7-a.mk
	core/product_config.mk
customized rules for linaro building

Change-Id: I107b38a087d748aac7a1770b1ddfc9f68b824409
Fixed auto-setup of linaro toolchain when mklinaro is called

Change-Id: I9191d761e758193aae0d8a8f7a6a3ea11002ef80
make mklinaro pass args through to mka
and rm -f tars instead of rm to prevent naggy prompts.

Change-Id: If98932f700db8aab7bd80fe55847e7be42cb01ce
add back product build_prop_overrides, and FORTIFY_SOURCE for x86 targets

Change-Id: I675d0cddb99d14d5351ebd76de8b858c435e3965

Conflicts:
	core/product_config.mk
Merge mklinaro into mka

Change-Id: Id8bdff662b427cacbb94c7c7ce464e315d6d1f5e
Consolidate differences with jb42 -- seems to be a noop in most cases

Change-Id: I05c3a75eb2168b5fbac32a8a39e40b52be08905c
Reduce legwork entailed by .mk hunting

Change-Id: Ib428371083ca072b5166c2c11306ab5c384bcc76
TEST: add global CFLAGS for graphite loop optimizer

this is a native loop optimizer in the GCC 4.6+ tool chain.
all i've done is enable it to be used.  Boardconfig.mk should contain
the edit to enable this per device.  I set it up this way until tested
on all builds because we ran into drawing issues the last time we
hotrodded webkit with jpeg-turbo under strict aliasing which we have
set globally.

ps2: make sure we hit arm thumbs too!

Change-Id: I11d7d7cde87582216f717de947945fad16ed2cf7
Use fresh daily gcc, and optionally use gcc4.8

if the environment variable GCC_48 is set, then gcc4.8 will be used. otherwise 4.7 will

where fresh is <= 1 day old

ps2: SIMMUH DAN NAHH

Change-Id: I730c1513f1e3a22041db4ab426e0392a7b765684
Allow both 4.7 and 4.8 toolchains to exist in parallel, and only update the one you're using if IT is over a day old.

ps14: added usegcc47 and usegcc48 functions to envsetup.
they do what it looks like they would.
their setting persists between shells, so you will be stuck using gcc4.8 after runing usegcc48, UNTIL you run usegcc47.
ps25: added sanity checking for gettop, and fixed permissions issue on temp download location
ps9000 wurx

Change-Id: Ic656a1d71ce9b693d0d8d93f6c60822583907789

Conflicts:
	envsetup.sh
Less frequent toolchain dls ftw

Change-Id: Icf3d54ef13277984c67ffe650b791a9d70789971
Remove selinux from repo

Somehow this stuff slipped in from master branch

Change-Id: I9244b4af0eaa250979902596c0151d821e538857
removed another hardcoded -O2

this also removes the option to build without linaro optimizations

Change-Id: I703ac4b89f9e49a4c4bafa77ecd083da7e42fe14
-03 for host compiler and linux x86 processor code generation optimized

current code generation for x86 processors is not set to run optimizations
for the current host processor but rather for arch.  so why not tune the output
for the native processor?

Change-Id: I0b94674bf487e52486c9b0865f4bfce316403a13
add vectorization with cost modeling.

vectorization of loops is intended to improve usage of loops on multiple cores.
adding cost modeling is intended to determine whether or not loops being run
will increase or decrease overhead.

Change-Id: Iad3059e96811c20347dbc687a9ac1137a1469503
new cflag opts for target thumb

split PD's original commit into 2 parts, because I like this half less than the other half

Change-Id: I7c6ce765c59eafa1ec1284914d346cc87ca7cf05