martine/ninja — pull request #405 by maximuska (2012-08-29 20:33:07+00:00)
Title: safer build: consider target dirty if depfile is missing

always rebuild target if dep file is missing.

I've considered also another variant (branch: dirty-on-missing-depfile), with comparing mtime of the depfile to target to rebuild on missing or newer depfile to be consistent with the logic in restat clean. But this would add another 'stat' on the critical path, and I don't see the real advantage in this test.