| 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 22 matching lines...) Expand all Loading... |
| 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 GetPreferredTryMasters(project, change): | 41 def GetPreferredTryMasters(project, change): |
| 42 return { | 42 return { |
| 43 'tryserver.chromium': { | 43 'tryserver.chromium.linux': { |
| 44 'linux_nacl_sdk': set(['defaulttests']), | 44 'linux_nacl_sdk': set(['defaulttests']), |
| 45 'linux_nacl_sdk_build': set(['defaulttests']), | 45 'linux_nacl_sdk_build': set(['defaulttests']), |
| 46 }, |
| 47 'tryserver.chromium.win': { |
| 46 'win_nacl_sdk': set(['defaulttests']), | 48 'win_nacl_sdk': set(['defaulttests']), |
| 47 'win_nacl_sdk_build': set(['defaulttests']), | 49 'win_nacl_sdk_build': set(['defaulttests']), |
| 50 }, |
| 51 'tryserver.chromium.mac': { |
| 48 'mac_nacl_sdk': set(['defaulttests']), | 52 'mac_nacl_sdk': set(['defaulttests']), |
| 49 'mac_nacl_sdk_build': set(['defaulttests']), | 53 'mac_nacl_sdk_build': set(['defaulttests']), |
| 50 } | 54 } |
| 51 } | 55 } |
| OLD | NEW |