From 1592df78ef952a4a44fe4c37291998095ad40ef5 Mon Sep 17 00:00:00 2001 From: "kjellander@webrtc.org" Date: Fri, 9 Jan 2015 15:38:29 +0000 Subject: [PATCH] PRESUBMIT: Add GN trybots for Windows and Mac. Add to the default set since they're now green. BUG=4105 R=pbos@webrtc.org Review URL: https://webrtc-codereview.appspot.com/34689004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@8029 4adac7df-926f-26a2-2b94-8c16560cd09d --- PRESUBMIT.py | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/PRESUBMIT.py b/PRESUBMIT.py index aa0c28f990..720f0f49f9 100755 --- a/PRESUBMIT.py +++ b/PRESUBMIT.py @@ -317,12 +317,20 @@ def GetPreferredTryMasters(project, change): 'linux_rel', 'linux_tsan2', ] + linux_gn_bots + mac_gn_bots = [ + 'mac_x64_gn', + 'mac_x64_gn_rel', + ] mac_bots = [ 'mac', 'mac_asan', 'mac_baremetal', 'mac_rel', 'mac_x64_rel', + ] + mac_gn_bots + win_gn_bots = [ + 'win_x64_gn', + 'win_x64_gn_rel', ] win_bots = [ 'win', @@ -331,11 +339,12 @@ def GetPreferredTryMasters(project, change): 'win_drmemory_light', 'win_rel', 'win_x64_rel', - ] + ] + win_gn_bots if not files or all(re.search(r'[\\/]OWNERS$', f) for f in files): return {} if all(re.search(r'[\\/]BUILD.gn$', f) for f in files): - return GetDefaultTryConfigs(android_gn_bots + linux_gn_bots) + return GetDefaultTryConfigs(android_gn_bots + linux_gn_bots + mac_gn_bots + + win_gn_bots) if all(re.search('\.(m|mm)$|(^|[/_])mac[/_.]', f) for f in files): return GetDefaultTryConfigs(mac_bots) if all(re.search('(^|[/_])win[/_.]', f) for f in files):