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 recipe_engine 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): |
(...skipping 288 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
299 ) | 299 ) |
300 if self.using_mb: | 300 if self.using_mb: |
301 step_result.presentation.step_text += '<br />GYP_CHROMIUM_NO_ACTION=1' | 301 step_result.presentation.step_text += '<br />GYP_CHROMIUM_NO_ACTION=1' |
302 | 302 |
303 if self.using_mb: | 303 if self.using_mb: |
304 self.m.chromium.run_mb(self.m.properties['mastername'], | 304 self.m.chromium.run_mb(self.m.properties['mastername'], |
305 self.m.properties['buildername'], | 305 self.m.properties['buildername'], |
306 name='generate_build_files' + suffix, | 306 name='generate_build_files' + suffix, |
307 build_dir='//out/' + build_sub_path) | 307 build_dir='//out/' + build_sub_path) |
308 | 308 |
309 use_analyze = self.__config['use_analyze'] | 309 use_analyze = self.__config['use_analyze'] == True |
310 if (use_analyze and | 310 if (use_analyze and |
311 self.compiler == 'ninja' and | 311 self.compiler == 'ninja' and |
312 self.m.tryserver.is_tryserver and | 312 self.m.tryserver.is_tryserver and |
313 'without patch' not in suffix): | 313 'without patch' not in suffix): |
314 affected_files = self.m.tryserver.get_files_affected_by_patch() | 314 affected_files = self.m.tryserver.get_files_affected_by_patch() |
315 # The same test may be configured to run on multiple simulators. | 315 # The same test may be configured to run on multiple simulators. |
316 # Only specify each test once for the analyzer. | 316 # Only specify each test once for the analyzer. |
317 tests = list(set(test['app'] for test in self.__config['tests'])) | 317 tests = list(set(test['app'] for test in self.__config['tests'])) |
318 | 318 |
319 test_targets, compile_targets = ( | 319 test_targets, compile_targets = ( |
(...skipping 172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
492 self.configuration, | 492 self.configuration, |
493 'iossim', | 493 'iossim', |
494 ), | 494 ), |
495 'ninja': self.m.path.join( | 495 'ninja': self.m.path.join( |
496 'src', | 496 'src', |
497 build_dir, | 497 build_dir, |
498 '%s-%s' % (self.configuration, platform), | 498 '%s-%s' % (self.configuration, platform), |
499 'iossim', | 499 'iossim', |
500 ), | 500 ), |
501 }[self.compiler] | 501 }[self.compiler] |
OLD | NEW |