Make jgrep, cgrep, resgrep not recurse into 'out' directory.

Change-Id: Ieadfe63075aacccb637ddafe6518f5fad62dcd02
Signed-off-by: Anatolii Shuba <x0158321@ti.com>
gettop: fix symlink detection

Summary: We must use the -P flag for pwd to properly get $PWD from the environment *with* symlinks. Otherwise symlink
detection is broken and anything we do using $(gettop) at the top of a symlinked path won't work properly. I noticed this
issue while running on a system that has a SSD RAID symlinked to my android build home directory, which is ~/ssd_storage.
The top in this instance is a symlink, which means that gettop() returns my home path, or the path above the symlink
directory (but not the symlinked directory). This is a major issue in case developers choose to use $(gettop),
$ANDROID_BUILD_TOP, or $T (doesn't really matter either way).

Test Plan: Create a symlink and sync android source into the path. Open up the symlink, run envsetup.sh, and check
$(gettop) output.

While this isn't the best solution, it fixes an issue without creating new issues.

Change-Id: I65bc345753805e6161098d2af6e0bee0b07d37b1
Add blkid to all builds for use by vold.

vold now uses blkid to extract UUID and label information from
inserted physical devices.

Bug: 11175082
Change-Id: I56ebe733ff85a498f6d3cbdcf21d40ddc6123f82
Merge "Add blkid to all builds for use by vold." into klp-dev
am 53619434: Merge "Add blkid to all builds for use by vold." into klp-dev

* commit '53619434ed56043841256dfb2074662dbd0acc5e':
  Add blkid to all builds for use by vold.
"KOT18"
am ad6996a6: am 34cf868b: Merge "Point to the uapi header location for aarch64."

* commit 'ad6996a611c0af563edcb352828d3bd55cf85585':
  Point to the uapi header location for aarch64.
Include drawables for all densities - b/11270325

Change-Id: I0b1f9b930a13982756dca9428ca91aec0ef343f5
am 0068d25b: Include drawables for all densities - b/11270325

* commit '0068d25b4895162993118fe3b61d2775fa575e70':
  Include drawables for all densities - b/11270325
merge in klp-mr1-release history after reset to klp-dev
"KOT21"
merge in klp-mr1-release history after reset to klp-dev
"KOT22"
Modify release tools to replace certs in MMAC files.

Added support to perform a string replace of specified
dev keys with release keys when using the release tool
scripts.

Signed-off-by: rpcraig <rpcraig@tycho.ncsc.mil>

(cherry picked from commit 817c574d753191c52acd5787da02bb853d4ac090)

Change-Id: I51be8d62945436d3f374f51867295c5b792d4b53
Bug: 11334314
am a6e0466a: Modify release tools to replace certs in MMAC files.

* commit 'a6e0466ab5771ab1b9f806b9411015b5ff9852f6':
  Modify release tools to replace certs in MMAC files.
merge in klp-mr1-release history after reset to klp-dev
"KOT23"
Waiting till post MR0 - this impacts signing tools for MR0.

Revert "Modify release tools to replace certs in MMAC files."

This reverts commit a6e0466ab5771ab1b9f806b9411015b5ff9852f6.

Change-Id: Ib7819185bad119013f307ce4301d5f02190e14ed
avoid // in copy headers rule

If LOCAL_COPY_HEADERS_TO is not set, then the copy headers rule
target is set to out/target/product/../obj/include//header.h.
If another rule depends on the header without the //, it will
fail.  Don't insert LOCAL_COPY_HEADERS_TO if it is blank.

Change-Id: Ideac7f8e01288ab5cca98645b307945d6ae9e97c
Merge "avoid // in copy headers rule" into klp-dev