From 1928093246093328a5ab6f57baa2361a0d458f6c Mon Sep 17 00:00:00 2001 From: Colin Cross Date: Wed, 5 Oct 2016 12:36:42 -0700 Subject: [PATCH] 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 --- cc/config/global.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cc/config/global.go b/cc/config/global.go index ae43301a2..ffd9d800a 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",