| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 IsolateApi(recipe_api.RecipeApi): | 8 class IsolateApi(recipe_api.RecipeApi): |
| 9 """APIs for interacting with isolates.""" | 9 """APIs for interacting with isolates.""" |
| 10 | 10 |
| 11 def __init__(self, **kwargs): | 11 def __init__(self, **kwargs): |
| 12 super(IsolateApi, self).__init__(**kwargs) | 12 super(IsolateApi, self).__init__(**kwargs) |
| 13 self._isolate_server = 'https://isolateserver.appspot.com' | 13 self._isolate_server = 'https://isolateserver.appspot.com' |
| 14 self._isolated_tests = {} | 14 self._isolated_tests = {} |
| 15 | 15 |
| (...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 281 """Compare the artifacts from 2 builds.""" | 281 """Compare the artifacts from 2 builds.""" |
| 282 args = [ | 282 args = [ |
| 283 '--first-build-dir', first_dir, | 283 '--first-build-dir', first_dir, |
| 284 '--second-build-dir', second_dir, | 284 '--second-build-dir', second_dir, |
| 285 '--target-platform', self.m.chromium.c.TARGET_PLATFORM | 285 '--target-platform', self.m.chromium.c.TARGET_PLATFORM |
| 286 ] | 286 ] |
| 287 self.m.python('compare_build_artifacts', | 287 self.m.python('compare_build_artifacts', |
| 288 self.resource('compare_build_artifacts.py'), | 288 self.resource('compare_build_artifacts.py'), |
| 289 args=args, | 289 args=args, |
| 290 cwd=self.m.path['slave_build']) | 290 cwd=self.m.path['slave_build']) |
| OLD | NEW |