| 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 222 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 233 r'^base[\\\/]posix[\\\/]eintr_wrapper\.h$', | 233 r'^base[\\\/]posix[\\\/]eintr_wrapper\.h$', |
| 234 r'^ppapi[\\\/]tests[\\\/]test_broker\.cc$', | 234 r'^ppapi[\\\/]tests[\\\/]test_broker\.cc$', |
| 235 ), | 235 ), |
| 236 ), | 236 ), |
| 237 ) | 237 ) |
| 238 | 238 |
| 239 | 239 |
| 240 _VALID_OS_MACROS = ( | 240 _VALID_OS_MACROS = ( |
| 241 # Please keep sorted. | 241 # Please keep sorted. |
| 242 'OS_ANDROID', | 242 'OS_ANDROID', |
| 243 'OS_ANDROID_HOST', |
| 243 'OS_BSD', | 244 'OS_BSD', |
| 244 'OS_CAT', # For testing. | 245 'OS_CAT', # For testing. |
| 245 'OS_CHROMEOS', | 246 'OS_CHROMEOS', |
| 246 'OS_FREEBSD', | 247 'OS_FREEBSD', |
| 247 'OS_IOS', | 248 'OS_IOS', |
| 248 'OS_LINUX', | 249 'OS_LINUX', |
| 249 'OS_MACOSX', | 250 'OS_MACOSX', |
| 250 'OS_NACL', | 251 'OS_NACL', |
| 251 'OS_OPENBSD', | 252 'OS_OPENBSD', |
| 252 'OS_POSIX', | 253 'OS_POSIX', |
| (...skipping 1202 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1455 trybots.extend(GetDefaultTryConfigs(['cros_x86'])) | 1456 trybots.extend(GetDefaultTryConfigs(['cros_x86'])) |
| 1456 | 1457 |
| 1457 # The AOSP bot doesn't build the chrome/ layer, so ignore any changes to it | 1458 # The AOSP bot doesn't build the chrome/ layer, so ignore any changes to it |
| 1458 # unless they're .gyp(i) files as changes to those files can break the gyp | 1459 # unless they're .gyp(i) files as changes to those files can break the gyp |
| 1459 # step on that bot. | 1460 # step on that bot. |
| 1460 if (not all(re.search('^chrome', f) for f in files) or | 1461 if (not all(re.search('^chrome', f) for f in files) or |
| 1461 any(re.search('\.gypi?$', f) for f in files)): | 1462 any(re.search('\.gypi?$', f) for f in files)): |
| 1462 trybots.extend(GetDefaultTryConfigs(['android_aosp'])) | 1463 trybots.extend(GetDefaultTryConfigs(['android_aosp'])) |
| 1463 | 1464 |
| 1464 return trybots | 1465 return trybots |
| OLD | NEW |