Turn on more warnings during CleanSpec processing
We don't want these to be warnings, may as well be errors instead of turning off the warnings. Bug: 123583617 Test: treehugger Change-Id: I6ca518c9647e712426952cb88bdb044d933b23f2
This commit is contained in:
@@ -202,8 +202,11 @@ func runKatiCleanSpec(ctx Context, config Config) {
|
|||||||
defer ctx.EndTrace()
|
defer ctx.EndTrace()
|
||||||
|
|
||||||
runKati(ctx, config, katiCleanspecSuffix, []string{
|
runKati(ctx, config, katiCleanspecSuffix, []string{
|
||||||
|
"--werror_writable",
|
||||||
"--werror_implicit_rules",
|
"--werror_implicit_rules",
|
||||||
"--werror_overriding_commands",
|
"--werror_overriding_commands",
|
||||||
|
"--werror_real_to_phony",
|
||||||
|
"--werror_phony_looks_real",
|
||||||
"-f", "build/make/core/cleanbuild.mk",
|
"-f", "build/make/core/cleanbuild.mk",
|
||||||
"SOONG_MAKEVARS_MK=" + config.SoongMakeVarsMk(),
|
"SOONG_MAKEVARS_MK=" + config.SoongMakeVarsMk(),
|
||||||
"TARGET_DEVICE_DIR=" + config.TargetDeviceDir(),
|
"TARGET_DEVICE_DIR=" + config.TargetDeviceDir(),
|
||||||
|
Reference in New Issue
Block a user