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

Side by Side Diff: scripts/slave/recipes/toolkit.py

Issue 15270004: Add step generator protocol, remove annotated_checkout, remove script. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Address comments and change expected json output format Created 7 years, 7 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
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 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 }
OLDNEW
« no previous file with comments | « scripts/slave/recipes/run_presubmit.py ('k') | scripts/slave/recipes_test/gatekeeper.basic.expected » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698