Update build to add colors and slim stuff. Add bacon and roomservice and update releasetools

Conflicts:
	core/Makefile
	core/base_rules.mk
	core/binary.mk
	core/cleanbuild.mk
	core/combo/TARGET_linux-arm.mk
	core/definitions.mk
	core/droiddoc.mk
	core/host_java_library.mk
	core/java.mk
	core/java_library.mk
	core/tasks/apicheck.mk
	core/tasks/product-graph.mk
	envsetup.sh
	tools/releasetools/edify_generator.py
	tools/releasetools/ota_from_target_files

Enable gesture typing - (3/3)-delete the libjni_latinime package in favour of prebuilt libjni_latinime

Change-Id: Id06777518f0d0e87aaeab8fb105224ae29ed9e77

Support complex recoveries [cm]

Change-Id: I5ded5023a696a7d1feadd26cab2bd55a0d68fe00

Conflicts:
	tools/releasetools/common.py

Better symlinking from CM

Change-Id: Ib651cafd37f6b0332dd1580cb87af5127b0fbaa2

allow check-product-copy-files to use prebuilts

Change-Id: I93e70cb4bb4faad6923ab1787856ef6225d0996c

Removed libwnn and pinyin

Change-Id: I8510dc65b1168c50a9ace5ae3f1897e39e9fd44f

Conflicts:
	target/product/sdk.mk

Fix BUILD.PROP derp [thanks tchaari]

Change-Id: I89086d8e48a1d2d4d7708f11cee54c7eef23ba24

build: Add board platforms to qcom_utils

Change-Id: I42beace102da2357f00fbb55d1e4c36a73546156

build: Stop installing the sample APN list

Change-Id: I6e4c83589597c77efa986a2c14ebe09de525d47c

Conflicts:
	target/product/full_base_telephony.mk

build: Add mmp and mmmp

Change-Id: Ibdab17552e17e1e0bbf896cedee071e5ba84e27b

change default ringtones, alarms and notifications

Change-Id: I28e4bb15dd45925465e305b7936cad80eb522105

Conflicts:
	target/product/core.mk

Support complex toolchains

Instead of specifying the name of the toolchain and relying on arm-eabi-
use the entire path to the custom toolchain.

Add the following line to BoardConfig.mk to use the custom toolchain for kernel
For linaro:
TARGET_KERNEL_CUSTOM_TOOLCHAIN := linaro/bin/arm-linux-gnueabihf-

For GCC 4.4.3:
TARGET_KERNEL_CUSTOM_TOOLCHAIN := arm-eabi-4.4.3/bin/arm-eabi-

Add the following to slim.dependencies to get the toolchain project.

{
    "repository": "mnm9994u/prebuilt",
    "target_path": "prebuilt",
    "branch": "master"
},

Or add the following to your local_manifest

<project name="mnm9994u/prebuilt" path="prebuilt" remote="github" revision="master" />

Change-Id: I45ed019278a1f310d6abc4c7fbfa14ddc6d184b7

Fix kernel flash on MTD

PS 2 : Tabs

Change-Id: Ica4eb1c79ef5ca828d92e5b6573fee44b66da806

Use += to append to target-specific PRIVATE_CLEAN_FILES

Instead of incorrectly including global variable PRIVATE_CLEAN_FILES

Change-Id: I9b5e12448dad5001de051a566d8a94a89b20ecac

Conflicts:
	core/base_rules.mk

Remove Email and exchange from base build

Change-Id: I8f064c6d32887201b0e5870bd736dca42b47790c

Conflicts:
	target/product/generic_no_telephony.mk
	target/product/large_emu_hw.mk

Freedom to use O3 optimisation

Add the flag into the BoardConfig for your device as follow

TARGET_USE_O3 := true

also added info on the google flag TARGET_GCC_VERSION_EXP

Add branch change support in slim.dependencies

Change-Id: I5257b9a6cdc6e807b1f2feb008cd9dec5501880c

Automate source ramdisk selection

This commit automates the process of selecting
the relative path for custom kernels

To make this change apply on your device include

TARGET_KERNEL_CUSTOM_RAMDISK := true

in you BoardConfig in device or common folder.

Thanks to Manfred for the idea!

Change-Id: I0e6bb148097120a828fecd4427e863787d944915

Fix multiple builds

