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 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
49 if (platform() == 'win' and builder() == 'ninja' and | 49 if (platform() == 'win' and builder() == 'ninja' and |
50 gyp_msvs_version().startswith('2013')): | 50 gyp_msvs_version().startswith('2013')): |
51 print "Switched win from VS2010 to VS2013." | 51 print "Switched win from VS2010 to VS2013." |
52 print "Update to VS2013 Update 2." | 52 print "Update to VS2013 Update 2." |
53 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)' |
54 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)' |
55 if (platform() != 'ios'): | 55 if (platform() != 'ios'): |
56 print 'Clobber to get rid of obselete test plugin after r248358' | 56 print 'Clobber to get rid of obselete test plugin after r248358' |
57 print 'Clobber to rebuild GN files for V8' | 57 print 'Clobber to rebuild GN files for V8' |
58 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' |
59 print '[chromium-dev] PSA: clobber build needed for IDR_INSPECTOR_* compil...' | |
tfarina
2014/08/04 16:23:29
So as Jochen suggested in https://codereview.chrom
| |
59 | 60 |
60 | 61 |
61 def main(): | 62 def main(): |
62 parser = optparse.OptionParser() | 63 parser = optparse.OptionParser() |
63 parser.add_option('-t', '--target', | 64 parser.add_option('-t', '--target', |
64 help=='Target for which the landmines have to be emitted') | 65 help=='Target for which the landmines have to be emitted') |
65 | 66 |
66 options, args = parser.parse_args() | 67 options, args = parser.parse_args() |
67 | 68 |
68 if args: | 69 if args: |
69 parser.error('Unknown arguments %s' % args) | 70 parser.error('Unknown arguments %s' % args) |
70 | 71 |
71 print_landmines(options.target) | 72 print_landmines(options.target) |
72 return 0 | 73 return 0 |
73 | 74 |
74 | 75 |
75 if __name__ == '__main__': | 76 if __name__ == '__main__': |
76 sys.exit(main()) | 77 sys.exit(main()) |
OLD | NEW |