Use Clang's update.py --print-revision everywhere.
commit828bba82c5ed315cf073ad9599c0d5334a9a403d
authorhans <hans@chromium.org>
Wed, 6 May 2015 22:38:56 +0000 (6 15:38 -0700)
committerCommit bot <commit-bot@chromium.org>
Wed, 6 May 2015 22:39:31 +0000 (6 22:39 +0000)
tree6482200815c7e266ef5f7217b3d2b6c90a0a8e16
parentc81ee073c9157ff85fd9d0b0cc4bfcbe17fd3034
Use Clang's update.py --print-revision everywhere.

Since yesterday, it works on Windows. This allows us to not
completely clobber the build from update.py each time, since the
build system tracks the dependency instead.

It should also be possible to use this from gn, so we can delete the
posix-print-revision.py script. The only problem was that the
hack we use for fixing the output in gclient runhooks didn't work.
I've adjusted that to not fail when the hack doesn't work.

BUG=483065

Review URL: https://codereview.chromium.org/1127233002

Cr-Commit-Position: refs/heads/master@{#328634}
build/common.gypi
build/config/compiler/BUILD.gn
build/download_gold_plugin.py
tools/clang/scripts/posix-print-revision.py [deleted file]
tools/clang/scripts/update.py