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

Side by Side Diff: recipes/blink.py

Issue 13514004: The fetch recipe for Blink. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/depot_tools
Patch Set: Created 7 years, 8 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 | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 # found in the LICENSE file.
4
5 import json
6 # pylint: disable=F0401
7 import recipe_util
8 import sys
9
10 # pylint: disable=W0232
11 class Blink(recipe_util.Recipe):
12 """Basic Recipe alias for Blink -> Chromium."""
13
14 @staticmethod
15 def fetch_spec(props):
16 submodule_spec = {
17 'third_party/WebKit': {
18 'svn_url': 'svn://svn.chromium.org/blink/trunk',
19 'svn_branch': 'trunk',
20 'svn_ref': 'master',
21 }
22 }
23 return {'alias': {
24 'recipe': 'chromium',
25 'props': ['--webkit_rev=ToT',
26 '--submodule_git_svn_spec=' + json.dumps(submodule_spec)]
27 }
28 }
29
30
31 def main(argv=None):
32 Blink().handle_args(argv)
33
34
35 if __name__ == '__main__':
36 sys.exit(main(sys.argv))
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698