DescriptionUse contents of python deps to get md5 stamp instead of paths only
While contents of python dependencies doesn't affect contents of a depfile it
definitely affects the output: typical usage of CallAndWriteDepfileIfStale only
regenerates script's output if md5 sum changes, in a helper function. If content
of the python file (like lint.py) isn't used to generate md5 then it leads to
weird results: do a full build, change lint.py to always throw exception in
_OnStaleMd5, re-run build, but nothing happens, _OnStaleMd5 isn't called.
BUG=619329
Committed: https://crrev.com/3218d50d461833795d64c71f8b4c0517e58a8b50
Cr-Commit-Position: refs/heads/master@{#400012}
Patch Set 1 #
Messages
Total messages: 14 (7 generated)
|