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
changes/01/332501/1
philipj@opera.com 11 years ago
parent 39e72a4411
commit acca42eb61

@ -35,7 +35,7 @@ solutions = [{
'managed': False,
'deps_file': '.DEPS.git',
# Uncomment the following if you're doing blink development
# 'custom_vars': {'webkit_rev': ''},
# 'custom_vars': {'webkit_revision': ''},
}]
# ======== .gclient ends =========

@ -26,7 +26,7 @@ class Blink(recipe_util.Recipe):
'alias': {
'recipe': 'chromium',
'props': [
'--webkit_rev=ToT',
'--webkit_revision=ToT',
'--submodule_git_svn_spec=' + json.dumps(submodule_spec),
],
},

@ -22,8 +22,8 @@ class Chromium(recipe_util.Recipe):
'custom_deps': {},
'safesync_url': '',
}
if props.get('webkit_rev', '') == 'ToT':
solution['custom_vars'] = {'webkit_rev': ''}
if props.get('webkit_revision', '') == 'ToT':
solution['custom_vars'] = {'webkit_revision': ''}
spec = {
'solutions': [solution],
}

Loading…
Cancel
Save