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

Side by Side Diff: third_party/recipe_engine/recipe_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: Copyright notices Created 5 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 2013 The Chromium Authors. All rights reserved. 1 # Copyright 2013 The Chromium Authors. All rights reserved.
iannucci 2015/05/27 02:03:27 drop the recipe_ bit from the name on all these
luqui 2015/05/28 21:47:38 I chose not to do this for recipe_api and recipe_t
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 contextlib 5 import contextlib
6 import types 6 import types
7 7
8 from functools import wraps 8 from functools import wraps
9 9
10 from .recipe_test_api import DisabledTestData, ModuleTestData 10 from .recipe_test_api import DisabledTestData, ModuleTestData
11 11
(...skipping 428 matching lines...) Expand 10 before | Expand all | Expand 10 after
440 # module.resource('dir').join('subdir', 'file.py') 440 # module.resource('dir').join('subdir', 'file.py')
441 return self._module.MODULE_DIRECTORY.join('resources', *path) 441 return self._module.MODULE_DIRECTORY.join('resources', *path)
442 442
443 @property 443 @property
444 def name(self): 444 def name(self):
445 return self._module.NAME 445 return self._module.NAME
446 446
447 447
448 class RecipeApi(RecipeApiPlain): 448 class RecipeApi(RecipeApiPlain):
449 __metaclass__ = RecipeApiMeta 449 __metaclass__ = RecipeApiMeta
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698