Commit acca42eb authored by philipj@opera.com's avatar philipj@opera.com

Update the Blink recipe to use 'webkit_revision' instead of 'webkit_rev'

With the deletion of .DEPS.git, 'webkit_rev' became 'webkit_revision':
https://codereview.chromium.org/497313003

Without this change, gclient sync will not get the latest Blink commit.

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/tools/depot_tools@291716 0039d316-1c4b-4281-b951-d872f2087c98
parent 39e72a44
...@@ -35,7 +35,7 @@ solutions = [{ ...@@ -35,7 +35,7 @@ solutions = [{
'managed': False, 'managed': False,
'deps_file': '.DEPS.git', 'deps_file': '.DEPS.git',
# Uncomment the following if you're doing blink development # Uncomment the following if you're doing blink development
# 'custom_vars': {'webkit_rev': ''}, # 'custom_vars': {'webkit_revision': ''},
}] }]
# ======== .gclient ends ========= # ======== .gclient ends =========
......
...@@ -26,7 +26,7 @@ class Blink(recipe_util.Recipe): ...@@ -26,7 +26,7 @@ class Blink(recipe_util.Recipe):
'alias': { 'alias': {
'recipe': 'chromium', 'recipe': 'chromium',
'props': [ 'props': [
'--webkit_rev=ToT', '--webkit_revision=ToT',
'--submodule_git_svn_spec=' + json.dumps(submodule_spec), '--submodule_git_svn_spec=' + json.dumps(submodule_spec),
], ],
}, },
......
...@@ -22,8 +22,8 @@ class Chromium(recipe_util.Recipe): ...@@ -22,8 +22,8 @@ class Chromium(recipe_util.Recipe):
'custom_deps': {}, 'custom_deps': {},
'safesync_url': '', 'safesync_url': '',
} }
if props.get('webkit_rev', '') == 'ToT': if props.get('webkit_revision', '') == 'ToT':
solution['custom_vars'] = {'webkit_rev': ''} solution['custom_vars'] = {'webkit_revision': ''}
spec = { spec = {
'solutions': [solution], 'solutions': [solution],
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment