• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#!/usr/bin/env python
2# Copyright 2014 the V8 project authors. All rights reserved.
3# Use of this source code is governed by a BSD-style license that can be
4# found in the LICENSE file.
5
6"""
7This file emits the list of reasons why a particular build needs to be clobbered
8(or a list of 'landmines').
9"""
10
11import sys
12
13
14def print_landmines():  # pylint: disable=invalid-name
15  """
16  ALL LANDMINES ARE EMITTED FROM HERE.
17  """
18  # DO NOT add landmines as part of a regular CL. Landmines are a last-effort
19  # bandaid fix if a CL that got landed has a build dependency bug and all bots
20  # need to be cleaned up. If you're writing a new CL that causes build
21  # dependency problems, fix the dependency problems instead of adding a
22  # landmine.
23  # See the Chromium version in src/build/get_landmines.py for usage examples.
24  print 'Need to clobber after ICU52 roll.'
25  print 'Landmines test.'
26  print 'Activating MSVS 2013.'
27  print 'Revert activation of MSVS 2013.'
28  print 'Activating MSVS 2013 again.'
29  print 'Clobber after ICU roll.'
30  print 'Moar clobbering...'
31  print 'Remove build/android.gypi'
32  print 'Cleanup after windows ninja switch attempt.'
33  print 'Switching to pinned msvs toolchain.'
34  print 'Clobbering to hopefully resolve problem with mksnapshot'
35  print 'Clobber after ICU roll.'
36  print 'Clobber after Android NDK update.'
37  print 'Clober to fix windows build problems.'
38  print 'Clober again to fix windows build problems.'
39  print 'Clobber to possibly resolve failure on win-32 bot.'
40  print 'Clobber for http://crbug.com/668958.'
41  return 0
42
43
44def main():
45  print_landmines()
46  return 0
47
48
49if __name__ == '__main__':
50  sys.exit(main())
51