diff options
author | eseidel@chromium.org <eseidel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-02 06:13:02 +0000 |
---|---|---|
committer | eseidel@chromium.org <eseidel@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-04-02 06:13:02 +0000 |
commit | 535757ff323d3fee0511526e13b9c405280cf510 (patch) | |
tree | 095951f75c7c5750289d7b3511721489ff0e891e /tools/safely-roll-deps.py | |
parent | 69fee56677eb7e2965bcd5cf22581b1e428eacf0 (diff) | |
download | chromium_src-535757ff323d3fee0511526e13b9c405280cf510.zip chromium_src-535757ff323d3fee0511526e13b9c405280cf510.tar.gz chromium_src-535757ff323d3fee0511526e13b9c405280cf510.tar.bz2 |
Fix safely-roll-deps for Blink.
This script really needs unittests.
TBR=maruel@chromium.org
BUG=skia:1945
Review URL: https://codereview.chromium.org/214433004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@261081 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'tools/safely-roll-deps.py')
-rwxr-xr-x | tools/safely-roll-deps.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/safely-roll-deps.py b/tools/safely-roll-deps.py index 2bbe294..7ea202a 100755 --- a/tools/safely-roll-deps.py +++ b/tools/safely-roll-deps.py @@ -30,6 +30,9 @@ def process_deps(path, project, new_rev, is_dry_run): A bit hacky, could it be made better? """ content = open(path).read() + # Hack for Blink to get the AutoRollBot running again. + if project == "blink": + project = "webkit" old_line = r'(\s+)"%s_revision": "(\d+)",' % project new_line = r'\1"%s_revision": "%d",' % (project, new_rev) new_content = re.sub(old_line, new_line, content, 1) |