| 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 See http://dev.chromium.org/developers/how-tos/depottools/presubmit-scripts | 5 See http://dev.chromium.org/developers/how-tos/depottools/presubmit-scripts |
| 6 for more details on the presubmit API built into gcl. | 6 for more details on the presubmit API built into gcl. |
| 7 """ | 7 """ |
| 8 | 8 |
| 9 | 9 |
| 10 def CheckChange(input_api, output_api): | 10 def CheckChange(input_api, output_api): |
| (...skipping 15 matching lines...) Expand all Loading... |
| 26 def CheckChangeOnUpload(input_api, output_api): | 26 def CheckChangeOnUpload(input_api, output_api): |
| 27 return CheckChange(input_api, output_api) | 27 return CheckChange(input_api, output_api) |
| 28 | 28 |
| 29 | 29 |
| 30 def CheckChangeOnCommit(input_api, output_api): | 30 def CheckChangeOnCommit(input_api, output_api): |
| 31 return CheckChange(input_api, output_api) | 31 return CheckChange(input_api, output_api) |
| 32 | 32 |
| 33 | 33 |
| 34 def GetPreferredTryMasters(project, change): | 34 def GetPreferredTryMasters(project, change): |
| 35 return { | 35 return { |
| 36 'tryserver.chromium': { | 36 'tryserver.chromium.win': { |
| 37 'win_drmemory': set(['defaulttests']), | 37 'win_drmemory': set(['defaulttests']), |
| 38 } | 38 } |
| 39 } | 39 } |
| OLD | NEW |