aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorDan Willemsen <dwillemsen@google.com>2019-02-04 20:58:25 -0800
committerDan Willemsen <dwillemsen@google.com>2019-02-04 20:58:25 -0800
commitdcac078c91dd6ca3bf81fc41c202aa8caa4ac4e4 (patch)
tree507fd0ff8d7f6b3e0d1d2d842ecce4a026072bec /ui
parent363cab0bea5e06d31fe591c762c6fe1a4bd89879 (diff)
downloadbuild_soong-dcac078c91dd6ca3bf81fc41c202aa8caa4ac4e4.tar.gz
build_soong-dcac078c91dd6ca3bf81fc41c202aa8caa4ac4e4.tar.bz2
build_soong-dcac078c91dd6ca3bf81fc41c202aa8caa4ac4e4.zip
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
Diffstat (limited to 'ui')
-rw-r--r--ui/build/kati.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/ui/build/kati.go b/ui/build/kati.go
index f924b9cc..959d0bdf 100644
--- a/ui/build/kati.go
+++ b/ui/build/kati.go
@@ -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(),