build: New macro to extended the AOSP include directories

New macro to extended the AOSP include directories

Change-Id: I7c3679b519760a1c83568277920331064fb046fd
Signed-off-by: Chetan Rao <chetan.rao@intel.com>
Signed-off-by: Jian Luo <jian.luo@intel.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
Signed-off-by: Jack Ren <jack.ren@intel.com>
Author-tracking-BZ: 104519
Add Android.mk command to import headers without import symbols

LOCAL_COPY_HEADERS is deprecated by Android, we have to use
LOCAL_EXPORT_C_INCLUDE_DIRS instead.
In test we need to import a header without link with the library.
We replace the body of the function by a stub or a mock.
But we need to have the same prototype of the function by importing the
header. But there are no way to import a header exported by a
LOCAL_EXPORT_C_INCLUDE_DIRS without link with the library.

This patch add 2 new LOCAL variables
LOCAL_IMPORT_C_INCLUDE_DIRS_FROM_STATIC_LIBRARIES and
LOCAL_IMPORT_C_INCLUDE_DIRS_FROM_SHARED_LIBRARIES to import include
from libraries without import symbols.

Change-Id: I6f668c900003e27ba3c2ce0d2ab9200b6f058faf
Signed-off-by: Jeremie Graulle <jeremiex.graulle@intel.com>
Signed-off-by: Jian Luo <jian.luo@intel.com>
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
Signed-off-by: Jack Ren <jack.ren@intel.com>
Author-tracking-BZ: 117000
Removed and Tweaked Some Build Flags