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

Unified Diff: Tools/Scripts/webkitpy/tool/main.py

Issue 27055003: Remove a bunch of unused webkitpy code from tool/, common/checkout/ and common/config/ (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 2 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 | « Tools/Scripts/webkitpy/tool/comments.py ('k') | Tools/Scripts/webkitpy/tool/steps/__init__.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Tools/Scripts/webkitpy/tool/main.py
diff --git a/Tools/Scripts/webkitpy/tool/main.py b/Tools/Scripts/webkitpy/tool/main.py
index 96eaf946ac348f0f902efe09a1d483e756e74373..dcd236eed123bc9af95ce5ea9cf1df3f812243e6 100644
--- a/Tools/Scripts/webkitpy/tool/main.py
+++ b/Tools/Scripts/webkitpy/tool/main.py
@@ -33,7 +33,6 @@ from optparse import make_option
import os
import threading
-from webkitpy.common.config.ports import DeprecatedPort
from webkitpy.common.host import Host
from webkitpy.tool.multicommandtool import MultiCommandTool
from webkitpy.tool import commands
@@ -43,8 +42,6 @@ class WebKitPatch(MultiCommandTool, Host):
global_options = [
make_option("-v", "--verbose", action="store_true", dest="verbose", default=False, help="enable all logging"),
make_option("-d", "--directory", action="append", dest="patch_directories", default=[], help="Directory to look at for changed files"),
- make_option("--seconds-to-sleep", action="store", default=120, type="int", help="Number of seconds to sleep in the task queue."),
- make_option("--port", action="store", dest="port", default=None, help="Specify a port (e.g., mac, qt, gtk, ...)."),
]
def __init__(self, path):
@@ -52,10 +49,6 @@ class WebKitPatch(MultiCommandTool, Host):
Host.__init__(self)
self._path = path
self.wakeup_event = threading.Event()
- self._deprecated_port = None
-
- def deprecated_port(self):
- return self._deprecated_port
def path(self):
return self._path
@@ -70,8 +63,6 @@ class WebKitPatch(MultiCommandTool, Host):
# FIXME: This may be unnecessary since we pass global options to all commands during execute() as well.
def handle_global_options(self, options):
self.initialize_scm(options.patch_directories)
- # If options.port is None, we'll get the default port for this platform.
- self._deprecated_port = DeprecatedPort.port(options.port)
def should_execute_command(self, command):
if command.requires_local_commits and not self.scm().supports_local_commits():
« no previous file with comments | « Tools/Scripts/webkitpy/tool/comments.py ('k') | Tools/Scripts/webkitpy/tool/steps/__init__.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698