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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 'fixed in r240860.') | 42 'fixed in r240860.') |
43 if (platform() == 'win' and builder() == 'ninja' and | 43 if (platform() == 'win' and builder() == 'ninja' and |
44 gyp_msvs_version() == '2012' and | 44 gyp_msvs_version() == '2012' and |
45 gyp_defines().get('target_arch') == 'x64' and | 45 gyp_defines().get('target_arch') == 'x64' and |
46 gyp_defines().get('dcheck_always_on') == '1'): | 46 gyp_defines().get('dcheck_always_on') == '1'): |
47 print "Switched win x64 trybots from VS2010 to VS2012." | 47 print "Switched win x64 trybots from VS2010 to VS2012." |
48 if (platform() == 'win' and builder() == 'ninja' and | 48 if (platform() == 'win' and builder() == 'ninja' and |
49 gyp_msvs_version().startswith('2013')): | 49 gyp_msvs_version().startswith('2013')): |
50 print "Switched win from VS2010 to VS2013." | 50 print "Switched win from VS2010 to VS2013." |
51 print "Update to VS2013 Update 2." | 51 print "Update to VS2013 Update 2." |
| 52 print "Update to VS2013 Update 3." |
52 print 'Need to clobber everything due to an IDL change in r154579 (blink)' | 53 print 'Need to clobber everything due to an IDL change in r154579 (blink)' |
53 print 'Need to clobber everything due to gen file moves in r175513 (Blink)' | 54 print 'Need to clobber everything due to gen file moves in r175513 (Blink)' |
54 if (platform() != 'ios'): | 55 if (platform() != 'ios'): |
55 print 'Clobber to get rid of obselete test plugin after r248358' | 56 print 'Clobber to get rid of obselete test plugin after r248358' |
56 print 'Clobber to rebuild GN files for V8' | 57 print 'Clobber to rebuild GN files for V8' |
57 print 'Need to clobber everything due to build_nexe change in nacl r13424' | 58 print 'Need to clobber everything due to build_nexe change in nacl r13424' |
58 print '[chromium-dev] PSA: clobber build needed for IDR_INSPECTOR_* compil...' | 59 print '[chromium-dev] PSA: clobber build needed for IDR_INSPECTOR_* compil...' |
59 print 'blink_resources.grd changed: crbug.com/400860' | 60 print 'blink_resources.grd changed: crbug.com/400860' |
60 | 61 |
61 | 62 |
62 def main(): | 63 def main(): |
63 parser = optparse.OptionParser() | 64 parser = optparse.OptionParser() |
64 parser.add_option('-t', '--target', | 65 parser.add_option('-t', '--target', |
65 help=='Target for which the landmines have to be emitted') | 66 help=='Target for which the landmines have to be emitted') |
66 | 67 |
67 options, args = parser.parse_args() | 68 options, args = parser.parse_args() |
68 | 69 |
69 if args: | 70 if args: |
70 parser.error('Unknown arguments %s' % args) | 71 parser.error('Unknown arguments %s' % args) |
71 | 72 |
72 print_landmines(options.target) | 73 print_landmines(options.target) |
73 return 0 | 74 return 0 |
74 | 75 |
75 | 76 |
76 if __name__ == '__main__': | 77 if __name__ == '__main__': |
77 sys.exit(main()) | 78 sys.exit(main()) |
OLD | NEW |