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