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 1517 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1528 | 1528 |
1529 | 1529 |
1530 def GetPreferredTryMasters(project, change): | 1530 def GetPreferredTryMasters(project, change): |
1531 import re | 1531 import re |
1532 files = change.LocalPaths() | 1532 files = change.LocalPaths() |
1533 | 1533 |
1534 if not files or all(re.search(r'[\\\/]OWNERS$', f) for f in files): | 1534 if not files or all(re.search(r'[\\\/]OWNERS$', f) for f in files): |
1535 return {} | 1535 return {} |
1536 | 1536 |
1537 builders = [ | 1537 builders = [ |
| 1538 'Mojo Android Builder (dbg) Try', |
| 1539 'Mojo Android Builder Try', |
| 1540 'Mojo ChromeOS Builder (dbg) Try', |
| 1541 'Mojo ChromeOS Builder Try', |
| 1542 'Mojo Linux (dbg) Try', |
| 1543 'Mojo Linux ASan Try', |
| 1544 'Mojo Linux NaCl (dbg) Try', |
| 1545 'Mojo Linux NaCl Try', |
1538 'Mojo Linux Try', | 1546 'Mojo Linux Try', |
1539 'Mojo Linux (dbg) Try', | |
1540 'Mojo Linux NaCl Try', | |
1541 'Mojo Linux NaCl (dbg) Try', | |
1542 'Mojo Android Builder Try', | |
1543 'Mojo Android Builder (dbg) Try', | |
1544 'Mojo ChromeOS Builder Try', | |
1545 'Mojo ChromeOS Builder (dbg) Try', | |
1546 ] | 1547 ] |
1547 | 1548 |
1548 return GetDefaultTryConfigs(builders) | 1549 return GetDefaultTryConfigs(builders) |
OLD | NEW |