| 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 18 matching lines...) Expand all Loading... |
| 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: to handle new way of suppressing findbugs failures.' |
| 38 print 'Clobber to fix gyp not rename package name (crbug.com/457038)' | 38 print 'Clobber to fix gyp not rename package name (crbug.com/457038)' |
| 39 print 'Clobber to work around incremental dex issue (crbug.com/569713)' | |
| 40 if platform() == 'win' and builder() == 'ninja': | 39 if platform() == 'win' and builder() == 'ninja': |
| 41 print 'Compile on cc_unittests fails due to symbols removed in r185063.' | 40 print 'Compile on cc_unittests fails due to symbols removed in r185063.' |
| 42 if platform() == 'linux' and builder() == 'ninja': | 41 if platform() == 'linux' and builder() == 'ninja': |
| 43 print 'Builders switching from make to ninja will clobber on this.' | 42 print 'Builders switching from make to ninja will clobber on this.' |
| 44 if platform() == 'mac': | 43 if platform() == 'mac': |
| 45 print 'Switching from bundle to unbundled dylib (issue 14743002).' | 44 print 'Switching from bundle to unbundled dylib (issue 14743002).' |
| 46 if platform() in ('win', 'mac'): | 45 if platform() in ('win', 'mac'): |
| 47 print ('Improper dependency for create_nmf.py broke in r240802, ' | 46 print ('Improper dependency for create_nmf.py broke in r240802, ' |
| 48 'fixed in r240860.') | 47 'fixed in r240860.') |
| 49 if (platform() == 'win' and builder() == 'ninja' and | 48 if (platform() == 'win' and builder() == 'ninja' and |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 82 print 'Clobber to get rid of evil libsqlite3.dylib (crbug.com/526208)' | 81 print 'Clobber to get rid of evil libsqlite3.dylib (crbug.com/526208)' |
| 83 | 82 |
| 84 | 83 |
| 85 def main(): | 84 def main(): |
| 86 print_landmines() | 85 print_landmines() |
| 87 return 0 | 86 return 0 |
| 88 | 87 |
| 89 | 88 |
| 90 if __name__ == '__main__': | 89 if __name__ == '__main__': |
| 91 sys.exit(main()) | 90 sys.exit(main()) |
| OLD | NEW |