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

This commit is contained in:
Colin Cross
2016-09-26 01:07:09 +00:00
committed by Gerrit Code Review

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",