summaryrefslogtreecommitdiff
path: root/java/java.go
diff options
context:
space:
mode:
author Dan Willemsen <dwillemsen@google.com> 2018-07-23 23:09:05 -0700
committer Dan Willemsen <dwillemsen@google.com> 2018-07-23 23:09:05 -0700
commitf880b58970005389583b1aab58188709c3ba0417 (patch)
tree6fcb398cce2823a7534b65b3cc71f8b961d60c2c /java/java.go
parent742a5453c26548607c531239642e0c55d111a952 (diff)
Turn on phony checks
--warn_real_to_phony will print a warning any time that a non-PHONY rule depends on a PHONY rule. Since PHONY rules are always considered dirty this would force rebuilds on every incremental build. Real rules should always depend on rules that have real outputs. --warn_phony_looks_real will print a warning any time that a PHONY rule has an output that looks like a file (has as / in it). This is can cause confusion for users if it's not a real file, and it shouldn't be marked as PHONY if it will be run every time (since that will slow down incremental builds). Test: run build_test on downstream branches, see few warnings Change-Id: Id135c85c991976be33cd48a34eba0caaff1eda2c
Diffstat (limited to 'java/java.go')
0 files changed, 0 insertions, 0 deletions