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 16 matching lines...) Expand all Loading... |
27 # DO NOT add landmines as part of a regular CL. Landmines are a last-effort | 27 # DO NOT add landmines as part of a regular CL. Landmines are a last-effort |
28 # bandaid fix if a CL that got landed has a build dependency bug and all bots | 28 # bandaid fix if a CL that got landed has a build dependency bug and all bots |
29 # need to be cleaned up. If you're writing a new CL that causes build | 29 # need to be cleaned up. If you're writing a new CL that causes build |
30 # dependency problems, fix the dependency problems instead of adding a | 30 # dependency problems, fix the dependency problems instead of adding a |
31 # landmine. | 31 # landmine. |
32 | 32 |
33 if (distributor() == 'goma' and platform() == 'win32' and | 33 if (distributor() == 'goma' and platform() == 'win32' and |
34 builder() == 'ninja'): | 34 builder() == 'ninja'): |
35 print 'Need to clobber winja goma due to backend cwd cache fix.' | 35 print 'Need to clobber winja goma due to backend cwd cache fix.' |
36 if platform() == 'android': | 36 if platform() == 'android': |
37 print 'Clobber: to handle new way of suppressing findbugs failures.' | 37 print 'Clobber because of unions.' |
38 print 'Clobber to fix gyp not rename package name (crbug.com/457038)' | |
39 if platform() == 'win' and builder() == 'ninja': | 38 if platform() == 'win' and builder() == 'ninja': |
40 print 'Compile on cc_unittests fails due to symbols removed in r185063.' | 39 print 'Compile on cc_unittests fails due to symbols removed in r185063.' |
41 if platform() == 'linux' and builder() == 'ninja': | 40 if platform() == 'linux' and builder() == 'ninja': |
42 print 'Builders switching from make to ninja will clobber on this.' | 41 print 'Builders switching from make to ninja will clobber on this.' |
43 if platform() == 'mac': | 42 if platform() == 'mac': |
44 print 'Switching from bundle to unbundled dylib (issue 14743002).' | 43 print 'Switching from bundle to unbundled dylib (issue 14743002).' |
45 if platform() in ('win', 'mac'): | 44 if platform() in ('win', 'mac'): |
46 print ('Improper dependency for create_nmf.py broke in r240802, ' | 45 print ('Improper dependency for create_nmf.py broke in r240802, ' |
47 'fixed in r240860.') | 46 'fixed in r240860.') |
48 if (platform() == 'win' and builder() == 'ninja' and | 47 if (platform() == 'win' and builder() == 'ninja' and |
(...skipping 24 matching lines...) Expand all Loading... |
73 print 'Clobber iOS to workaround Xcode deps bug (crbug.com/485435)' | 72 print 'Clobber iOS to workaround Xcode deps bug (crbug.com/485435)' |
74 | 73 |
75 | 74 |
76 def main(): | 75 def main(): |
77 print_landmines() | 76 print_landmines() |
78 return 0 | 77 return 0 |
79 | 78 |
80 | 79 |
81 if __name__ == '__main__': | 80 if __name__ == '__main__': |
82 sys.exit(main()) | 81 sys.exit(main()) |
OLD | NEW |