OLD | NEW |
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 # TOOD(dpranke): reenable import json | 5 import json |
6 # pylint: disable=F0401 | 6 # pylint: disable=F0401 |
7 import recipe_util | 7 import recipe_util |
8 import sys | 8 import sys |
9 | 9 |
10 # pylint: disable=W0232 | 10 # pylint: disable=W0232 |
11 class Blink(recipe_util.Recipe): | 11 class Blink(recipe_util.Recipe): |
12 """Basic Recipe alias for Blink -> Chromium.""" | 12 """Basic Recipe alias for Blink -> Chromium.""" |
13 | 13 |
14 @staticmethod | 14 @staticmethod |
15 def fetch_spec(props): | 15 def fetch_spec(props): |
16 # TODO(dpranke): reenable | 16 submodule_spec = { |
17 #submodule_spec = { | 17 'third_party/WebKit': { |
18 # 'third_party/WebKit': { | 18 'svn_url': 'svn://svn.chromium.org/blink/trunk', |
19 # 'svn_url': 'svn://svn.chromium.org/blink/trunk', | 19 'svn_branch': 'trunk', |
20 # 'svn_branch': 'trunk', | 20 'svn_ref': 'master', |
21 # 'svn_ref': 'master', | 21 } |
22 # } | 22 } |
23 #} | |
24 return {'alias': { | 23 return {'alias': { |
25 'recipe': 'chromium', | 24 'recipe': 'chromium', |
26 'props': ['--webkit_rev=ToT', | 25 'props': ['--webkit_rev=ToT', |
27 # '--submodule_git_svn_spec=' + json.dumps(submodule_spec) | 26 '--submodule_git_svn_spec=' + json.dumps(submodule_spec)] |
28 ] | |
29 } | 27 } |
30 } | 28 } |
31 | 29 |
32 | 30 |
33 def main(argv=None): | 31 def main(argv=None): |
34 Blink().handle_args(argv) | 32 Blink().handle_args(argv) |
35 | 33 |
36 | 34 |
37 if __name__ == '__main__': | 35 if __name__ == '__main__': |
38 sys.exit(main(sys.argv)) | 36 sys.exit(main(sys.argv)) |
OLD | NEW |