| 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 10 matching lines...) Expand all Loading... |
| 21 | 21 |
| 22 | 22 |
| 23 def print_landmines(): | 23 def print_landmines(): |
| 24 """ | 24 """ |
| 25 ALL LANDMINES ARE EMITTED FROM HERE. | 25 ALL LANDMINES ARE EMITTED FROM HERE. |
| 26 """ | 26 """ |
| 27 if (distributor() == 'goma' and platform() == 'win32' and | 27 if (distributor() == 'goma' and platform() == 'win32' and |
| 28 builder() == 'ninja'): | 28 builder() == 'ninja'): |
| 29 print 'Need to clobber winja goma due to backend cwd cache fix.' | 29 print 'Need to clobber winja goma due to backend cwd cache fix.' |
| 30 if platform() == 'android': | 30 if platform() == 'android': |
| 31 print 'Clobber: To delete generated class files (we just use jars now).' | 31 print 'Clobber: To delete generated mojo class files.' |
| 32 if platform() == 'win' and builder() == 'ninja': | 32 if platform() == 'win' and builder() == 'ninja': |
| 33 print 'Compile on cc_unittests fails due to symbols removed in r185063.' | 33 print 'Compile on cc_unittests fails due to symbols removed in r185063.' |
| 34 if platform() == 'linux' and builder() == 'ninja': | 34 if platform() == 'linux' and builder() == 'ninja': |
| 35 print 'Builders switching from make to ninja will clobber on this.' | 35 print 'Builders switching from make to ninja will clobber on this.' |
| 36 if platform() == 'mac': | 36 if platform() == 'mac': |
| 37 print 'Switching from bundle to unbundled dylib (issue 14743002).' | 37 print 'Switching from bundle to unbundled dylib (issue 14743002).' |
| 38 if platform() in ('win', 'mac'): | 38 if platform() in ('win', 'mac'): |
| 39 print ('Improper dependency for create_nmf.py broke in r240802, ' | 39 print ('Improper dependency for create_nmf.py broke in r240802, ' |
| 40 'fixed in r240860.') | 40 'fixed in r240860.') |
| 41 if (platform() == 'win' and builder() == 'ninja' and | 41 if (platform() == 'win' and builder() == 'ninja' and |
| (...skipping 15 matching lines...) Expand all Loading... |
| 57 print 'blink_resources.grd changed: crbug.com/400860' | 57 print 'blink_resources.grd changed: crbug.com/400860' |
| 58 | 58 |
| 59 | 59 |
| 60 def main(): | 60 def main(): |
| 61 print_landmines() | 61 print_landmines() |
| 62 return 0 | 62 return 0 |
| 63 | 63 |
| 64 | 64 |
| 65 if __name__ == '__main__': | 65 if __name__ == '__main__': |
| 66 sys.exit(main()) | 66 sys.exit(main()) |
| OLD | NEW |