Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(56)

Side by Side Diff: recipes/blink.py

Issue 496443005: Update the Blink recipe to use 'webkit_revision' instead of 'webkit_rev' (Closed) Base URL: https://chromium.googlesource.com/chromium/tools/depot_tools.git@master
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« git-crup ('K') | « git-crup ('k') | recipes/chromium.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import json 5 import json
6 import sys 6 import sys
7 7
8 import recipe_util # pylint: disable=F0401 8 import recipe_util # pylint: disable=F0401
9 9
10 10
11 # This class doesn't need an __init__ method, so we disable the warning 11 # This class doesn't need an __init__ method, so we disable the warning
12 # pylint: disable=W0232 12 # pylint: disable=W0232
13 class Blink(recipe_util.Recipe): 13 class Blink(recipe_util.Recipe):
14 """Basic Recipe alias for Blink -> Chromium.""" 14 """Basic Recipe alias for Blink -> Chromium."""
15 15
16 @staticmethod 16 @staticmethod
17 def fetch_spec(props): 17 def fetch_spec(props):
18 submodule_spec = { 18 submodule_spec = {
19 'third_party/WebKit': { 19 'third_party/WebKit': {
20 'svn_url': 'svn://svn.chromium.org/blink/trunk', 20 'svn_url': 'svn://svn.chromium.org/blink/trunk',
21 'svn_branch': 'trunk', 21 'svn_branch': 'trunk',
22 'svn_ref': 'master', 22 'svn_ref': 'master',
23 } 23 }
24 } 24 }
25 return { 25 return {
26 'alias': { 26 'alias': {
27 'recipe': 'chromium', 27 'recipe': 'chromium',
28 'props': [ 28 'props': [
29 '--webkit_rev=ToT', 29 '--webkit_revision=ToT',
30 '--submodule_git_svn_spec=' + json.dumps(submodule_spec), 30 '--submodule_git_svn_spec=' + json.dumps(submodule_spec),
31 ], 31 ],
32 }, 32 },
33 } 33 }
34 34
35 35
36 def main(argv=None): 36 def main(argv=None):
37 return Blink().handle_args(argv) 37 return Blink().handle_args(argv)
38 38
39 39
40 if __name__ == '__main__': 40 if __name__ == '__main__':
41 sys.exit(main(sys.argv)) 41 sys.exit(main(sys.argv))
OLDNEW
« git-crup ('K') | « git-crup ('k') | recipes/chromium.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698