| 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 1435 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1446 | 1446 |
| 1447 # The AOSP bot doesn't build the chrome/ layer, so ignore any changes to it | 1447 # The AOSP bot doesn't build the chrome/ layer, so ignore any changes to it |
| 1448 # unless they're .gyp(i) files as changes to those files can break the gyp | 1448 # unless they're .gyp(i) files as changes to those files can break the gyp |
| 1449 # step on that bot. | 1449 # step on that bot. |
| 1450 if (not all(re.search('^chrome', f) for f in files) or | 1450 if (not all(re.search('^chrome', f) for f in files) or |
| 1451 any(re.search('\.gypi?$', f) for f in files)): | 1451 any(re.search('\.gypi?$', f) for f in files)): |
| 1452 trybots.extend(GetDefaultTryConfigs(['android_aosp'])) | 1452 trybots.extend(GetDefaultTryConfigs(['android_aosp'])) |
| 1453 | 1453 |
| 1454 # Experimental recipe-based Chromium trybots. To avoid possible capacity | 1454 # Experimental recipe-based Chromium trybots. To avoid possible capacity |
| 1455 # problems, only enable for a small percentage of try runs. | 1455 # problems, only enable for a small percentage of try runs. |
| 1456 if random.random() < 0.1: | 1456 if random.random() < 0.25: |
| 1457 trybots.extend(GetDefaultTryConfigs([ | 1457 trybots.extend(GetDefaultTryConfigs([ |
| 1458 'linux_chromium_dbg', | 1458 'linux_chromium_dbg', |
| 1459 'linux_chromium_rel', | 1459 'linux_chromium_rel', |
| 1460 'mac_chromium_dbg', | 1460 'mac_chromium_dbg', |
| 1461 'mac_chromium_rel', | 1461 'mac_chromium_rel', |
| 1462 ])) | 1462 ])) |
| 1463 | 1463 |
| 1464 return trybots | 1464 return trybots |
| OLD | NEW |