aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorDan Willemsen2019-02-04 22:58:25 -0600
committerDan Willemsen2019-02-04 22:58:25 -0600
commitdcac078c91dd6ca3bf81fc41c202aa8caa4ac4e4 (patch)
tree507fd0ff8d7f6b3e0d1d2d842ecce4a026072bec /ui
parent363cab0bea5e06d31fe591c762c6fe1a4bd89879 (diff)
downloadplatform-build-soong-dcac078c91dd6ca3bf81fc41c202aa8caa4ac4e4.tar.gz
platform-build-soong-dcac078c91dd6ca3bf81fc41c202aa8caa4ac4e4.tar.xz
platform-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) {
202 defer ctx.EndTrace() 202 defer ctx.EndTrace()
203 203
204 runKati(ctx, config, katiCleanspecSuffix, []string{ 204 runKati(ctx, config, katiCleanspecSuffix, []string{
205 "--werror_writable",
205 "--werror_implicit_rules", 206 "--werror_implicit_rules",
206 "--werror_overriding_commands", 207 "--werror_overriding_commands",
208 "--werror_real_to_phony",
209 "--werror_phony_looks_real",
207 "-f", "build/make/core/cleanbuild.mk", 210 "-f", "build/make/core/cleanbuild.mk",
208 "SOONG_MAKEVARS_MK=" + config.SoongMakeVarsMk(), 211 "SOONG_MAKEVARS_MK=" + config.SoongMakeVarsMk(),
209 "TARGET_DEVICE_DIR=" + config.TargetDeviceDir(), 212 "TARGET_DEVICE_DIR=" + config.TargetDeviceDir(),