
That matches the CQ bots, and they're significantly faster. The global trybots are added to all subdirectory PRESUBMITs automatically, so remove win, linux, mac from subdirectory PRESUBMITs (instead of changing them too). BUG=99521 TEST=`git try` creates faster tryjobs. TBR=willchan (net), akalin (sync) Review URL: http://codereview.chromium.org/8162009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@113979 0039d316-1c4b-4281-b951-d872f2087c98
18 lines
703 B
Python
18 lines
703 B
Python
# Copyright (c) 2011 The Chromium Authors. All rights reserved.
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
# found in the LICENSE file.
|
|
|
|
"""Chromium presubmit script for src/net.
|
|
|
|
See http://dev.chromium.org/developers/how-tos/depottools/presubmit-scripts
|
|
for more details on the presubmit API built into gcl.
|
|
"""
|
|
|
|
def GetPreferredTrySlaves(project, change):
|
|
slaves = ['win_sync', 'linux_sync', 'mac_sync']
|
|
# Changes that touch NSS files will likely need a corresponding OpenSSL edit.
|
|
# Conveniently, this one glob also matches _openssl.* changes too.
|
|
if any('nss' in f.LocalPath() for f in change.AffectedFiles()):
|
|
slaves.append('linux_redux')
|
|
return slaves
|