Raise x86 arch requirement to prescott.

Atomic functions used in external/libcxx/include/atomic when compiled with Clang
will require intrinsic functions exist only for prescott or newer CPUs.

BUG: 17530542
Change-Id: I0c9660ed2ffa75b940981eb8165d88934b39aec5
Add OpenJDK 8 experimental support

Targeting 1.7: just adding support for the tools.

Various issues exist with OpenJDK 8: it doesn't build to completion
yet.

Change-Id: I54942f497264234e4bef488c8d17d243b4ef2f14
Pull in latest protolib when using LOCAL_PROTOC_OPTIMIZE_TYPE.

If a module is explicitly depending on a versioned protolib, we strip
the dependency and log a warning so the unneeded dependency can be
removed.

Change-Id: I949d32fb5126f1c05e2a6ed48f6636a4a9b15a48
Merge "Raise x86 arch requirement to prescott."
Don't sort shared library link order.

Only sort the list of shared libraries used for naming dependencies,
not the order they are actually linked in. The order in which shared
libraries appear to the linker affects which symbols get used if there
is a multiply defined symbol.

Also link system shared libraries _after_ user provided libraries,
since a user will want their functions to override the system's if
they exist.

Change-Id: I071059d940d40a648d69d90e0699073ef520138a
Merge "Don't sort shared library link order."
Add unknown flag to CLANG_CONFIG_UNKNOWN_CFLAGS.

BUG: 18108271
Change-Id: Id929cad31340d2946027603c1c8c8fb1cb60f66a
Merge "Add unknown flag to CLANG_CONFIG_UNKNOWN_CFLAGS."
Merge "Add OpenJDK 8 experimental support"
Specify -mcpu=krait for clang.

Change-Id: I64682cddf57246341c1727ca16c56f7ce0c6fd0a
Merge "Specify -mcpu=krait for clang."
Merge "Pull in latest protolib when using LOCAL_PROTOC_OPTIMIZE_TYPE."
Add -fcolor-diagnostics to global clang cflags.

Bug: 18187181
Change-Id: Ifcbe34b685b1dfd7ffc801bcdad7bd8208e45f86
Merge "Add -fcolor-diagnostics to global clang cflags."
Mark qemu_device as a mlstrustedobject.

Allow apps running with any level to write to it.

Change-Id: I8fca1f377e14c624db5273bdacf8400addc6210d
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
Merge "Mark qemu_device as a mlstrustedobject."
Label goldfish block devices with their own types.

This assigns block device types as per device/generic/goldfish/fstab.goldfish.
Eliminates (permissive) avc:  denied messages for fsck.

Change-Id: Ia72bdfb16975f051548b6b2c0636e4f907295789
Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
Merge "Label goldfish block devices with their own types."
Never use ASAN for acp.

Since acp is needed to build the ASAN libs, we can't use ASAN to
instrument it. Since libhost is included statically in acp, we can't
instrument that either.

Change-Id: Idb389df945380b6ef447fc3d3ead8be27ec09011
Replacement for gdbclient

 Differences between this implementation and the old one:
 1. Resolves symbols/gdb based on device information (lunch
    target is irrelevant)
 2. Works with downloaded from build-server symbols
 3. Does not require user to specify exe file - detects it automatically

Change-Id: I4e7ce0a51868634593a9f104fe3f2fa67b54ca9f