Merge "No need to dump modules added -Werror."

am: 5760c9a12c

Change-Id: I465d2534cdbf351aed1c7c06966518f199391ea0
This commit is contained in:
Chih-Hung Hsieh 2017-12-05 01:20:34 +00:00 committed by android-build-merger
commit 7197aaee21
2 changed files with 0 additions and 3 deletions

View file

@ -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...)
}
}

View file

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