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

Side by Side Diff: scripts/slave/recipe_modules/gatekeeper/api.py

Issue 1151423002: Move recipe engine to third_party/recipe_engine. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Moved field_composer_test with its buddies Created 5 years, 6 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 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 from slave import recipe_api 5 from recipe_engine import recipe_api
6 6
7 7
8 class Gatekeeper(recipe_api.RecipeApi): 8 class Gatekeeper(recipe_api.RecipeApi):
9 """Module for Gatekeeper NG.""" 9 """Module for Gatekeeper NG."""
10 def __call__(self, gatekeeper_json, gatekeeper_trees_json): 10 def __call__(self, gatekeeper_json, gatekeeper_trees_json):
11 config = self.m.json.read( 11 config = self.m.json.read(
12 'reading %s' % self.m.path.basename(gatekeeper_trees_json), 12 'reading %s' % self.m.path.basename(gatekeeper_trees_json),
13 gatekeeper_trees_json, 13 gatekeeper_trees_json,
14 ).json.output 14 ).json.output
15 15
(...skipping 30 matching lines...) Expand all
46 args.extend(tree_args['masters']) 46 args.extend(tree_args['masters'])
47 47
48 try: 48 try:
49 self.m.python( 49 self.m.python(
50 'gatekeeper: %s' % str(tree_name), 50 'gatekeeper: %s' % str(tree_name),
51 self.m.path['build'].join('scripts', 'slave', 'gatekeeper_ng.py'), 51 self.m.path['build'].join('scripts', 'slave', 'gatekeeper_ng.py'),
52 args, 52 args,
53 ) 53 )
54 except self.m.step.StepFailure: 54 except self.m.step.StepFailure:
55 pass 55 pass
OLDNEW
« no previous file with comments | « scripts/slave/recipe_modules/filter/api.py ('k') | scripts/slave/recipe_modules/gatekeeper/test_api.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698