Add a GN auto-roller script.
commit97ec9ac8703dc10eaef5e60984bb3ecdfad344bd
authordpranke <dpranke@chromium.org>
Fri, 17 Jul 2015 00:45:40 +0000 (16 17:45 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 17 Jul 2015 00:46:07 +0000 (17 00:46 +0000)
treee725be53be5850e3c72998ae4e2dcbabf6421ca1
parent1d2dd72f60a44cf6e42fe21c7a602c721c81c542
Add a GN auto-roller script.

This CL adds a script in //tools/gn/bin/roll_gn.py that, given no
arguments, will post three CLs and three tryjobs in order to:
  * build a new GN binary at tip-of-tree
  * update the buildtools repo to the newly built binaries
  * and then update DEPS to point to the leatest buildtools

The script must be run on Linux by someone with commit access to both
src/ and buildtools/.

One can also run the steps independently for testing purposes.

It can only be run in a clean chromium checkout; it should error out
in most cases if something bad happens, but the error checking isn't
yet foolproof.

R=brettw@chromium.org, scottmg@chromium.org, thakis@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#339191}
tools/gn/bin/roll_gn.py [new file with mode: 0644]