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

This commit is contained in:
Colin Cross 2016-09-23 14:47:51 +00:00 committed by Gerrit Code Review
commit fe040c48e6
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",