aboutsummaryrefslogtreecommitdiffstats
path: root/cc
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:39:58 -0700
commit1928093246093328a5ab6f57baa2361a0d458f6c (patch)
treeb74420107f32227cc9a853aeedf6f1fee3bfc6cf /cc
parent6648ab014336217789d672a44babd7ff8edbabe2 (diff)
downloadbuild_soong-1928093246093328a5ab6f57baa2361a0d458f6c.tar.gz
build_soong-1928093246093328a5ab6f57baa2361a0d458f6c.tar.bz2
build_soong-1928093246093328a5ab6f57baa2361a0d458f6c.zip
Move system/media/audio/include from -isystem to -I
-isystem hides all warnings. The warnings in system/media/audio/include have been cleaned up, so move it from -isystem to -I. Test: m -j Bug: 31997134 Change-Id: I1c0b68935d643992dd9fc7f76583bed286e49325
Diffstat (limited to 'cc')
-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 ae43301a..ffd9d800 100644
--- a/cc/config/global.go
+++ b/cc/config/global.go
@@ -95,11 +95,11 @@ func init() {
pctx.PrefixedPathsForOptionalSourceVariable("CommonGlobalIncludes", "-I",
[]string{
"system/core/include",
+ "system/media/audio/include",
"frameworks/native/include",
})
pctx.PrefixedPathsForOptionalSourceVariable("CommonGlobalSystemIncludes", "-isystem ",
[]string{
- "system/media/audio/include",
"hardware/libhardware/include",
"hardware/libhardware_legacy/include",
"hardware/ril/include",