martine/ninja — pull request #406 by maximuska (2012-08-30 06:34:50+00:00)
Title: safer build: consider target dirty if depfile is missing

(copied from 405, fixed the test)

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.