summaryrefslogtreecommitdiffstats
path: root/sync
diff options
context:
space:
mode:
authorphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-11 21:45:27 +0000
committerphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-03-11 21:45:27 +0000
commit1c649fa48d64339fcd0ba358cd429ff1341272af (patch)
treeef28ecc5d4a216d5db23e0cc8e0f41bb628101f6 /sync
parente2f1dce380628941ecb46bf5191ca7f3e8bfb9ee (diff)
downloadchromium_src-1c649fa48d64339fcd0ba358cd429ff1341272af.zip
chromium_src-1c649fa48d64339fcd0ba358cd429ff1341272af.tar.gz
chromium_src-1c649fa48d64339fcd0ba358cd429ff1341272af.tar.bz2
Convert most Chromium presubmit files to use new multiple-tryserver-compatible protocol
BUG=334892 R=maruel@chromium.org Review URL: https://codereview.chromium.org/194903007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@256318 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'sync')
-rw-r--r--sync/PRESUBMIT.py14
1 files changed, 8 insertions, 6 deletions
diff --git a/sync/PRESUBMIT.py b/sync/PRESUBMIT.py
index 8768cb0..aad404c 100644
--- a/sync/PRESUBMIT.py
+++ b/sync/PRESUBMIT.py
@@ -8,9 +8,11 @@ See http://dev.chromium.org/developers/how-tos/depottools/presubmit-scripts
for more details on the presubmit API built into gcl.
"""
-def GetPreferredTrySlaves():
- return [
- 'linux_rel:sync_integration_tests',
- 'mac_rel:sync_integration_tests',
- 'win_rel:sync_integration_tests',
- ]
+def GetPreferredTryMasters(project, change):
+ return {
+ 'tryserver.chromium': {
+ 'linux_rel': set(['sync_integration_tests']),
+ 'mac_rel': set(['sync_integration_tests']),
+ 'win_rel': set(['sync_integration_tests']),
+ }
+ }