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

Unified Diff: scripts/slave/recipes/gatekeeper.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « scripts/slave/recipe_util.py ('k') | scripts/slave/recipes/run_presubmit.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: scripts/slave/recipes/gatekeeper.py
diff --git a/scripts/slave/recipes/gatekeeper.py b/scripts/slave/recipes/gatekeeper.py
index ef2ad7a705525195f70f46525a86ad1c6409afb8..92060c34a6ee589244c5093e6685609ed20adaf6 100644
--- a/scripts/slave/recipes/gatekeeper.py
+++ b/scripts/slave/recipes/gatekeeper.py
@@ -4,11 +4,9 @@
"""Specifies how to launch the gatekeeper."""
-def GetFactoryProperties(api, _factory_properties, build_properties):
+def GetSteps(api, _factory_properties, build_properties):
steps = api.Steps(build_properties)
- return {
- 'steps': [
- steps.step('gatekeeper_launch',
- [api.build_path('scripts', 'slave', 'gatekeeper_launch.py')])
- ]
- }
+ return [
+ steps.step('gatekeeper_launch',
+ [api.build_path('scripts', 'slave', 'gatekeeper_launch.py')])
+ ]
« no previous file with comments | « scripts/slave/recipe_util.py ('k') | scripts/slave/recipes/run_presubmit.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698