OLD | NEW |
(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)) |
OLD | NEW |