OLD | NEW |
(Empty) | |
| 1 #!/usr/bin/env python |
| 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 |
| 4 # found in the LICENSE file. |
| 5 |
| 6 """ |
| 7 This file emits the list of reasons why a particular build needs to be clobbered |
| 8 (or a list of 'landmines'). |
| 9 """ |
| 10 |
| 11 import sys |
| 12 |
| 13 import landmine_utils |
| 14 |
| 15 |
| 16 builder = landmine_utils.builder |
| 17 distributor = landmine_utils.distributor |
| 18 gyp_defines = landmine_utils.gyp_defines |
| 19 gyp_msvs_version = landmine_utils.gyp_msvs_version |
| 20 platform = landmine_utils.platform |
| 21 |
| 22 |
| 23 def print_landmines(): |
| 24 """ |
| 25 ALL LANDMINES ARE EMITTED FROM HERE. |
| 26 """ |
| 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 |
| 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 |
| 31 # landmine. |
| 32 |
| 33 print 'Lets start a new landmines file.' |
| 34 |
| 35 |
| 36 def main(): |
| 37 print_landmines() |
| 38 return 0 |
| 39 |
| 40 |
| 41 if __name__ == '__main__': |
| 42 sys.exit(main()) |
OLD | NEW |