OLD | NEW |
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 """Chromium presubmit script for src/net. | 5 """Chromium presubmit script for src/net. |
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 on the presubmit API built into gcl. | 8 for more details on the presubmit API built into gcl. |
9 """ | 9 """ |
10 | 10 |
11 def GetPreferredTryMasters(project, change): | 11 def GetPreferredTryMasters(project, change): |
12 masters = { | 12 masters = { |
13 'tryserver.chromium.linux': { | 13 'tryserver.chromium.linux': { |
14 'linux_chromium_rel_swarming': set(['defaulttests']), | 14 'linux_chromium_rel': set(['defaulttests']), |
15 }, | 15 }, |
16 'tryserver.chromium.mac': { | 16 'tryserver.chromium.mac': { |
17 'mac_chromium_rel_swarming': set(['defaulttests']), | 17 'mac_chromium_rel': set(['defaulttests']), |
18 }, | 18 }, |
19 'tryserver.chromium.win': { | 19 'tryserver.chromium.win': { |
20 'win_chromium_rel_swarming': set(['defaulttests']), | 20 'win_chromium_rel': set(['defaulttests']), |
21 } | 21 } |
22 } | 22 } |
23 # Changes that touch NSS files will likely need a corresponding OpenSSL edit. | 23 # Changes that touch NSS files will likely need a corresponding OpenSSL edit. |
24 # Conveniently, this one glob also matches _openssl.* changes too. | 24 # Conveniently, this one glob also matches _openssl.* changes too. |
25 if any('nss' in f.LocalPath() for f in change.AffectedFiles()): | 25 if any('nss' in f.LocalPath() for f in change.AffectedFiles()): |
26 masters['tryserver.chromium.linux'].setdefault( | 26 masters['tryserver.chromium.linux'].setdefault( |
27 'linux_redux', set()).add('defaulttests') | 27 'linux_redux', set()).add('defaulttests') |
28 return masters | 28 return masters |
OLD | NEW |