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

Side by Side Diff: scripts/slave/recipe_modules/chromium/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.
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 re 5 import re
6 6
7 from slave import recipe_api 7 from recipe_engine import recipe_api
8 from slave import recipe_util 8 from recipe_engine import recipe_util
9 9
10 from . import builders 10 from . import builders
11 from . import steps 11 from . import steps
12 12
13 class TestLauncherFilterFileInputPlaceholder(recipe_util.Placeholder): 13 class TestLauncherFilterFileInputPlaceholder(recipe_util.Placeholder):
14 def __init__(self, api, tests): 14 def __init__(self, api, tests):
15 self.raw = api.m.raw_io.input('\n'.join(tests)) 15 self.raw = api.m.raw_io.input('\n'.join(tests))
16 super(TestLauncherFilterFileInputPlaceholder, self).__init__() 16 super(TestLauncherFilterFileInputPlaceholder, self).__init__()
17 17
18 def render(self, test): 18 def render(self, test):
(...skipping 744 matching lines...) Expand 10 before | Expand all | Expand 10 after
763 '--output', self.m.json.output(), 763 '--output', self.m.json.output(),
764 '--', 764 '--',
765 ] + self.get_common_args_for_scripts(), 765 ] + self.get_common_args_for_scripts(),
766 step_test_data=lambda: self.m.json.test_api.output({})) 766 step_test_data=lambda: self.m.json.test_api.output({}))
767 767
768 def download_lto_plugin(self): 768 def download_lto_plugin(self):
769 return self.m.python( 769 return self.m.python(
770 name='download LTO plugin', 770 name='download LTO plugin',
771 script=self.m.path['checkout'].join( 771 script=self.m.path['checkout'].join(
772 'build', 'download_gold_plugin.py')) 772 'build', 'download_gold_plugin.py'))
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698