| 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 26 matching lines...) Expand all Loading... |
| 37 print 'Clobber to fix gyp not rename package name (crbug.com/457038)' | 37 print 'Clobber to fix gyp not rename package name (crbug.com/457038)' |
| 38 if platform() == 'win': | 38 if platform() == 'win': |
| 39 print 'Compile on cc_unittests fails due to symbols removed in r185063.' | 39 print 'Compile on cc_unittests fails due to symbols removed in r185063.' |
| 40 if platform() == 'linux': | 40 if platform() == 'linux': |
| 41 print 'Builders switching from make to ninja will clobber on this.' | 41 print 'Builders switching from make to ninja will clobber on this.' |
| 42 if platform() == 'mac': | 42 if platform() == 'mac': |
| 43 print 'Switching from bundle to unbundled dylib (issue 14743002).' | 43 print 'Switching from bundle to unbundled dylib (issue 14743002).' |
| 44 if platform() in ('win', 'mac'): | 44 if platform() in ('win', 'mac'): |
| 45 print ('Improper dependency for create_nmf.py broke in r240802, ' | 45 print ('Improper dependency for create_nmf.py broke in r240802, ' |
| 46 'fixed in r240860.') | 46 'fixed in r240860.') |
| 47 if (platform() == 'win' and | |
| 48 gyp_msvs_version() == '2012' and | |
| 49 gyp_defines().get('target_arch') == 'x64' and | |
| 50 gyp_defines().get('dcheck_always_on') == '1'): | |
| 51 print "Switched win x64 trybots from VS2010 to VS2012." | |
| 52 if (platform() == 'win' and | |
| 53 gyp_msvs_version().startswith('2013')): | |
| 54 print "Switch to VS2013" | |
| 55 if (platform() == 'win' and gyp_msvs_version().startswith('2015')): | 47 if (platform() == 'win' and gyp_msvs_version().startswith('2015')): |
| 56 print 'Switch to VS2015 Update 2' | 48 print 'Switch to VS2015 Update 2' |
| 57 print 'Need to clobber everything due to an IDL change in r154579 (blink)' | 49 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)' | 50 print 'Need to clobber everything due to gen file moves in r175513 (Blink)' |
| 59 if (platform() != 'ios'): | 51 if (platform() != 'ios'): |
| 60 print 'Clobber to get rid of obselete test plugin after r248358' | 52 print 'Clobber to get rid of obselete test plugin after r248358' |
| 61 print 'Clobber to rebuild GN files for V8' | 53 print 'Clobber to rebuild GN files for V8' |
| 62 print 'Clobber to get rid of stale generated mojom.h files' | 54 print 'Clobber to get rid of stale generated mojom.h files' |
| 63 print 'Need to clobber everything due to build_nexe change in nacl r13424' | 55 print 'Need to clobber everything due to build_nexe change in nacl r13424' |
| 64 print '[chromium-dev] PSA: clobber build needed for IDR_INSPECTOR_* compil...' | 56 print '[chromium-dev] PSA: clobber build needed for IDR_INSPECTOR_* compil...' |
| (...skipping 15 matching lines...) Expand all Loading... |
| 80 print 'Clobber to remove libsystem.dylib. See crbug.com/620075' | 72 print 'Clobber to remove libsystem.dylib. See crbug.com/620075' |
| 81 | 73 |
| 82 | 74 |
| 83 def main(): | 75 def main(): |
| 84 print_landmines() | 76 print_landmines() |
| 85 return 0 | 77 return 0 |
| 86 | 78 |
| 87 | 79 |
| 88 if __name__ == '__main__': | 80 if __name__ == '__main__': |
| 89 sys.exit(main()) | 81 sys.exit(main()) |
| OLD | NEW |