Do not attempt to load 32-bit NPAPI plugins on 64-bit.
[chromium-blink-merge.git] / net / PRESUBMIT.py
blobce5542f189100ffe6cd4b0e3d34e94c0bc3b1720
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
3 # found in the LICENSE file.
5 """Chromium presubmit script for src/net.
7 See http://dev.chromium.org/developers/how-tos/depottools/presubmit-scripts
8 for more details on the presubmit API built into gcl.
9 """
11 def GetPreferredTryMasters(project, change):
12 masters = {
13 'tryserver.chromium': {
14 'linux_chromium_rel': set(['defaulttests']),
15 'mac_chromium_rel': set(['defaulttests']),
16 'win_chromium_rel': set(['defaulttests']),
19 # Changes that touch NSS files will likely need a corresponding OpenSSL edit.
20 # Conveniently, this one glob also matches _openssl.* changes too.
21 if any('nss' in f.LocalPath() for f in change.AffectedFiles()):
22 masters['tryserver.chromium'].setdefault(
23 'linux_redux', set()).add('defaulttests')
24 return masters