| OLD | NEW |
| 1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
| 2 # Copyright 2013 The Chromium Authors. All rights reserved. | 2 # Copyright 2013 The Chromium Authors. All rights reserved. |
| 3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
| 4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
| 5 | 5 |
| 6 """ | 6 """ |
| 7 This file emits the list of reasons why a particular build needs to be clobbered | 7 This file emits the list of reasons why a particular build needs to be clobbered |
| 8 (or a list of 'landmines'). | 8 (or a list of 'landmines'). |
| 9 """ | 9 """ |
| 10 | 10 |
| (...skipping 12 matching lines...) Expand all Loading... |
| 23 def print_landmines(): | 23 def print_landmines(): |
| 24 """ | 24 """ |
| 25 ALL LANDMINES ARE EMITTED FROM HERE. | 25 ALL LANDMINES ARE EMITTED FROM HERE. |
| 26 """ | 26 """ |
| 27 # DO NOT add landmines as part of a regular CL. Landmines are a last-effort | 27 # DO NOT add landmines as part of a regular CL. Landmines are a last-effort |
| 28 # bandaid fix if a CL that got landed has a build dependency bug and all bots | 28 # bandaid fix if a CL that got landed has a build dependency bug and all bots |
| 29 # need to be cleaned up. If you're writing a new CL that causes build | 29 # need to be cleaned up. If you're writing a new CL that causes build |
| 30 # dependency problems, fix the dependency problems instead of adding a | 30 # dependency problems, fix the dependency problems instead of adding a |
| 31 # landmine. | 31 # landmine. |
| 32 | 32 |
| 33 if distributor() == 'goma' and platform() == 'win32': | 33 if (distributor() == 'goma' and platform() == 'win32' and |
| 34 builder() == 'ninja'): |
| 34 print 'Need to clobber winja goma due to backend cwd cache fix.' | 35 print 'Need to clobber winja goma due to backend cwd cache fix.' |
| 35 if platform() == 'android': | 36 if platform() == 'android': |
| 36 print 'Clobber: to handle new way of suppressing findbugs failures.' | 37 print 'Clobber: to handle new way of suppressing findbugs failures.' |
| 37 print 'Clobber to fix gyp not rename package name (crbug.com/457038)' | 38 print 'Clobber to fix gyp not rename package name (crbug.com/457038)' |
| 38 if platform() == 'win': | 39 if platform() == 'win' and builder() == 'ninja': |
| 39 print 'Compile on cc_unittests fails due to symbols removed in r185063.' | 40 print 'Compile on cc_unittests fails due to symbols removed in r185063.' |
| 40 if platform() == 'linux': | 41 if platform() == 'linux' and builder() == 'ninja': |
| 41 print 'Builders switching from make to ninja will clobber on this.' | 42 print 'Builders switching from make to ninja will clobber on this.' |
| 42 if platform() == 'mac': | 43 if platform() == 'mac': |
| 43 print 'Switching from bundle to unbundled dylib (issue 14743002).' | 44 print 'Switching from bundle to unbundled dylib (issue 14743002).' |
| 44 if platform() in ('win', 'mac'): | 45 if platform() in ('win', 'mac'): |
| 45 print ('Improper dependency for create_nmf.py broke in r240802, ' | 46 print ('Improper dependency for create_nmf.py broke in r240802, ' |
| 46 'fixed in r240860.') | 47 'fixed in r240860.') |
| 47 if (platform() == 'win' and | 48 if (platform() == 'win' and builder() == 'ninja' and |
| 48 gyp_msvs_version() == '2012' and | 49 gyp_msvs_version() == '2012' and |
| 49 gyp_defines().get('target_arch') == 'x64' and | 50 gyp_defines().get('target_arch') == 'x64' and |
| 50 gyp_defines().get('dcheck_always_on') == '1'): | 51 gyp_defines().get('dcheck_always_on') == '1'): |
| 51 print "Switched win x64 trybots from VS2010 to VS2012." | 52 print "Switched win x64 trybots from VS2010 to VS2012." |
| 52 if (platform() == 'win' and | 53 if (platform() == 'win' and builder() == 'ninja' and |
| 53 gyp_msvs_version().startswith('2013')): | 54 gyp_msvs_version().startswith('2013')): |
| 54 print "Switch to VS2013" | 55 print "Switch to VS2013" |
| 55 if (platform() == 'win' and gyp_msvs_version().startswith('2015')): | 56 if (platform() == 'win' and gyp_msvs_version().startswith('2015')): |
| 56 print 'Switch to VS2015 Update 2' | 57 print 'Switch to VS2015 Update 2' |
| 57 print 'Need to clobber everything due to an IDL change in r154579 (blink)' | 58 print 'Need to clobber everything due to an IDL change in r154579 (blink)' |
| 58 print 'Need to clobber everything due to gen file moves in r175513 (Blink)' | 59 print 'Need to clobber everything due to gen file moves in r175513 (Blink)' |
| 59 if (platform() != 'ios'): | 60 if (platform() != 'ios'): |
| 60 print 'Clobber to get rid of obselete test plugin after r248358' | 61 print 'Clobber to get rid of obselete test plugin after r248358' |
| 61 print 'Clobber to rebuild GN files for V8' | 62 print 'Clobber to rebuild GN files for V8' |
| 62 print 'Clobber to get rid of stale generated mojom.h files' | 63 print 'Clobber to get rid of stale generated mojom.h files' |
| (...skipping 15 matching lines...) Expand all Loading... |
| 78 print 'Clobber to get rid of evil libsqlite3.dylib (crbug.com/526208)' | 79 print 'Clobber to get rid of evil libsqlite3.dylib (crbug.com/526208)' |
| 79 | 80 |
| 80 | 81 |
| 81 def main(): | 82 def main(): |
| 82 print_landmines() | 83 print_landmines() |
| 83 return 0 | 84 return 0 |
| 84 | 85 |
| 85 | 86 |
| 86 if __name__ == '__main__': | 87 if __name__ == '__main__': |
| 87 sys.exit(main()) | 88 sys.exit(main()) |
| OLD | NEW |