Fix various stray bugs in the GN auto-roller, and repair the DEPS file.
commit7a694fe11fb4602ddd56edfa34a1b48f26049f63
authordpranke <dpranke@chromium.org>
Tue, 18 Aug 2015 05:11:29 +0000 (17 22:11 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 18 Aug 2015 05:12:04 +0000 (18 05:12 +0000)
treeef631468eff56c86f4a23515ba50720ceb23ba74
parent22e18de983b5cba85a7a0ed18abacfcb827d29af
Fix various stray bugs in the GN auto-roller, and repair the DEPS file.

The GN auto-roller script had two bugs in it, one of which was
damaging the DEPS file: when we updated the buildtools revision,
we would drop a newline and end up concatenating the following line.
A second roll would then drop that concatenated line, shrinking the
file, and so one. This was bad.

Secondly, the auto-roller would leave buildtools/ checked out on a
branch that had been merged into origin/master; this might cause
merge conflicts and confusion down the road.

R=thakis@chromium.org
BUG=

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

Cr-Commit-Position: refs/heads/master@{#343804}
DEPS
tools/gn/bin/roll_gn.py