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:
Dan Willemsen
2019-02-04 20:58:25 -08:00
parent 363cab0bea
commit dcac078c91

View File

@@ -202,8 +202,11 @@ func runKatiCleanSpec(ctx Context, config Config) {
defer ctx.EndTrace()
runKati(ctx, config, katiCleanspecSuffix, []string{
"--werror_writable",
"--werror_implicit_rules",
"--werror_overriding_commands",
"--werror_real_to_phony",
"--werror_phony_looks_real",
"-f", "build/make/core/cleanbuild.mk",
"SOONG_MAKEVARS_MK=" + config.SoongMakeVarsMk(),
"TARGET_DEVICE_DIR=" + config.TargetDeviceDir(),