Move more includes from -isystem to -I
-isystem hides all warnings. There were no warnings in
hardware/libhardware_legacy/include, hardware/ril/include, or
libnativehelper/include, move them from -isystem to -I.
Test: m -j native
Bug: 31751828
Change-Id: I64cf08b6f6a7f2cfbb19f7d3cc2d2cc9f0157a38
diff --git a/cc/config/global.go b/cc/config/global.go
index 348c586..438ad82 100644
--- a/cc/config/global.go
+++ b/cc/config/global.go
@@ -104,13 +104,13 @@
"system/core/include",
"system/media/audio/include",
"hardware/libhardware/include",
+ "hardware/libhardware_legacy/include",
+ "hardware/ril/include",
+ "libnativehelper/include",
"frameworks/native/include",
})
pctx.PrefixedPathsForOptionalSourceVariable("CommonGlobalSystemIncludes", "-isystem ",
[]string{
- "hardware/libhardware_legacy/include",
- "hardware/ril/include",
- "libnativehelper/include",
"frameworks/native/opengl/include",
"frameworks/av/include",
"frameworks/base/include",