| 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 """Chromium presubmit script for src/chrome/browser/extensions. | 5 """Chromium presubmit script for src/chrome/browser/extensions. |
| 6 | 6 |
| 7 See http://dev.chromium.org/developers/how-tos/depottools/presubmit-scripts | 7 See http://dev.chromium.org/developers/how-tos/depottools/presubmit-scripts |
| 8 for more details on the presubmit API built into gcl. | 8 for more details on the presubmit API built into gcl. |
| 9 """ | 9 """ |
| 10 | 10 |
| 11 def GetPreferredTryMasters(project, change): | 11 def GetPreferredTryMasters(project, change): |
| 12 return { | 12 return { |
| 13 'tryserver.chromium': { | 13 'tryserver.chromium': { |
| 14 'linux_chromeos': set(['defaulttests']), | 14 'linux_chromium_chromeos_rel': set(['defaulttests']), |
| 15 } | 15 } |
| 16 } | 16 } |
| 17 | 17 |
| 18 def CheckChangeOnUpload(input_api, output_api): | 18 def CheckChangeOnUpload(input_api, output_api): |
| 19 results = [] | 19 results = [] |
| 20 results += input_api.canned_checks.CheckPatchFormatted(input_api, output_api) | 20 results += input_api.canned_checks.CheckPatchFormatted(input_api, output_api) |
| 21 return results | 21 return results |
| 22 | 22 |
| OLD | NEW |