Change-Id: I6414fbf877a019278d40f11d2cd6489216d36e85

build: Relax Cortex CFLAGS

 * Always set march=armv7-a
 * Use mtune instead of mcpu. Bad code is generated on A15 otherwise.

Change-Id: I215b0fd8b6240d81840b041b1919dd89498630e7

move build: move bionic optimizations to NEON makefile

Change-Id: I69e2f41dfb5626275d1fd6de1a0a1e80dc1bc2b0

Conflicts:
	core/combo/arch/arm/armv7-a.mk

We where missing this? TARGET_linux_arm.mk still requires pie and armelf.x. At the verry least skyrocket required it, Thanks CM!

Patch set #2: Removed spaces and tabbing

Change-Id: Ie1caa691e711896a5050e3aee76f9df676abbd36

no more deprecation warning.

.repo/local_manifest.xml moved to ./repo/local_manifests/slim_manifest.xml

1) Delete local_manifest.xml from .repo 2) repo sync -c 3) cherry pick commit 4) lunch
No more deprecation warning

Credits to CM.
Change-Id: I939574f8adde551a7409500c6edc49bec76fef82

add API version 17 to qcom_utils.mk

Got this from CM.

Change-Id: Icf47e07ba770ef37ebacdff16bdcab26dd9e229f

Revert "no more deprecation warning."

Due that google still has no official repo version update because of internal problems @google we revert this for first.

1.12.1 repo version which is needed is still not merged into master from google. We also thought about it to set up our own repo on github to fetch our own new version. Due that we do not know all sight effect and a lot are building with our buildserver:

reverted.

Cheers

This reverts commit 417475887756037c31f0bccc172ec529b9821ac5

Change-Id: I3e11f1db081058c3ef2d9b85dbf0f83e0d38139a

Optimize for Size

Change-Id: Id8e9ab078dbcedd98d05a4116dddcdc4a2e4dfa6

Conflicts:
	core/combo/select.mk

no more deprecation warning.

should be ok now due google updated the repo version two days ago.

Please all test
Patch set 2: rebase
Patch set 3: force branch to jb4.2 as it can't be correctly read using github api
This reverts commit 7b28b8909fbd1cea4b9dc19bd8606657356c23a1

Change-Id: I412556546b7b435671fca6d05d7d312b1edcf376

Some enhancements

Change-Id: Ib22383c88cd3ccae6a8ded85cc16606ac2674e06

Automate HUGEMEM kernel config

Automate the process of appending HUGEMEM config
param to the kernel defconfig. This is required for sgs
series kernels i.e., semaphore variants.

Change-Id: Idbb45775456c7da13bd2ece21057a2d6ffbe48dc

Make DroidDoc optional

Change-Id: Ia842827a46b107bcef0d176deb0ab651e04bfa04

envsetup: export ANDROID_BUILD_TOP earlier

Change-Id: Ia3497f61f4e9aaeeb793cecd3b4f488f0a48181a

Enhance SLIM_VERSION and display in Build info. [1/2]

Change-Id: I673c07d65422c1485ea3c4b516a1c28061cd3065

Fix Default Alarm

Change-Id: I14a3a5d15d0f4bbb1d3ee4e1534a6733baf58d4d

Conflicts:
	target/product/core.mk

build: Add support for extra kernel build variables

 * This allows specifying a variant defconfig, and an selinux defconfig
   which are simply configuration fragments.

Change-Id: I97882ae3b8c2e16ff6a7dce8dd3a70d70f8aa866

Conflicts:
	core/tasks/kernel.mk

Extract 50-slim.sh before we run backuptool

This lets us add things to 50-slim to be preserved in new ROM releases

Change-Id: I90f2b4ca1e534e0bb2370c7157a10e0e6282c84b

cout: move to $out

Change-Id: I3b5bf8a5f62dcdf267662bb97a2073150152cfa6

build: Use common name for QCOM 7K boards.

This is needed to build QCOM HAL without external modifications. The
device would now have to specify msm7x27 or msm7x30 instead of
specifying the full name.

Patch Set 2: Add msm7x27a into the list.

Change-Id: I25018e397b5aad27fab5244731a574ae86752e17

build/core: Apply more compiler optimizations

flags taken from VanirAOSP

Change-Id: Id9f3c54d1ced3ac42319fa6be8822eff590aa434

