Add a note that landmines should not be used in general.
BUG=none
Review URL: https://codereview.chromium.org/1009603006
Cr-Commit-Position: refs/heads/master@{#321824}
CrOS-Libchrome-Original-Commit: 37066a5a215e8c8e85958e7b1c7756b201b17c5c
diff --git a/build/get_landmines.py b/build/get_landmines.py
index d7c98a5..8f5b878 100755
--- a/build/get_landmines.py
+++ b/build/get_landmines.py
@@ -24,6 +24,12 @@
"""
ALL LANDMINES ARE EMITTED FROM HERE.
"""
+ # 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.
+
if (distributor() == 'goma' and platform() == 'win32' and
builder() == 'ninja'):
print 'Need to clobber winja goma due to backend cwd cache fix.'