blob: e898d990c9bb50d266a2a3ebe8fec9ebfb2ab103 [file] [log] [blame]
# Copyright (c) 2012 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.
for more details on the presubmit API built into gcl.
def GetPreferredTryMasters(project, change):
masters = {
'tryserver.chromium.linux': {
'linux_chromium_rel_swarming': set(['defaulttests']),
'tryserver.chromium.mac': {
'mac_chromium_rel_swarming': set(['defaulttests']),
'': {
'win_chromium_rel_swarming': set(['defaulttests']),
# 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()):
'linux_redux', set()).add('defaulttests')
return masters