Squash Commit: Change Packages the Rascarlo Style

Revert "Drop PhaseBeam"

This reverts commit eeed93fd6cb8379e3d99af3dd33d28d0f056bd50.

Revert "Drop LatinIME"

This reverts commit 9d0f3a2e56be727ee0139ddde73d7e2eed5347bb.

Revert "Drop latinime lib. (We are using the swype one)"

This reverts commit 98b93addc4be8343c86b34300e552f94b87688e3.

Revert "Revert "Revert "Remove some missed stuff"""

This reverts commit a317c2fd9134703b011da5cc3e7ca89d63d79eef.

Revert "Revert "Revert "Remove some stuff 4.4 style"""

This reverts commit 70d67fa7d161e18bd1ecfae3dfde8775934cf247.

drop aosp VoiceDialer

drop aosp Music&MusicFX

drop aosp QuickSearchBox

drop aosp Calendar

drop aosp libjni_latinime, use google prebuilt

drop aosp extra input methods

drop aosp Home

Bring back MusicFX
build: use the system's ccache by default

ccache 3.x supports direct mode (http://ccache.samba.org/manual.html#_the_direct_mode)
This is not supported in the prebuilt version. Direct mode has been shown to decrease build time by up to 40x, compared to preprocessor mode used in ccache 2.4, which is substantially less

Change-Id: I224de8e5bc53bbe18a7a02fc811324307cf3ab8c

Conflicts:
	core/tasks/kernel.mk
Support LOCAL_MODULE_RELATIVE_PATH

Most users of LOCAL_MODULE_PATH are setting a subdirectory of the
normal install path, for example to install HALs into system/lib/hw.
This is problematic for multiarch builds, where the install location
depends on the arch.  Allow modules to specify LOCAL_MODULE_RELATIVE_PATH.
HALs will generally use:
LOCAL_MODULE_RELATIVE_PATH := hw

Change-Id: I4e4ceec61d026bbe74ba604554c06104bde42e5e

Conflicts:
	core/base_rules.mk
Enable NX protections

Add -Wa,--noexecstack and -Wl,-z,noexecstack as default
flags when compiling host-side applications.  This enables
NX protections, which prevent code from executing on the
stack or heap.  NX protections make exploiting memory
corruption issues more challenging and is an important
security feature.

Change-Id: Iae580abe887e01f9029ec2a4e0fc0aae496724a4
Add DEXPREOPT support for ART

Change-Id: I24d0d7b2a23a769f5d69bd4dc14be22e1475b759

Conflicts:
	core/dex_preopt.mk
Fix regex for finding symbol data.

The new output of debuggerd removed a space between the #00 and the rest
of the line. The regex is very restrictive, so fixing it to handle the new
output.

Change-Id: I5259ae1e56a351608b330dfd858a2021e6d89358
Add an explicit definition of __ANDROID__=1

Once the aarch64 toolchain is refreshed this will be removed.
Also removed some CFLAG duplications.

Change-Id: I42fd86931263af82042ea696196fb25e948fe9cb

Conflicts:
	core/combo/TARGET_linux-aarch64.mk
Create the dest dir before copying over files.

Change-Id: I8ad79704558d7a10099e64fc1d032c8ddd3330b9
Simplify the calculation of LOCAL_UNSTRIPPED_PATH

Also this fixes the LOCAL_UNSTRIPPED_PATH if the module is installed to
the vendor dir via LOCAL_PROPRIETARY_MODULE.

Bug: 11289169
Change-Id: Ib07e5761411210963076487fe0e148c259e1e082
envsetup.sh: cd to toplevel in get_build_var

dumpvar doesn't work right if we're not called from the toplevel;
due to the way the build system works internally, -C does not
suffice. This was already done in get_abs_build_var.

Redundant -C calls removed since we're at the toplevel already.

Change-Id: Iaaa48982547d099186922cc3ddc417a82c85e9a5
Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
Remove a non-existent directory from the include path.

Brings aarch64 in line with the other architectures.

Change-Id: Iba3fd33e34e3b5bc071f55cfe09de9e55a023cf7
add BUILD_NATIVE_BENCHMARK

Similar to BUILD_NATIVE_TEST, but links against libbenchmark
instead of libgtest.

Change-Id: I97d44db4807a79efa9bca56c108082ac45c943b8
Optimize Packages

Fixed packages(hopefully)