Bring up some tweaks from AOSPAL.
* Add bacon and mka
* Inline kernel building
* Support openjdk and java7
* Added seperate dirs for devcie common files
* Support make 4.0
Bring back Launcher3
Fix Build.prop overriding Makefile.mk
Makefile.mk: Fix Bacon & boot.img.
envsetup: Add pushboot function

This function lets you push a file from your current OUT dir
for your current device. It root/remount the device, push the
file, and reboots it. Example: pushboot system/app/SystemUI.apk

Change-Id: I8a404323a4091e8502fbdd24198c66f1ac598192
envsetup: set OUT_DIR to an absolute path always

OUT_DIR was set to $(TOPDIR)out previously,
but $(TOPDIR) was null, so it was a relative path.
This broke releasetools, inline kernel building, etc
since they require absolute paths.
Fix it so that it is set to $(shell readlink -f .)/out
if $(TOPDIR) is null.

Also remove hacks which checked if (OUT_DIR) was out
and changed it to $(ANDROID_BUILD_TOP)/out to workaround
the aforementioned problem.

Change-Id: I459a3b1325a1bbea0565cd73f6acf160d4ed9b39

Conflicts:
	core/base_rules.mk
	core/tasks/kernel.mk

Change-Id: I52a7a6024f0f2b708c230e53c0152ed138726cc1
Makefile.mk:
* Fix OTA tool.
* Fix inline builiding.
Kernel.mk:
*Fixes.
Makefile.mk: fix recovery ramdisk creation.
Makefile.mk: get rid of recovery stuff.
* From this 601d7d7f98ec3b47ecd324ae9413d420c91be224 not take it.
 Allow cache img to be disabled
Enable incremental builder to find files that moved, and
try to process them via patch + rename, instead of
delete + add.

b/11437930

Change-Id: Ie70632a2fa0a13d4bb259f61c620bb01812494e5

Conflicts:
	tools/releasetools/ota_from_target_files
Full cache image generation

Port forward from here https://gerrit.paranoidandroid.co/#/c/99/ and here https://gerrit.paranoidandroid.co/#/c/103/

Checks goo for latest gapps package through its json api. If the api doesn't return anything, tries to get the link directly from the html. If it
fails too, it checks the /gapps folder to see if there's a package already downloaded.

Cache size can be changed in BoardConfig.mk with the var BOARD_CACHEIMAGE_SIZE (default is 500M).

Change-Id: I3ae608c12a15f6ede2150567662befa7fce763ca
 Don't build cache by default. Use BOARD_GENERATE_CACHEIMAGE to contro…

…l it.

Change-Id: I5cee499a47d8cc1785634c4fdda126c2c57bdf80
 Fix BOARD_CACHEIMAGE_SIZE
kernel.mk: set KERNEL_OUT properly

It was hardcoded to $(ANDROID_BUILD_TOP)/$(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ
which wouldn't exist if OUT_DIR_COMMON_BASE was set to use another dir
(e.g. ramdisk)

Fix it so that it now points to $(TARGET_OUT_INTERMEDIATES)/KERNEL_OBJ
if OUT_DIR is not out

Change-Id: I1bf767d86548e41270d9cbb8f0c00512708501c5
build: Add support for PRODUCT_COPY_FILES_OVERRIDES

 * We may have a case where prebuilts need to be built from
   source instead based on an externalized config.
 * New directive takes a list of destination files to remove from
   PRODUCT_COPY_FILES so that other instructions can be supplied.

Change-Id: I7feff16440e54d1676ffddbbd96d5947efa43ede
Makefile.mk: fix
Merge branch 'version' into mintkat
*Fixed kernel inline building.