Revert "Revert "Move system/core/include from -isystem to -I""

This reverts commit 763a26cef5.

Bug: 31492149
Change-Id: I322f5e31da306951ac13131f5113730e945dedd5
This commit is contained in:
Colin Cross 2016-09-23 19:20:54 +00:00
parent 763a26cef5
commit 81b4ca6817
1 changed files with 3 additions and 2 deletions

View File

@ -93,10 +93,11 @@ func init() {
// Everything in these lists is a crime against abstraction and dependency tracking.
// Do not add anything to this list.
pctx.PrefixedPathsForOptionalSourceVariable("CommonGlobalIncludes", "-I",
[]string{})
pctx.PrefixedPathsForOptionalSourceVariable("CommonGlobalSystemIncludes", "-isystem ",
[]string{
"system/core/include",
})
pctx.PrefixedPathsForOptionalSourceVariable("CommonGlobalSystemIncludes", "-isystem ",
[]string{
"system/media/audio/include",
"hardware/libhardware/include",
"hardware/libhardware_legacy/include",