Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright (c) 2012 Google Inc. All rights reserved. | 1 # Copyright (c) 2012 Google Inc. 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 | 5 |
| 6 """Top-level presubmit script for GYP. | 6 """Top-level presubmit script for GYP. |
| 7 | 7 |
| 8 See http://dev.chromium.org/developers/how-tos/depottools/presubmit-scripts | 8 See http://dev.chromium.org/developers/how-tos/depottools/presubmit-scripts |
| 9 for more details about the presubmit API built into gcl. | 9 for more details about the presubmit API built into gcl. |
| 10 """ | 10 """ |
| (...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 117 report.extend(input_api.canned_checks.RunPylint( | 117 report.extend(input_api.canned_checks.RunPylint( |
| 118 input_api, | 118 input_api, |
| 119 output_api, | 119 output_api, |
| 120 black_list=blacklist, | 120 black_list=blacklist, |
| 121 disabled_warnings=PYLINT_DISABLED_WARNINGS)) | 121 disabled_warnings=PYLINT_DISABLED_WARNINGS)) |
| 122 finally: | 122 finally: |
| 123 sys.path = old_sys_path | 123 sys.path = old_sys_path |
| 124 return report | 124 return report |
| 125 | 125 |
| 126 | 126 |
| 127 def GetPreferredTrySlaves(): | 127 TRYBOTS = [ |
| 128 return ['gyp-win32', 'gyp-win64', 'gyp-linux', 'gyp-mac', 'gyp-android'] | 128 'gyp-win32', |
| 129 'gyp-win64', | |
| 130 'gyp-win8', | |
|
scottmg
2015/02/20 00:22:30
i think remove this one?
bradn
2015/02/20 00:27:56
Done.
| |
| 131 'gyp-linux', | |
| 132 'gyp-mac', | |
| 133 'gyp-android' | |
| 134 ] | |
| 135 | |
| 136 | |
| 137 def GetPreferredTryMasters(_, change): | |
| 138 return { | |
| 139 'tryserver.nacl': { t: set(['defaulttests']) for t in TRYBOTS }, | |
| 140 } | |
| OLD | NEW |