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 30 matching lines...) Expand all Loading... | |
41 print ('Improper dependency for create_nmf.py broke in r240802, ' | 41 print ('Improper dependency for create_nmf.py broke in r240802, ' |
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." | |
scottmg
2014/05/12 21:42:41
the pdbs require a clobber, this makes sense, righ
| |
51 print 'Need to clobber everything due to an IDL change in r154579 (blink)' | 52 print 'Need to clobber everything due to an IDL change in r154579 (blink)' |
52 if (platform() != 'ios'): | 53 if (platform() != 'ios'): |
53 print 'Clobber to get rid of obselete test plugin after r248358' | 54 print 'Clobber to get rid of obselete test plugin after r248358' |
54 | 55 |
55 | 56 |
56 def main(): | 57 def main(): |
57 parser = optparse.OptionParser() | 58 parser = optparse.OptionParser() |
58 parser.add_option('-t', '--target', | 59 parser.add_option('-t', '--target', |
59 help=='Target for which the landmines have to be emitted') | 60 help=='Target for which the landmines have to be emitted') |
60 | 61 |
61 options, args = parser.parse_args() | 62 options, args = parser.parse_args() |
62 | 63 |
63 if args: | 64 if args: |
64 parser.error('Unknown arguments %s' % args) | 65 parser.error('Unknown arguments %s' % args) |
65 | 66 |
66 print_landmines(options.target) | 67 print_landmines(options.target) |
67 return 0 | 68 return 0 |
68 | 69 |
69 | 70 |
70 if __name__ == '__main__': | 71 if __name__ == '__main__': |
71 sys.exit(main()) | 72 sys.exit(main()) |
OLD | NEW |