FDO: do not support host modules

Summary:
If built with BUILD_FDO_INSTRUMENT alone, host modules will fail at runtime (during build)
due to failing to create /data in most standard unix user permission cases. If the user does
have full permission to /, /data/profile/ will be created and profiles will be generated there.
Any file generation in the Android Build System should be kept to $OUT.

This commit fixes this bug.

Test Plan:
Build with BUILD_FDO_INSTRUMENT without additional configuration, and host modules will no longer generate profiles
at their runtime.
Adding the missing audio files into the SDK system image

The system audio files are not included in the SDK image makefile.
It causes the audio effects cannot be played in the SDK image.
It also fixed lots of error messages in the logcat.

Change-Id: I1670b2b9e4f8fe6709cd68b8e792e2f8c289876f
Link PRIVATE_TARGET_FDO_LIB before shared libraries

For global declaration of FDO profile generation and usage,
we need to link PRIVATE_TARGET_FDO_LIB (libgcov.a by default)
prior to linking shared libraries.

TARGET_FDO_LIB is set if feedback directed optimizations
are in use, so we do not need to worry about consistent size
increases from this change.

Change-Id: I543903f58893816f037c9466f31b19dfe822fdf4
Merge "FDO: do not support host modules"
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.

Change-Id: Id0e945b0d62720c41f5ca9764a00de4bcdecaab4
Signed-off-by: rpcraig <rpcraig@tycho.ncsc.mil>
Merge "Modify release tools to replace certs in MMAC files."
am 515e0465: Merge "FDO: do not support host modules"

* commit '515e0465d169905e7e454207f3cbb2a57a033ae1':
  FDO: do not support host modules
am a3f69c93: Merge "Modify release tools to replace certs in MMAC files."

* commit 'a3f69c933430e5117b5e37e786487abd3a3488ce':
  Modify release tools to replace certs in MMAC files.
am 2e45116d: am 515e0465: Merge "FDO: do not support host modules"

* commit '2e45116d3a9c1ab055dd7a6a93bb4ab79414c081':
  FDO: do not support host modules
am 0a7e26e2: am a3f69c93: Merge "Modify release tools to replace certs in MMAC files."

* commit '0a7e26e29dfb5efbb008ced7509931e5e5eb4d71':
  Modify release tools to replace certs in MMAC files.
Merge "Link PRIVATE_TARGET_FDO_LIB before shared libraries"
am e58868ab: Merge "Link PRIVATE_TARGET_FDO_LIB before shared libraries"

* commit 'e58868ab47fc044e9e7985c8357d83fee4df732a':
  Link PRIVATE_TARGET_FDO_LIB before shared libraries
am 01c17f03: am e58868ab: Merge "Link PRIVATE_TARGET_FDO_LIB before shared libraries"

* commit '01c17f031286691abeb157cd26ac1785757f07f0':
  Link PRIVATE_TARGET_FDO_LIB before shared libraries
am ad7fd29b: Don\'t bother going through the source tree

* commit 'ad7fd29b312bf588b2be3f799715f34ff8a6d46b':
  Don't bother going through the source tree
FDO: support linux-x86 target

Change-Id: I4a3a1d298176da109df316cf9128f19e77490bc9
mkbootimg: Support custom mkbootimg implementation

Support using custom mkbootimg to allow boards to specify custom
boot image formats. Also export this as the environment variable
MKBOOTIMG to the *_from_target_files releasetools scripts.

Change-Id: I2084273b1175de097fb7da5c4f2264ea8014d74f
Signed-off-by: Bjorn Andersson <bjorn.andersson@sonymobile.com>
am 5e1e791f: am 5aac97cb: (-s ours) Reconcile with jb-mr2-release jb-mr2-zeroday-release jb-mr2-zeroday-deb-release - do not merge

* commit '5e1e791f3aaf6661ff4a21fe5b00f264057e862d':
  "JLS36B"
  JWR66X
  JSS15P
Merge "FDO: support linux-x86 target"
am 2863fa7a: Merge "FDO: support linux-x86 target"

* commit '2863fa7a9650fa6df38da61329e2f49d5233c3df':
  FDO: support linux-x86 target
am 4c3a82fa: am 2863fa7a: Merge "FDO: support linux-x86 target"

* commit '4c3a82fa62f8bfd4b0553cbd21b439ff2502d639':
  FDO: support linux-x86 target