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

Side by Side Diff: build/get_landmines.py

Issue 109123005: Add landmine to clober mac and win to fix bad dependency for create_nmf.py (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years 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 19 matching lines...) Expand all
30 builder() == 'ninja'): 30 builder() == 'ninja'):
31 print 'Need to clobber winja goma due to backend cwd cache fix.' 31 print 'Need to clobber winja goma due to backend cwd cache fix.'
32 if platform() == 'android': 32 if platform() == 'android':
33 print 'Clobber: Resources removed in r195014 require clobber.' 33 print 'Clobber: Resources removed in r195014 require clobber.'
34 if platform() == 'win' and builder() == 'ninja': 34 if platform() == 'win' and builder() == 'ninja':
35 print 'Compile on cc_unittests fails due to symbols removed in r185063.' 35 print 'Compile on cc_unittests fails due to symbols removed in r185063.'
36 if platform() == 'linux' and builder() == 'ninja': 36 if platform() == 'linux' and builder() == 'ninja':
37 print 'Builders switching from make to ninja will clobber on this.' 37 print 'Builders switching from make to ninja will clobber on this.'
38 if platform() == 'mac': 38 if platform() == 'mac':
39 print 'Switching from bundle to unbundled dylib (issue 14743002).' 39 print 'Switching from bundle to unbundled dylib (issue 14743002).'
40 if platform() in ('win', 'mac'):
41 print ('Improper dependency for create_nmf.py broke in r240802, '
42 'fixed in r240860.')
40 if (platform() == 'win' and builder() == 'ninja' and 43 if (platform() == 'win' and builder() == 'ninja' and
41 gyp_msvs_version() == '2012' and 44 gyp_msvs_version() == '2012' and
42 gyp_defines().get('target_arch') == 'x64' and 45 gyp_defines().get('target_arch') == 'x64' and
43 gyp_defines().get('dcheck_always_on') == '1'): 46 gyp_defines().get('dcheck_always_on') == '1'):
44 print "Switched win x64 trybots from VS2010 to VS2012." 47 print "Switched win x64 trybots from VS2010 to VS2012."
45 print 'Need to clobber everything due to an IDL change in r154579 (blink)' 48 print 'Need to clobber everything due to an IDL change in r154579 (blink)'
46 49
47 50
48 def main(): 51 def main():
49 parser = optparse.OptionParser() 52 parser = optparse.OptionParser()
50 parser.add_option('-t', '--target', 53 parser.add_option('-t', '--target',
51 help=='Target for which the landmines have to be emitted') 54 help=='Target for which the landmines have to be emitted')
52 55
53 options, args = parser.parse_args() 56 options, args = parser.parse_args()
54 57
55 if args: 58 if args:
56 parser.error('Unknown arguments %s' % args) 59 parser.error('Unknown arguments %s' % args)
57 60
58 print_landmines(options.target) 61 print_landmines(options.target)
59 return 0 62 return 0
60 63
61 64
62 if __name__ == '__main__': 65 if __name__ == '__main__':
63 sys.exit(main()) 66 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