From 2d44c2c7167812fa7782e5f3d945d320f20ff8a1 Mon Sep 17 00:00:00 2001 From: Colin Cross Date: Wed, 5 Oct 2016 12:36:42 -0700 Subject: [PATCH] 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 --- 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 ffd9d800a..7209d16f3 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",