Merge "No need to dump modules added -Werror." am: 5760c9a12c
am: 7197aaee21
am: 3cebffc7fc
Change-Id: Ibe19b02589765626fcb8b6f61180a85072b34149
This commit is contained in:
commit
24d2de496a
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