| 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 def GetFactoryProperties(api, _factory_properties, build_properties): | 5 def GetSteps(api, _factory_properties, build_properties): |
| 6 return { | 6 steps = api.Steps(build_properties) |
| 7 'checkout': 'git', | 7 return ( |
| 8 'git_spec': { | 8 steps.git_checkout(build_properties['repository'] + '.git', recursive=True), |
| 9 'url': build_properties['repository'] + '.git', | 9 steps.generator_script(api.checkout_path('buildbot', 'gen_steps.py')) |
| 10 'recursive': True, | 10 ) |
| 11 }, | |
| 12 'script': api.checkout_path('buildbot', 'gen_steps.py') | |
| 13 } | |
| OLD | NEW |