From 775edde1f8978cbdb514747095516e0ec22d1ebb Mon Sep 17 00:00:00 2001 From: Chih-Hung Hsieh Date: Sun, 24 Dec 2017 22:24:47 -0800 Subject: [PATCH] Add default -Werror to hardware/qcom projects Bug: 66996870 Test: normal build Change-Id: Ic8b6a5ea808fbd0f377c7bac002a9b03bf8236be --- cc/config/global.go | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/cc/config/global.go b/cc/config/global.go index c10c60a58..ef710c870 100644 --- a/cc/config/global.go +++ b/cc/config/global.go @@ -119,15 +119,14 @@ var ( ClangDefaultVersion = "clang-4393122" ClangDefaultShortVersion = "5.0.1" + // Directories with warnings from Android.bp files. WarningAllowedProjects = []string{ "device/", "vendor/", } - // Some Android.mk files still have warnings. - WarningAllowedOldProjects = []string{ - "hardware/qcom/", - } + // Directories with warnings from Android.mk files. + WarningAllowedOldProjects = []string{} ) var pctx = android.NewPackageContext("android/soong/cc/config")