| OLD | NEW |
| 1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2011 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 GetPreferredTrySlaves(project, change): | 11 def GetPreferredTrySlaves(project, change): |
| 12 slaves = ['win_sync', 'linux_sync', 'mac_sync'] | 12 slaves = [ |
| 13 'linux_rel:sync_integration_tests', |
| 14 'mac_rel:sync_integration_tests', |
| 15 'win_rel:sync_integration_tests', |
| 16 ] |
| 13 # Changes that touch NSS files will likely need a corresponding OpenSSL edit. | 17 # Changes that touch NSS files will likely need a corresponding OpenSSL edit. |
| 14 # Conveniently, this one glob also matches _openssl.* changes too. | 18 # Conveniently, this one glob also matches _openssl.* changes too. |
| 15 if any('nss' in f.LocalPath() for f in change.AffectedFiles()): | 19 if any('nss' in f.LocalPath() for f in change.AffectedFiles()): |
| 16 slaves.append('linux_redux') | 20 slaves.append('linux_redux') |
| 17 return slaves | 21 return slaves |
| OLD | NEW |