OSDN Git Service

Remove --ignore_dirty=$(OUT_DIR)/% from Kati flags
authorDan Willemsen <dwillemsen@google.com>
Sat, 10 Sep 2016 06:18:22 +0000 (23:18 -0700)
committerDan Willemsen <dwillemsen@google.com>
Thu, 22 Dec 2016 22:19:19 +0000 (22:19 +0000)
commit584e4724ba73af5ac8e79ad6ff6b71753879f22c
tree36a4003360b015125f1163426c7b3bdd4b551404
parentf9678496939f183940b2500fe611565a81255e5b
Remove --ignore_dirty=$(OUT_DIR)/% from Kati flags

We really should be re-running Kati when a file in here changes, since
it may actually affect the result. The general problem we've run into is
when there are two kati output files that are clean according to the
current rules, but if they actually ran we'd force an installclean.

This also had the side-effect of not running shell commands that touched
$OUT_DIR, like writing files using $(shell echo ... >out/...), now those
may be run.

This will cause Kati to re-read the makefiles more often -- twice when a
CleanSpec.mk changes, twice when switching products on the same device.
Basically every time we read the old state, do something about it, and
write out the new state, we need to rerun the next time so we aren't
continuously cleaning up what changed.

Bug: 30947985
Test: Manual, switching between configurations; enable --regen_debug
Change-Id: I888f9f8295f318f8214b2c79525cf94f457a5a8b
core/ninja.mk