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

Side by Side Diff: third_party/recipe_engine/config_types.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
« no previous file with comments | « third_party/recipe_engine/config.py ('k') | third_party/recipe_engine/configs_test.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2013 The Chromium Authors. All rights reserved. 1 # Copyright 2013-2015 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 import abc 5 import abc
6 import re 6 import re
7 7
8 from collections import namedtuple 8 from collections import namedtuple
9 9
10 from infra.libs import infra_types 10 from infra.libs import infra_types
11 11
(...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 return child.pieces[:len(self.pieces)] == self.pieces 155 return child.pieces[:len(self.pieces)] == self.pieces
156 156
157 def default_tostring_fn(self): 157 def default_tostring_fn(self):
158 suffix = '' 158 suffix = ''
159 if self.platform_ext: 159 if self.platform_ext:
160 suffix = ', platform_ext=%r' % (self.platform_ext,) 160 suffix = ', platform_ext=%r' % (self.platform_ext,)
161 pieces = '' 161 pieces = ''
162 if self.pieces: 162 if self.pieces:
163 pieces = ', ' + (', '.join(map(repr, self.pieces))) 163 pieces = ', ' + (', '.join(map(repr, self.pieces)))
164 return 'Path(\'%s\'%s%s)' % (self.base, pieces, suffix) 164 return 'Path(\'%s\'%s%s)' % (self.base, pieces, suffix)
OLDNEW
« no previous file with comments | « third_party/recipe_engine/config.py ('k') | third_party/recipe_engine/configs_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698