| OLD | NEW |
| 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 from recipe_engine.types import freeze | 5 from infra.libs.infra_types import freeze |
| 6 from recipe_engine import recipe_api | 6 from recipe_engine import recipe_api |
| 7 from . import builders | 7 from . import builders |
| 8 | 8 |
| 9 | 9 |
| 10 class WebRTCApi(recipe_api.RecipeApi): | 10 class WebRTCApi(recipe_api.RecipeApi): |
| 11 def __init__(self, **kwargs): | 11 def __init__(self, **kwargs): |
| 12 super(WebRTCApi, self).__init__(**kwargs) | 12 super(WebRTCApi, self).__init__(**kwargs) |
| 13 self._env = {} | 13 self._env = {} |
| 14 | 14 |
| 15 BUILDERS = builders.BUILDERS | 15 BUILDERS = builders.BUILDERS |
| (...skipping 405 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 421 def clean_test_output(self): | 421 def clean_test_output(self): |
| 422 """Remove all test output in out/, since we have tests leaking files.""" | 422 """Remove all test output in out/, since we have tests leaking files.""" |
| 423 out_dir = self.m.path['checkout'].join('out') | 423 out_dir = self.m.path['checkout'].join('out') |
| 424 self.m.python('clean test output files', | 424 self.m.python('clean test output files', |
| 425 script=self.resource('cleanup_files.py'), | 425 script=self.resource('cleanup_files.py'), |
| 426 args=[out_dir], | 426 args=[out_dir], |
| 427 infra_step=True) | 427 infra_step=True) |
| 428 | 428 |
| 429 def virtual_webcam_check(self): | 429 def virtual_webcam_check(self): |
| 430 self.m.python('webcam_check', self.resource('ensure_webcam_is_running.py')) | 430 self.m.python('webcam_check', self.resource('ensure_webcam_is_running.py')) |
| OLD | NEW |