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

Side by Side Diff: scripts/slave/recipe_modules/ios/api.py

Issue 1723033003: iOS: Fix condition for use_analyze in ios recipe module. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/tools/build
Patch Set: Created 4 years, 10 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 | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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]
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698