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

Unified Diff: PRESUBMIT.py

Issue 10918102: Make android_webview commits only try the android bot. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: PRESUBMIT.py
diff --git a/PRESUBMIT.py b/PRESUBMIT.py
index 88caf901e76d68240e7eff6bdb96a7815dd2b288..b915da1ad99730cb60ca00242251859823076344 100644
--- a/PRESUBMIT.py
+++ b/PRESUBMIT.py
@@ -579,11 +579,11 @@ def GetPreferredTrySlaves(project, change):
if not files:
return []
- if all(re.search('\.(m|mm)$|[/_]mac[/_.]', f) for f in files):
+ if all(re.search('\.(m|mm)$|(^|[/_])mac[/_.]', f) for f in files):
return ['mac_rel', 'mac_asan']
- if all(re.search('[/_]win[/_.]', f) for f in files):
+ if all(re.search('(^|[/_])win[/_.]', f) for f in files):
return ['win_rel']
- if all(re.search('[/_]android[/_.]', f) for f in files):
+ if all(re.search('(^|[/_])android[/_.]', f) for f in files):
return ['android']
trybots = ['win_rel', 'linux_rel', 'mac_rel', 'linux_clang:compile',
« 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