OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 """Top-level presubmit script for isolate. | 5 """Top-level presubmit script for isolate. |
6 | 6 |
7 See http://dev.chromium.org/developers/how-tos/depottools/presubmit-scripts for | 7 See http://dev.chromium.org/developers/how-tos/depottools/presubmit-scripts for |
8 details on the presubmit API built into gcl. | 8 details on the presubmit API built into gcl. |
9 """ | 9 """ |
10 | 10 |
(...skipping 20 matching lines...) Expand all Loading... |
31 | 31 |
32 | 32 |
33 def CheckChangeOnUpload(input_api, output_api): | 33 def CheckChangeOnUpload(input_api, output_api): |
34 return CommonChecks(input_api, output_api) | 34 return CommonChecks(input_api, output_api) |
35 | 35 |
36 | 36 |
37 def CheckChangeOnCommit(input_api, output_api): | 37 def CheckChangeOnCommit(input_api, output_api): |
38 return CommonChecks(input_api, output_api) | 38 return CommonChecks(input_api, output_api) |
39 | 39 |
40 | 40 |
41 def GetPreferredTrySlaves(project, change): | 41 def GetPreferredTryMasters(project, change): |
42 return [ | 42 return { |
43 'linux_nacl_sdk', | 43 'tryserver.chromium': { |
44 'linux_nacl_sdk_build', | 44 'linux_nacl_sdk': set(['defaulttests']), |
45 'win_nacl_sdk', | 45 'linux_nacl_sdk_build': set(['defaulttests']), |
46 'win_nacl_sdk_build', | 46 'win_nacl_sdk': set(['defaulttests']), |
47 'mac_nacl_sdk', | 47 'win_nacl_sdk_build': set(['defaulttests']), |
48 'mac_nacl_sdk_build' | 48 'mac_nacl_sdk': set(['defaulttests']), |
49 ] | 49 'mac_nacl_sdk_build': set(['defaulttests']), |
| 50 } |
| 51 } |
OLD | NEW |