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

Side by Side Diff: scripts/slave/recipe_modules/android/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
« no previous file with comments | « scripts/slave/recipe_modules/amp/api.py ('k') | scripts/slave/recipe_modules/android/config.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 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 """Common steps for recipes that sync/build Android sources.""" 5 """Common steps for recipes that sync/build Android sources."""
6 6
7 from slave import recipe_api 7 from recipe_engine import recipe_api
8 8
9 class AOSPApi(recipe_api.RecipeApi): 9 class AOSPApi(recipe_api.RecipeApi):
10 def __init__(self, **kwargs): 10 def __init__(self, **kwargs):
11 super(AOSPApi, self).__init__(**kwargs) 11 super(AOSPApi, self).__init__(**kwargs)
12 self._repo_path = None 12 self._repo_path = None
13 13
14 @property 14 @property
15 def with_lunch_command(self): 15 def with_lunch_command(self):
16 return [self.m.path['build'].join('scripts', 'slave', 16 return [self.m.path['build'].join('scripts', 'slave',
17 'android', 'with_lunch'), 17 'android', 'with_lunch'),
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
176 cwd=self.m.path['slave_build'], 176 cwd=self.m.path['slave_build'],
177 env=env) 177 env=env)
178 178
179 def update_defaut_props_step(self, extra_properties): 179 def update_defaut_props_step(self, extra_properties):
180 update_default_props_command = ( 180 update_default_props_command = (
181 [self.resource('update_default_props.py')] + 181 [self.resource('update_default_props.py')] +
182 ['%s=%s' % (k,v) for k,v in extra_properties.iteritems()]) 182 ['%s=%s' % (k,v) for k,v in extra_properties.iteritems()])
183 self.m.step('update /root/default.prop', 183 self.m.step('update /root/default.prop',
184 self.with_lunch_command + update_default_props_command) 184 self.with_lunch_command + update_default_props_command)
185 185
OLDNEW
« no previous file with comments | « scripts/slave/recipe_modules/amp/api.py ('k') | scripts/slave/recipe_modules/android/config.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698