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

Side by Side Diff: PRESUBMIT.py

Issue 10952031: Make iOS try jobs run by default (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: sync'd Created 8 years, 2 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
« 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 (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 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 """Top-level presubmit script for Chromium. 5 """Top-level presubmit script for Chromium.
6 6
7 See http://dev.chromium.org/developers/how-tos/depottools/presubmit-scripts 7 See http://dev.chromium.org/developers/how-tos/depottools/presubmit-scripts
8 for more details about the presubmit API built into gcl. 8 for more details about the presubmit API built into gcl.
9 """ 9 """
10 10
(...skipping 591 matching lines...) Expand 10 before | Expand all | Expand 10 after
602 return [] 602 return []
603 603
604 if all(re.search('\.(m|mm)$|(^|[/_])mac[/_.]', f) for f in files): 604 if all(re.search('\.(m|mm)$|(^|[/_])mac[/_.]', f) for f in files):
605 return ['mac_rel', 'mac_asan'] 605 return ['mac_rel', 'mac_asan']
606 if all(re.search('(^|[/_])win[/_.]', f) for f in files): 606 if all(re.search('(^|[/_])win[/_.]', f) for f in files):
607 return ['win_rel'] 607 return ['win_rel']
608 if all(re.search('(^|[/_])android[/_.]', f) for f in files): 608 if all(re.search('(^|[/_])android[/_.]', f) for f in files):
609 return ['android_dbg'] 609 return ['android_dbg']
610 if all(re.search('^native_client_sdk', f) for f in files): 610 if all(re.search('^native_client_sdk', f) for f in files):
611 return ['linux_nacl_sdk', 'win_nacl_sdk', 'mac_nacl_sdk'] 611 return ['linux_nacl_sdk', 'win_nacl_sdk', 'mac_nacl_sdk']
612 if all(re.search('[/_]ios[/_.]', f) for f in files):
613 return ['ios_rel_device', 'ios_dbg_simulator']
612 614
613 trybots = ['win_rel', 'linux_rel', 'mac_rel', 'linux_clang:compile', 615 trybots = ['win_rel', 'linux_rel', 'mac_rel', 'linux_clang:compile',
614 'linux_chromeos', 'android_dbg', 'linux_asan', 'mac_asan'] 616 'linux_chromeos', 'android_dbg', 'linux_asan', 'mac_asan',
617 'ios_rel_device', 'ios_dbg_simulator']
615 618
616 # Match things like path/aura/file.cc and path/file_aura.cc. 619 # Match things like path/aura/file.cc and path/file_aura.cc.
617 # Same for ash and chromeos. 620 # Same for ash and chromeos.
618 if any(re.search('[/_](ash|aura)', f) for f in files): 621 if any(re.search('[/_](ash|aura)', f) for f in files):
619 trybots += ['linux_chromeos', 'linux_chromeos_clang:compile', 'win_aura', 622 trybots += ['linux_chromeos', 'linux_chromeos_clang:compile', 'win_aura',
620 'linux_chromeos_asan'] 623 'linux_chromeos_asan']
621 else: 624 else:
622 if any(re.search('[/_]chromeos', f) for f in files): 625 if any(re.search('[/_]chromeos', f) for f in files):
623 trybots += ['linux_chromeos', 'linux_chromeos_clang:compile', 626 trybots += ['linux_chromeos', 'linux_chromeos_clang:compile',
624 'linux_chromeos_asan'] 627 'linux_chromeos_asan']
625 628
626 return trybots 629 return trybots
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