| OLD | NEW |
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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 copy | 5 import copy |
| 6 | 6 |
| 7 from slave import recipe_api | 7 from recipe_engine import recipe_api |
| 8 | 8 |
| 9 | 9 |
| 10 class iOSApi(recipe_api.RecipeApi): | 10 class iOSApi(recipe_api.RecipeApi): |
| 11 def __init__(self, *args, **kwargs): | 11 def __init__(self, *args, **kwargs): |
| 12 super(iOSApi, self).__init__(*args, **kwargs) | 12 super(iOSApi, self).__init__(*args, **kwargs) |
| 13 self.__config = None | 13 self.__config = None |
| 14 | 14 |
| 15 def host_info(self): | 15 def host_info(self): |
| 16 """Emits information about the current host and available tools.""" | 16 """Emits information about the current host and available tools.""" |
| 17 step_result = self.m.step('host and tools info', [ | 17 step_result = self.m.step('host and tools info', [ |
| (...skipping 411 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 429 self.configuration, | 429 self.configuration, |
| 430 'iossim', | 430 'iossim', |
| 431 ), | 431 ), |
| 432 'ninja': self.m.path.join( | 432 'ninja': self.m.path.join( |
| 433 'src', | 433 'src', |
| 434 build_dir, | 434 build_dir, |
| 435 '%s-%s' % (self.configuration, platform), | 435 '%s-%s' % (self.configuration, platform), |
| 436 'iossim', | 436 'iossim', |
| 437 ), | 437 ), |
| 438 }[self.compiler] | 438 }[self.compiler] |
| OLD | NEW |