| 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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 48 if (platform() == 'win' and builder() == 'ninja' and | 48 if (platform() == 'win' and builder() == 'ninja' and |
| 49 gyp_msvs_version() == '2012' and | 49 gyp_msvs_version() == '2012' and |
| 50 gyp_defines().get('target_arch') == 'x64' and | 50 gyp_defines().get('target_arch') == 'x64' and |
| 51 gyp_defines().get('dcheck_always_on') == '1'): | 51 gyp_defines().get('dcheck_always_on') == '1'): |
| 52 print "Switched win x64 trybots from VS2010 to VS2012." | 52 print "Switched win x64 trybots from VS2010 to VS2012." |
| 53 if (platform() == 'win' and builder() == 'ninja' and | 53 if (platform() == 'win' and builder() == 'ninja' and |
| 54 gyp_msvs_version().startswith('2013')): | 54 gyp_msvs_version().startswith('2013')): |
| 55 print "Switched win from VS2010 to VS2013." | 55 print "Switched win from VS2010 to VS2013." |
| 56 print "Update to VS2013 Update 2." | 56 print "Update to VS2013 Update 2." |
| 57 print "Update to VS2013 Update 4." | 57 print "Update to VS2013 Update 4." |
| 58 if (platform() == 'win' and gyp_msvs_version().startswith('2015')): |
| 59 print 'Switch to VS2015' |
| 58 print 'Need to clobber everything due to an IDL change in r154579 (blink)' | 60 print 'Need to clobber everything due to an IDL change in r154579 (blink)' |
| 59 print 'Need to clobber everything due to gen file moves in r175513 (Blink)' | 61 print 'Need to clobber everything due to gen file moves in r175513 (Blink)' |
| 60 if (platform() != 'ios'): | 62 if (platform() != 'ios'): |
| 61 print 'Clobber to get rid of obselete test plugin after r248358' | 63 print 'Clobber to get rid of obselete test plugin after r248358' |
| 62 print 'Clobber to rebuild GN files for V8' | 64 print 'Clobber to rebuild GN files for V8' |
| 63 print 'Clobber to get rid of stale generated mojom.h files' | 65 print 'Clobber to get rid of stale generated mojom.h files' |
| 64 print 'Need to clobber everything due to build_nexe change in nacl r13424' | 66 print 'Need to clobber everything due to build_nexe change in nacl r13424' |
| 65 print '[chromium-dev] PSA: clobber build needed for IDR_INSPECTOR_* compil...' | 67 print '[chromium-dev] PSA: clobber build needed for IDR_INSPECTOR_* compil...' |
| 66 print 'blink_resources.grd changed: crbug.com/400860' | 68 print 'blink_resources.grd changed: crbug.com/400860' |
| 67 print 'ninja dependency cycle: crbug.com/408192' | 69 print 'ninja dependency cycle: crbug.com/408192' |
| 68 print 'Clobber to fix missing NaCl gyp dependencies (crbug.com/427427).' | 70 print 'Clobber to fix missing NaCl gyp dependencies (crbug.com/427427).' |
| 69 print 'Another clobber for missing NaCl gyp deps (crbug.com/427427).' | 71 print 'Another clobber for missing NaCl gyp deps (crbug.com/427427).' |
| 70 print 'Clobber to fix GN not picking up increased ID range (crbug.com/444902)' | 72 print 'Clobber to fix GN not picking up increased ID range (crbug.com/444902)' |
| 71 print 'Remove NaCl toolchains from the output dir (crbug.com/456902)' | 73 print 'Remove NaCl toolchains from the output dir (crbug.com/456902)' |
| 72 if platform() == 'ios': | 74 if platform() == 'ios': |
| 73 print 'Clobber iOS to workaround Xcode deps bug (crbug.com/485435)' | 75 print 'Clobber iOS to workaround Xcode deps bug (crbug.com/485435)' |
| 74 | 76 |
| 75 | 77 |
| 76 def main(): | 78 def main(): |
| 77 print_landmines() | 79 print_landmines() |
| 78 return 0 | 80 return 0 |
| 79 | 81 |
| 80 | 82 |
| 81 if __name__ == '__main__': | 83 if __name__ == '__main__': |
| 82 sys.exit(main()) | 84 sys.exit(main()) |
| OLD | NEW |