Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1135)

Unified Diff: build/get_landmines.py

Issue 457003004: Make landmines work on local builds too (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: reland: handle clean pull and ios Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « DEPS ('k') | build/gyp_chromium » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/get_landmines.py
diff --git a/build/get_landmines.py b/build/get_landmines.py
index c9e87734844306b77801f57111a07e1dd8336610..3aac6e760b45ee111fb19f8103fb4eaac3496b14 100755
--- a/build/get_landmines.py
+++ b/build/get_landmines.py
@@ -8,7 +8,6 @@ This file emits the list of reasons why a particular build needs to be clobbered
(or a list of 'landmines').
"""
-import optparse
import sys
import landmine_utils
@@ -21,10 +20,9 @@ gyp_msvs_version = landmine_utils.gyp_msvs_version
platform = landmine_utils.platform
-def print_landmines(target):
+def print_landmines():
"""
ALL LANDMINES ARE EMITTED FROM HERE.
- target can be one of {'Release', 'Debug', 'Debug_x64', 'Release_x64'}.
"""
if (distributor() == 'goma' and platform() == 'win32' and
builder() == 'ninja'):
@@ -60,16 +58,7 @@ def print_landmines(target):
def main():
- parser = optparse.OptionParser()
- parser.add_option('-t', '--target',
- help=='Target for which the landmines have to be emitted')
-
- options, args = parser.parse_args()
-
- if args:
- parser.error('Unknown arguments %s' % args)
-
- print_landmines(options.target)
+ print_landmines()
return 0
« no previous file with comments | « DEPS ('k') | build/gyp_chromium » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698