Fixes to make_ext4fs when compiled with HAVE_SELINUX.

Set HAVE_SELINUX flag for host compilation of make_ext4fs.

Fix a segfault in contents.c.

Change-Id: I77c39b2cda5f3aa572b5ed8a4f2e5da78341eed6
am 400e9bc8: am 47aa1049: Merge "Fixes to make_ext4fs when compiled with HAVE_SELINUX."

* commit '400e9bc8d3c449da234e70abe319bc2670c94298':
  Fixes to make_ext4fs when compiled with HAVE_SELINUX.
am a3a75d95: am b9314021: atrace: enable running on user builds

* commit 'a3a75d956e502f924dc29f4f29c7d46f0f8e4e56':
  atrace: enable running on user builds
am 952a2aaa: am 2633ce5c: Add some tools for testing ext4 performance and resiliency.

* commit '952a2aaa3780074390d5a13f11f0ef7ac264724a':
  Add some tools for testing ext4 performance and resiliency.
am d2b6666e: am 32243fad: Fix a few bugs in rand_emmc_perf

* commit 'd2b6666effb387c9052cd63378c6d5ddd1c0d1c7':
  Fix a few bugs in rand_emmc_perf
am cab03682: Merge changes I32c33626,I93bc9cf9,I1f66f6c3

* commit 'cab036827411791e8f197a0194f95faad6f12cec':
  make_ext4fs: allow sparse gzip files
  libsparse: make API sane
  Refactor sparse file support into libsparse
am fc3e87f7: Merge "system/extras/ext4_utils: move libsparse to system/core"

* commit 'fc3e87f70ba3c896ea5a85df3648623f207f88cc':
  system/extras/ext4_utils: move libsparse to system/core
am 983ce573: Merge "Fix SELinux labeling for system.img"

* commit '983ce5738cee0bf78b87d6274fe1387129768302':
  Fix SELinux labeling for system.img
allow java build if supported

- send_bug requires platform API support which is
  enabled in PDK fusion build with platform.zip from platform-java build

Change-Id: I3285f595eb2a310a34770d40fa0b7c606669f1bf
Add directory tree traversal benchmark.

Generates a directory tree with requested depth, also writing files
at each leaf to add width.  Then it times traversal of entire tree,
which can reveal impact of VFS caching inside kernel.

Also specify mode_t when creating files.

Bug: 6925012
Change-Id: I65370d6fd0b9777e959be3a0867f27ce22ee4644
Merge "Add directory tree traversal benchmark." into jb-mr1-dev
am 332e8bab: Merge "Avoid dereferencing NULL pointer with memcmp in the test code."

* commit '332e8babe350433b320efc9484f15a5dbdd8c68f':
  Avoid dereferencing NULL pointer with memcmp in the test code.
sendbug improvements on email address handling

* use a property to indicate a preferred domain in case multiple
  email addresses are detected; otherwise just pick the first
  one that matches email address regex
* don't fire the intent if no email account is configured, there
  have been reports on confusing behavior when capturing
  bugreport for setup wizard

Bug: 6720467
Change-Id: Ib9b0b8a09e4e565b2531f3ec53723cd46186596f
sendbug improvements on email address handling

* use a property to indicate a preferred domain in case multiple
  email addresses are detected; otherwise just pick the first
  one that matches email address regex
* don't fire the intent if no email account is configured, there
  have been reports on confusing behavior when capturing
  bugreport for setup wizard

Bug: 6720467
Change-Id: Ib9b0b8a09e4e565b2531f3ec53723cd46186596f
Add manta support to android_emmc_perf_tests.sh

Also tweak the script a little bit.  This is only for testing,
and doesn't ship in any product.

Change-Id: I9506d6babddef91fc6d9c0083064e0ef8a2d70a8
Merge "Add manta support to android_emmc_perf_tests.sh" into jb-mr1-dev
merge in jb-mr1-release history after reset to jb-mr1-dev
Reconcile with jb-mr1-release - do not merge

Change-Id: I024b531fa1a5981a894bbd56f91e263b15928a1b
Support custom path when saving bugreports.

When running on multi-user devices, we need to save bugreport data
to a write path, and launch intents using a different read path.

Bug: 6925012
Change-Id: I32773b733e8a4dd75a30f5b9b05424c4238243af
Merge "Support custom path when saving bugreports." into jb-mr1-dev