Add some more flags to CLANG_CONFIG_UNKNOWN_CFLAGS

Add some more gcc specific flags that are used somewhere in the tree
(e.g. external/chromium_org) to CLANG_CONFIG_UNKNOWN_CFLAGS

Change-Id: Icc572fdb6ea4ba818c4d18e430296589eb61bf55
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
Add HOST_PREFER_32_BIT to support 32-bit-by-default multilib build

We already support pure 32-bit and 64-bit-by-default multilib build.
With HOST_PREFER_32_BIT we can build 32-bit-by-default multilib build.
This will be lest disruptive during the period we transition to
64-bit-by-default.

Bug: 13751317
Change-Id: I0d56ce4abbe4afeaacfd70d709f6a349791c0722
Remove netd_client. It has moved to the internal tree.

Change-Id: Iffcdb4900373c05086fd1085b861b6520065b7a3
Merge "Remove netd_client. It has moved to the internal tree."
libctest: zap

Change-Id: Ia3ff0cad0995af428adf2dbdf10587dae904ec7d
Merge "libctest: zap"
Split the rules to build the odex file

Previously the odex file is byproduct generated by the package.apk rule.
Though we have the odex file depend on the package.apk it doesn't have
its own build recipe. In case package.apk isn't updated but we still
need to update the odex file (such as changed LOCAL_MULTILIB), the odex
file will never be rebuilt.
This change split out the rules to build the odex file and make sure the
build recipe get executed if the odex file needs rebuild.

Change-Id: I60c2f32b536b3d59045301ee863aae1451734aad
Clarify multiarch warnings

 * Show multiarch related warnings only if my_module_multilib is both

Change-Id: If0c467c1d9b953bd3f40949ab4b97d9329ec021f
Merge "Clarify multiarch warnings"
Merge "Split the rules to build the odex file"
Merge "Add some more flags to CLANG_CONFIG_UNKNOWN_CFLAGS"
fix paths when 2nd arch gcc is a different version

arm64 is using gcc 4.9, arm is using gcc 4.8.  Fix setpaths() to
get a separate version for the 2nd arch.

Change-Id: I7bde01308fc7718360e7d0fbd46b3ae8c5f55fa7
add 2nd arch gcc to the path

Add the 2nd arch gcc to the path so users can manually run gdb,
addr2line, objdump, etc.

Change-Id: I30ff439bb6548b897d13bfa87151991d5f2948b3
add vendor directories to gdb shared library search path

Change-Id: Ib4ccf3739d6b2f14597605ce06f00e4776f67976
set a prebuilt directory name for the 2nd arch

In order to install 32-bit gdbserver on a 64-bit build,
prebuilts/misc/Android.mk needs to know the prebuilt directory name
for the 2nd arch.

Change-Id: Ibc943b758eb9404f7f5f9fbbd8720cc67f6a6f01
Merge changes Ibc943b75,Ib4ccf373,I30ff439b,I7bde0130

* changes:
  set a prebuilt directory name for the 2nd arch
  add vendor directories to gdb shared library search path
  add 2nd arch gcc to the path
  fix paths when 2nd arch gcc is a different version
auto-merger: merge in from aosp/master
Merge "Add HOST_PREFER_32_BIT to support 32-bit-by-default multilib build"
auto-merger: merge in from aosp/master