From 315a6ffc99a67b43782bd2f627bc981bfd5ed7aa Mon Sep 17 00:00:00 2001 From: Colin Cross Date: Wed, 5 Oct 2016 12:36:42 -0700 Subject: [PATCH] Move frameworks/native/include from -isystem to -I -isystem hides all warnings. The warnings in frameworks/native/include have been cleaned up, so move it from -isystem to -I. Test: m -j checkbuild Bug: 31752268 Change-Id: Ie3656348b5b2a1828dec790aa047635ac0fe6d86 --- 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 0a7bdc5f8..ae43301a2 100644 --- a/cc/config/global.go +++ b/cc/config/global.go @@ -95,6 +95,7 @@ func init() { pctx.PrefixedPathsForOptionalSourceVariable("CommonGlobalIncludes", "-I", []string{ "system/core/include", + "frameworks/native/include", }) pctx.PrefixedPathsForOptionalSourceVariable("CommonGlobalSystemIncludes", "-isystem ", []string{ @@ -103,7 +104,6 @@ func init() { "hardware/libhardware_legacy/include", "hardware/ril/include", "libnativehelper/include", - "frameworks/native/include", "frameworks/native/opengl/include", "frameworks/av/include", "frameworks/base/include",