| 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 Chromium. | 5 """Top-level presubmit script for Chromium. |
| 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 about the presubmit API built into gcl. | 8 for more details about the presubmit API built into gcl. |
| 9 """ | 9 """ |
| 10 | 10 |
| (...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 140 ( | 140 ( |
| 141 'browser::FindLastActiveWithProfile', | 141 'browser::FindLastActiveWithProfile', |
| 142 ( | 142 ( |
| 143 'This function is deprecated and we\'re working on removing it. Pass', | 143 'This function is deprecated and we\'re working on removing it. Pass', |
| 144 'more context to get a Browser*, like a WebContents, window, or session', | 144 'more context to get a Browser*, like a WebContents, window, or session', |
| 145 'id. Talk to ben@ or jam@ for more information.', | 145 'id. Talk to ben@ or jam@ for more information.', |
| 146 ), | 146 ), |
| 147 True, | 147 True, |
| 148 ), | 148 ), |
| 149 ( | 149 ( |
| 150 'browser::FindBrowserWithProfile', | |
| 151 ( | |
| 152 'This function is deprecated and we\'re working on removing it. Pass', | |
| 153 'more context to get a Browser*, like a WebContents, window, or session', | |
| 154 'id. Talk to ben@ or jam@ for more information.', | |
| 155 ), | |
| 156 True, | |
| 157 ), | |
| 158 ( | |
| 159 'browser::FindAnyBrowser', | 150 'browser::FindAnyBrowser', |
| 160 ( | 151 ( |
| 161 'This function is deprecated and we\'re working on removing it. Pass', | 152 'This function is deprecated and we\'re working on removing it. Pass', |
| 162 'more context to get a Browser*, like a WebContents, window, or session', | 153 'more context to get a Browser*, like a WebContents, window, or session', |
| 163 'id. Talk to ben@ or jam@ for more information.', | 154 'id. Talk to ben@ or jam@ for more information.', |
| 164 ), | 155 ), |
| 165 True, | 156 True, |
| 166 ), | 157 ), |
| 167 ( | 158 ( |
| 168 'browser::FindOrCreateTabbedBrowser', | 159 'browser::FindOrCreateTabbedBrowser', |
| (...skipping 430 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 599 | 590 |
| 600 # Match things like path/aura/file.cc and path/file_aura.cc. | 591 # Match things like path/aura/file.cc and path/file_aura.cc. |
| 601 # Same for ash and chromeos. | 592 # Same for ash and chromeos. |
| 602 if any(re.search('[/_](ash|aura)', f) for f in files): | 593 if any(re.search('[/_](ash|aura)', f) for f in files): |
| 603 trybots += ['linux_chromeos', 'linux_chromeos_clang:compile', 'win_aura'] | 594 trybots += ['linux_chromeos', 'linux_chromeos_clang:compile', 'win_aura'] |
| 604 else: | 595 else: |
| 605 if any(re.search('[/_]chromeos', f) for f in files): | 596 if any(re.search('[/_]chromeos', f) for f in files): |
| 606 trybots += ['linux_chromeos', 'linux_chromeos_clang:compile'] | 597 trybots += ['linux_chromeos', 'linux_chromeos_clang:compile'] |
| 607 | 598 |
| 608 return trybots | 599 return trybots |
| OLD | NEW |