Add default -Werror to hardware/qcom projects

Bug: 66996870
Test: normal build
Change-Id: Ic8b6a5ea808fbd0f377c7bac002a9b03bf8236be
This commit is contained in:
Chih-Hung Hsieh 2017-12-24 22:24:47 -08:00 committed by Chih-hung Hsieh
parent e2fb6294e9
commit 775edde1f8
1 changed files with 3 additions and 4 deletions

View File

@ -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")