From 328f04e7783d8fb283d8e2fcafc531890f90e601 Mon Sep 17 00:00:00 2001 From: Colin Cross Date: Thu, 3 Nov 2016 15:45:34 -0700 Subject: [PATCH] Move more includes from -isystem to -I -isystem hides all warnings. There were no warnings in hardware/libhardware_legacy/include, hardware/ril/include, or libnativehelper/include, move them from -isystem to -I. Test: m -j native Bug: 31751828 Change-Id: I64cf08b6f6a7f2cfbb19f7d3cc2d2cc9f0157a38 --- cc/config/global.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cc/config/global.go b/cc/config/global.go index 348c586cb..438ad82b5 100644 --- a/cc/config/global.go +++ b/cc/config/global.go @@ -104,13 +104,13 @@ func init() { "system/core/include", "system/media/audio/include", "hardware/libhardware/include", + "hardware/libhardware_legacy/include", + "hardware/ril/include", + "libnativehelper/include", "frameworks/native/include", }) pctx.PrefixedPathsForOptionalSourceVariable("CommonGlobalSystemIncludes", "-isystem ", []string{ - "hardware/libhardware_legacy/include", - "hardware/ril/include", - "libnativehelper/include", "frameworks/native/opengl/include", "frameworks/av/include", "frameworks/base/include",