always use output timestamp for deps
authorEvan Martin <martine@danga.com>
Wed, 10 Apr 2013 19:49:23 +0000 (12:49 -0700)
committerEvan Martin <martine@danga.com>
Wed, 10 Apr 2013 19:49:23 +0000 (12:49 -0700)
commit53339104c51139f7ed5f1265bae3062d157f5311
tree8e40fa910c80d33e2dc3b17dacf5ca53c7a6b2bd
parent808393fcf01d5211ab062acd3dea46ed8041f829
always use output timestamp for deps

Using the timestamp of the .d file was wrong.  It can be written
at a different time than the output, and it is immediately deleted
after parsing; only the output remains for subsequent timestamp
comparison purposes, so always use the output's timestamp.  (This
is how the code worked on Windows already.)
src/build.cc
src/build.h