aboutsummaryrefslogtreecommitdiffstats
path: root/cc/config
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2016-10-05 12:36:42 -0700
committerColin Cross <ccross@android.com>2016-10-07 11:40:04 -0700
commit2d44c2c7167812fa7782e5f3d945d320f20ff8a1 (patch)
tree06d821cf7909a60b9186ee94b7d3e0023e278f8b /cc/config
parent1928093246093328a5ab6f57baa2361a0d458f6c (diff)
downloadbuild_soong-2d44c2c7167812fa7782e5f3d945d320f20ff8a1.tar.gz
build_soong-2d44c2c7167812fa7782e5f3d945d320f20ff8a1.tar.bz2
build_soong-2d44c2c7167812fa7782e5f3d945d320f20ff8a1.zip
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
Diffstat (limited to 'cc/config')
-rw-r--r--cc/config/global.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cc/config/global.go b/cc/config/global.go
index ffd9d800..7209d16f 100644
--- a/cc/config/global.go
+++ b/cc/config/global.go
@@ -96,11 +96,11 @@ func init() {
[]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",