Merge "No need to dump modules added -Werror."
This commit is contained in:
commit
5760c9a12c
2 changed files with 0 additions and 3 deletions
|
@ -488,7 +488,6 @@ func (compiler *baseCompiler) compilerFlags(ctx ModuleContext, flags Flags, deps
|
|||
addToModuleList(ctx, modulesAddedWall, module)
|
||||
flags.CFlags = append([]string{"-Wall"}, flags.CFlags...)
|
||||
} else {
|
||||
addToModuleList(ctx, modulesAddedWerror, module)
|
||||
flags.CFlags = append([]string{"-Wall", "-Werror"}, flags.CFlags...)
|
||||
}
|
||||
}
|
||||
|
|
|
@ -26,7 +26,6 @@ import (
|
|||
|
||||
const (
|
||||
modulesAddedWall = "ModulesAddedWall"
|
||||
modulesAddedWerror = "ModulesAddedWerror"
|
||||
modulesUsingWnoError = "ModulesUsingWnoError"
|
||||
)
|
||||
|
||||
|
@ -102,7 +101,6 @@ func makeVarsProvider(ctx android.MakeVarsContext) {
|
|||
|
||||
ctx.Strict("ANDROID_WARNING_ALLOWED_PROJECTS", makeStringOfWarningAllowedProjects())
|
||||
ctx.Strict("SOONG_MODULES_ADDED_WALL", makeStringOfKeys(ctx, modulesAddedWall))
|
||||
ctx.Strict("SOONG_MODULES_ADDED_WERROR", makeStringOfKeys(ctx, modulesAddedWerror))
|
||||
ctx.Strict("SOONG_MODULES_USING_WNO_ERROR", makeStringOfKeys(ctx, modulesUsingWnoError))
|
||||
|
||||
ctx.Strict("ADDRESS_SANITIZER_CONFIG_EXTRA_CFLAGS", strings.Join(asanCflags, " "))
|
||||
|
|
Loading…
Reference in a new issue