Chromium Code Reviews
[email protected] (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(451)

Side by Side Diff: PRESUBMIT.py

Issue 18367002: Add the android_aosp trybot to PRESUBMIT.py (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 5 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 (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 992 matching lines...) Expand 10 before | Expand all | Expand 10 after
1003 files = change.LocalPaths() 1003 files = change.LocalPaths()
1004 1004
1005 if not files or all(re.search(r'[\\/]OWNERS$', f) for f in files): 1005 if not files or all(re.search(r'[\\/]OWNERS$', f) for f in files):
1006 return [] 1006 return []
1007 1007
1008 if all(re.search('\.(m|mm)$|(^|[/_])mac[/_.]', f) for f in files): 1008 if all(re.search('\.(m|mm)$|(^|[/_])mac[/_.]', f) for f in files):
1009 return ['mac_rel', 'mac_asan', 'mac:compile'] 1009 return ['mac_rel', 'mac_asan', 'mac:compile']
1010 if all(re.search('(^|[/_])win[/_.]', f) for f in files): 1010 if all(re.search('(^|[/_])win[/_.]', f) for f in files):
1011 return ['win_rel', 'win7_aura', 'win:compile'] 1011 return ['win_rel', 'win7_aura', 'win:compile']
1012 if all(re.search('(^|[/_])android[/_.]', f) for f in files): 1012 if all(re.search('(^|[/_])android[/_.]', f) for f in files):
1013 return ['android_dbg', 'android_clang_dbg'] 1013 return ['android_aosp', 'android_dbg', 'android_clang_dbg']
1014 if all(re.search('^native_client_sdk', f) for f in files): 1014 if all(re.search('^native_client_sdk', f) for f in files):
1015 return ['linux_nacl_sdk', 'win_nacl_sdk', 'mac_nacl_sdk'] 1015 return ['linux_nacl_sdk', 'win_nacl_sdk', 'mac_nacl_sdk']
1016 if all(re.search('[/_]ios[/_.]', f) for f in files): 1016 if all(re.search('[/_]ios[/_.]', f) for f in files):
1017 return ['ios_rel_device', 'ios_dbg_simulator'] 1017 return ['ios_rel_device', 'ios_dbg_simulator']
1018 1018
1019 trybots = [ 1019 trybots = [
1020 'android_clang_dbg', 1020 'android_clang_dbg',
1021 'android_dbg', 1021 'android_dbg',
1022 'ios_dbg_simulator', 1022 'ios_dbg_simulator',
1023 'ios_rel_device', 1023 'ios_rel_device',
1024 'linux_asan', 1024 'linux_asan',
1025 'linux_aura', 1025 'linux_aura',
1026 'linux_chromeos', 1026 'linux_chromeos',
1027 'linux_clang:compile', 1027 'linux_clang:compile',
1028 'linux_rel', 1028 'linux_rel',
1029 'mac_asan', 1029 'mac_asan',
1030 'mac_rel', 1030 'mac_rel',
1031 'mac:compile', 1031 'mac:compile',
1032 'win7_aura', 1032 'win7_aura',
1033 'win_rel', 1033 'win_rel',
1034 'win:compile', 1034 'win:compile',
1035 ] 1035 ]
1036 1036
1037 # Match things like path/aura/file.cc and path/file_aura.cc. 1037 # Match things like path/aura/file.cc and path/file_aura.cc.
1038 # Same for chromeos. 1038 # Same for chromeos.
1039 if any(re.search('[/_](aura|chromeos)', f) for f in files): 1039 if any(re.search('[/_](aura|chromeos)', f) for f in files):
1040 trybots += ['linux_chromeos_clang:compile', 'linux_chromeos_asan'] 1040 trybots += ['linux_chromeos_clang:compile', 'linux_chromeos_asan']
1041 1041
1042 # The AOSP bot doesn't build the chrome/ layer, so ignore any changes to is
iannucci 2013/07/02 08:41:43 s/is/it
mkosiba (inactive) 2013/07/02 09:13:52 Done.
1043 # unless they're .gyp(i) files as changes to those files can break the gyp
1044 # step on that bot.
1045 if (not all(re.search('^chrome', f) for f in files) or
1046 any(re.search('\.gypi?$', f) for f in files)):
1047 trybots += ['android_aosp']
1048
1042 return trybots 1049 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