2014-07-22 15:06:18 +00:00
|
|
|
#!/usr/bin/env python
|
|
|
|
# Copyright 2014 the V8 project authors. All rights reserved.
|
|
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
|
|
# found in the LICENSE file.
|
|
|
|
|
|
|
|
"""
|
|
|
|
This file emits the list of reasons why a particular build needs to be clobbered
|
|
|
|
(or a list of 'landmines').
|
|
|
|
"""
|
|
|
|
|
|
|
|
import sys
|
|
|
|
|
2018-01-29 11:55:58 +00:00
|
|
|
|
|
|
|
def print_landmines(): # pylint: disable=invalid-name
|
2014-07-22 15:06:18 +00:00
|
|
|
"""
|
|
|
|
ALL LANDMINES ARE EMITTED FROM HERE.
|
|
|
|
"""
|
2018-01-29 11:55:58 +00:00
|
|
|
# DO NOT add landmines as part of a regular CL. Landmines are a last-effort
|
|
|
|
# bandaid fix if a CL that got landed has a build dependency bug and all bots
|
|
|
|
# need to be cleaned up. If you're writing a new CL that causes build
|
|
|
|
# dependency problems, fix the dependency problems instead of adding a
|
|
|
|
# landmine.
|
|
|
|
# See the Chromium version in src/build/get_landmines.py for usage examples.
|
2014-07-22 15:09:58 +00:00
|
|
|
print 'Need to clobber after ICU52 roll.'
|
2014-07-23 13:12:00 +00:00
|
|
|
print 'Landmines test.'
|
2014-08-11 16:10:29 +00:00
|
|
|
print 'Activating MSVS 2013.'
|
2014-08-11 18:28:54 +00:00
|
|
|
print 'Revert activation of MSVS 2013.'
|
2014-08-26 07:00:44 +00:00
|
|
|
print 'Activating MSVS 2013 again.'
|
2015-03-04 19:45:30 +00:00
|
|
|
print 'Clobber after ICU roll.'
|
2015-06-09 20:26:32 +00:00
|
|
|
print 'Moar clobbering...'
|
2015-06-22 13:17:18 +00:00
|
|
|
print 'Remove build/android.gypi'
|
2015-07-09 14:03:25 +00:00
|
|
|
print 'Cleanup after windows ninja switch attempt.'
|
2015-11-02 10:40:16 +00:00
|
|
|
print 'Switching to pinned msvs toolchain.'
|
2015-12-02 08:08:41 +00:00
|
|
|
print 'Clobbering to hopefully resolve problem with mksnapshot'
|
2016-03-21 08:56:21 +00:00
|
|
|
print 'Clobber after ICU roll.'
|
2016-06-07 06:41:05 +00:00
|
|
|
print 'Clobber after Android NDK update.'
|
2016-09-30 07:11:10 +00:00
|
|
|
print 'Clober to fix windows build problems.'
|
2016-10-05 19:33:03 +00:00
|
|
|
print 'Clober again to fix windows build problems.'
|
2016-10-11 12:41:50 +00:00
|
|
|
print 'Clobber to possibly resolve failure on win-32 bot.'
|
2016-11-28 08:23:02 +00:00
|
|
|
print 'Clobber for http://crbug.com/668958.'
|
2014-07-22 15:06:18 +00:00
|
|
|
return 0
|
|
|
|
|
|
|
|
|
2018-01-29 11:55:58 +00:00
|
|
|
def main():
|
|
|
|
print_landmines()
|
|
|
|
return 0
|
|
|
|
|
|
|
|
|
2014-07-22 15:06:18 +00:00
|
|
|
if __name__ == '__main__':
|
|
|
|
sys.exit(main())
|