2
0

get_landmines.py 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. #!/usr/bin/env python
  2. # Copyright 2016 The LibYuv Project Authors. All rights reserved.
  3. #
  4. # Use of this source code is governed by a BSD-style license
  5. # that can be found in the LICENSE file in the root of the source
  6. # tree. An additional intellectual property rights grant can be found
  7. # in the file PATENTS. All contributing project authors may
  8. # be found in the AUTHORS file in the root of the source tree.
  9. """
  10. This file emits the list of reasons why a particular build needs to be clobbered
  11. (or a list of 'landmines').
  12. """
  13. import sys
  14. def print_landmines():
  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 'Clobber to remove GYP artifacts after switching bots to GN.'
  25. print 'Another try to remove GYP artifacts after switching bots to GN.'
  26. def main():
  27. print_landmines()
  28. return 0
  29. if __name__ == '__main__':
  30. sys.exit(main())