Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9)

Side by Side Diff: build/get_landmines.py

Issue 163073002: Add a landmine to get rid of obselete test netscape plugins (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 'Need to clobber everything due to an IDL change in r154579 (blink)' 51 print 'Need to clobber everything due to an IDL change in r154579 (blink)'
52 if (platform() != 'ios'):
53 print 'Clobber to get rid of obselete test plugin after r248358'
52 54
53 55
54 def main(): 56 def main():
55 parser = optparse.OptionParser() 57 parser = optparse.OptionParser()
56 parser.add_option('-t', '--target', 58 parser.add_option('-t', '--target',
57 help=='Target for which the landmines have to be emitted') 59 help=='Target for which the landmines have to be emitted')
58 60
59 options, args = parser.parse_args() 61 options, args = parser.parse_args()
60 62
61 if args: 63 if args:
62 parser.error('Unknown arguments %s' % args) 64 parser.error('Unknown arguments %s' % args)
63 65
64 print_landmines(options.target) 66 print_landmines(options.target)
65 return 0 67 return 0
66 68
67 69
68 if __name__ == '__main__': 70 if __name__ == '__main__':
69 sys.exit(main()) 71 sys.exit(main())
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698