Specify -msse3 on host as on target.

Make the host and the target x86 build more uniform by using the same machine flags.
Its unlikely Android has ever been built on a machine without SSE3 support.

Bug: 8068608
Change-Id: I19635528b61bf2c6faf02c2e575b1d9bf8025d3a

Conflicts:
	core/combo/TARGET_linux-arm.mk

Fixed typo

It was causing builds to fail on OS X

Conflicts:
	core/combo/select.mk

Ability to make flashable kernel zips.
    Just run make bootzip and wait.
PS2
    Fix it

Change-Id: If25488b134dc04d5fc41249378f56260a15e3cf1

[2/2] LCD density backup

Change-Id: Idd280808dc45a68ffbb8dc46849d5bcd24ce6e42

lets make the lunch list look a little neater

It's very simple, but with more and more devices coming in, a long list won't cut it
There are probably better ways of doing this, feel free to comment

Change-Id: I9bd1fef920f985a133c882df9987b6be29dbc7b8

Fix bootzip. Install signapk to sign the package and some cleanup

Change-Id: Ife5b74e4643ab757e94deba01d384aa2674cddda

Fix roomservice to allow dependencies to override each other.

Change-Id: Ifa1d930231d1f83a66bcc2dd5bc3317b86cf2eb8

Fix userdata size string

Change-Id: I636f462e88b8bba25e15d730f3ead1412ac17028

Fix build.

Change-Id: I123349add3154dc60af6f2d1952b62c1cfe4855b

remove redundant selinux check

Change-Id: I4a97138842fd4d21614be59b99d35c2207e4832f

Add auditd

Change-Id: I54717edbeb9677e53bdd01e6519edd30c387bfe8

Revert "remove redundant selinux check"

This reverts commit 1f59efa4311cd512c734d101edc3660e05218539.

build: Relax Cortex CFLAGS

 * Always set march=armv7-a
 * Use mtune instead of mcpu. Bad code is generated on A15 otherwise.

Change-Id: Idf8ced8eb0e9d3d4676ca8ec69bf56aed5533bf4

build: Cleanup CPU-specific optimizations

 * TARGET_ARCH_CPU_VARIANT was a Linaro thing. Now that Android
   introducted TARGET_CPU_VARIANT, we should use this instead.
 * Added CFLAGS for Krait and Scorpion after the cleanup.

Change-Id: Iafb40ecefa353a1169c22601be4ce80069c3f587

Conflicts:
	core/combo/arch/arm/armv7-a.mk

Conflicts:
	core/combo/arch/arm/armv7-a-neon.mk
	core/combo/arch/arm/armv7-a.mk

Fix building with jenkins

Change-Id: I06f9dc3b93c5839321c48a72d49e7ed6b35326b1

releasetools: use prebuilt boot image if using a custom boot image makefile

Patchset:

allow open JDK building

change to kk4.4 dependencies

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

Change-Id: Ifd2ef0e239d16b169c572472416c2c31df62a367
Add brunch and breakfast commands from CM

Change-Id: If8315cc22ac2d8cf10b4b3426a1a9c05d79da079
Allow Device Specific Headers

This allows a device to define its own headers compared to default
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
Make the kernel image format parametric instead of a chain of if/elses

Change-Id: I54bfcdecb8647f7bcf744e72b2de19fcf4e4e7ac
Remove HomeSample from builds

As good as it looks, we already have a launcher (Launcher3)

Change-Id: I87cac70eec30fd62d6f7ecb7777caa9d240fe0ee
remove quicksearchbox

outdated...tons of aapt warnings and no one is using it

so we remove it from all possible build types

Change-Id: I9d5b0fb1af2fb695b5e4d34a537fb8e10eeb2511
cm: Fix global selinux policy inclusion

We're adding slim-specific policies to an overlay instead of patching
external/sepolicy, so we need to make sure it's included to prevent
misbehaving systems

Change-Id: I7989a1093f9abc8360d492e73a860eb4afad10ad
KRT16P
KRT16Q
Merge tag 'android-4.4_r1.1' into HEAD

Android 4.4 Release 1.1
"KRT16R"
merge in klp-release history after reset to klp-dev
"KRT16S"
Merge tag 'android-4.4_r1.2' into HEAD

Android 4.4 Release 1.2