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 15 matching lines...) Expand all Loading... |
26 disabled_warnings=disabled_warnings)) | 26 disabled_warnings=disabled_warnings)) |
27 return output | 27 return output |
28 | 28 |
29 | 29 |
30 def CheckChangeOnUpload(input_api, output_api): | 30 def CheckChangeOnUpload(input_api, output_api): |
31 return CommonChecks(input_api, output_api) | 31 return CommonChecks(input_api, output_api) |
32 | 32 |
33 | 33 |
34 def CheckChangeOnCommit(input_api, output_api): | 34 def CheckChangeOnCommit(input_api, output_api): |
35 return CommonChecks(input_api, output_api) | 35 return CommonChecks(input_api, output_api) |
| 36 |
| 37 |
| 38 def GetPreferredTrySlaves(project, change): |
| 39 return ['linux_nacl_sdk', 'win_nacl_sdk', 'mac_nacl_sdk'] |
OLD | NEW |