summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xPRESUBMIT.py4
-rwxr-xr-xchrome/browser/views/PRESUBMIT.py13
-rwxr-xr-xviews/PRESUBMIT.py13
3 files changed, 30 insertions, 0 deletions
diff --git a/PRESUBMIT.py b/PRESUBMIT.py
index f7528e0..f42176d 100755
--- a/PRESUBMIT.py
+++ b/PRESUBMIT.py
@@ -143,3 +143,7 @@ def CheckTreeIsOpen(input_api, output_api, url, closed, url_text):
except IOError:
pass
return []
+
+
+def GetPreferredTrySlaves():
+ return ['win', 'linux', 'mac']
diff --git a/chrome/browser/views/PRESUBMIT.py b/chrome/browser/views/PRESUBMIT.py
new file mode 100755
index 0000000..9ac9ee3
--- /dev/null
+++ b/chrome/browser/views/PRESUBMIT.py
@@ -0,0 +1,13 @@
+#!/usr/bin/python
+# Copyright (c) 2009 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/browser/view.
+
+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_view']
diff --git a/views/PRESUBMIT.py b/views/PRESUBMIT.py
new file mode 100755
index 0000000..15e3672
--- /dev/null
+++ b/views/PRESUBMIT.py
@@ -0,0 +1,13 @@
+#!/usr/bin/python
+# Copyright (c) 2009 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/views.
+
+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_view']