Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dcac078c authored by Dan Willemsen's avatar Dan Willemsen
Browse files

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
parent 363cab0b
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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(),