Move hardware/libhardware/include from -isystem to -I
-isystem hides all warnings. The warnings in hardware/libhardware/include
have been cleaned up, so move it from -isystem to -I.
Test: m -j
Bug: 32018017
Change-Id: I9a602d5e1bd021638d3a92d93af3d2a18ab4caa7
diff --git a/cc/config/global.go b/cc/config/global.go
index ffd9d80..7209d16 100644
--- a/cc/config/global.go
+++ b/cc/config/global.go
@@ -96,11 +96,11 @@
[]string{
"system/core/include",
"system/media/audio/include",
+ "hardware/libhardware/include",
"frameworks/native/include",
})
pctx.PrefixedPathsForOptionalSourceVariable("CommonGlobalSystemIncludes", "-isystem ",
[]string{
- "hardware/libhardware/include",
"hardware/libhardware_legacy/include",
"hardware/ril/include",
"libnativehelper/include",