summaryrefslogtreecommitdiffstats
path: root/chrome
diff options
context:
space:
mode:
authorrsimha@chromium.org <rsimha@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-08 03:56:05 +0000
committerrsimha@chromium.org <rsimha@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-08 03:56:05 +0000
commit7c1fbf8ec98637d818daf4e7a902152de0ac3697 (patch)
tree170bb508f4242de4b19f4d88497be97ab3a625c3 /chrome
parent7da7fa75c7e23295a0765444dcdb0e28ef2c702d (diff)
downloadchromium_src-7c1fbf8ec98637d818daf4e7a902152de0ac3697.zip
chromium_src-7c1fbf8ec98637d818daf4e7a902152de0ac3697.tar.gz
chromium_src-7c1fbf8ec98637d818daf4e7a902152de0ac3697.tar.bz2
Force sync integration try jobs on patches that touch sync dependencies
Chrome sync is dependent on other areas of chrome, and patches committed to these areas could potentially break sync. In the past, we have seen sync integration test failures caused by patches to chrome/common/net. This patch adds a PRESUBMIT.py file to this directory, that will cause the sync integration tests to be run on any code that touches the directory as part of their try runs. BUG=70311 TEST=modify something under chrome/common/net and do a "git try" or "gcl try" Review URL: http://codereview.chromium.org/6624087 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@77244 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome')
-rw-r--r--chrome/common/net/PRESUBMIT.py13
1 files changed, 13 insertions, 0 deletions
diff --git a/chrome/common/net/PRESUBMIT.py b/chrome/common/net/PRESUBMIT.py
new file mode 100644
index 0000000..f7a3310
--- /dev/null
+++ b/chrome/common/net/PRESUBMIT.py
@@ -0,0 +1,13 @@
+#!/usr/bin/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/chrome/common/net.
+
+See http://dev.chromium.org/developers/how-tos/depottools/presubmit-scripts
+for more details on the presubmit API built into gcl.
+"""
+
+def GetPreferredTrySlaves():
+ return ['win', 'linux', 'mac', 'win_sync', 'linux_sync', 'mac_sync']