Add default -Werror to hardware/qcom projects
Bug: 66996870
Test: normal build
Change-Id: Ic8b6a5ea808fbd0f377c7bac002a9b03bf8236be
diff --git a/cc/config/global.go b/cc/config/global.go
index c10c60a..ef710c8 100644
--- a/cc/config/global.go
+++ b/cc/config/global.go
@@ -119,15 +119,14 @@
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")