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

Side by Side Diff: scripts/slave/recipe_modules/gclient/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 2013 The Chromium Authors. All rights reserved. 1 # Copyright 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 from slave import recipe_api 5 from recipe_engine import recipe_api
6 6
7 7
8 class RevisionFallbackChain(object): 8 class RevisionFallbackChain(object):
9 """Specify that a given project's sync revision follows the fallback chain.""" 9 """Specify that a given project's sync revision follows the fallback chain."""
10 def __init__(self, default=None): 10 def __init__(self, default=None):
11 self._default = default 11 self._default = default
12 12
13 def resolve(self, properties): 13 def resolve(self, properties):
14 """Resolve the revision via the revision fallback chain. 14 """Resolve the revision via the revision fallback chain.
15 15
(...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after
304 for (path, dir, files) in os.walk(build_path): 304 for (path, dir, files) in os.walk(build_path):
305 for cur_file in files: 305 for cur_file in files:
306 if cur_file.endswith('index.lock'): 306 if cur_file.endswith('index.lock'):
307 path_to_file = os.path.join(path, cur_file) 307 path_to_file = os.path.join(path, cur_file)
308 print 'deleting %s' % path_to_file 308 print 'deleting %s' % path_to_file
309 os.remove(path_to_file) 309 os.remove(path_to_file)
310 """, 310 """,
311 args=[self.m.path['slave_build']], 311 args=[self.m.path['slave_build']],
312 infra_step=True, 312 infra_step=True,
313 ) 313 )
OLDNEW
« no previous file with comments | « scripts/slave/recipe_modules/gatekeeper/test_api.py ('k') | scripts/slave/recipe_modules/gclient/config.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698