Use 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

Review-Url: https://codereview.chromium.org/2061573002
Cr-Commit-Position: refs/heads/master@{#400012}


CrOS-Libchrome-Original-Commit: 3218d50d461833795d64c71f8b4c0517e58a8b50
1 file changed
tree: 667a6a858984a9538f375ef5c047eaa41b7433a0
  1. base/
  2. build/
  3. components/
  4. dbus/
  5. device/
  6. ipc/
  7. mojo/
  8. testing/
  9. third_party/
  10. ui/