Commit c7fe4eda authored by Eric Roman's avatar Eric Roman Committed by Commit Bot

Remove //third_party/pyftpdlib.

The copy in third_party is unused, as .vypthon is already pulling in version 0.7 used by the test server.

TBR: rogerta@chromium.org,skyostil@chromium.org,raymes@chromium.org
Change-Id: I417a3c3ac581b5b9cfe37d23bbc1ada6515730ef
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1611621
Commit-Queue: Eric Roman <eroman@chromium.org>
Reviewed-by: default avatarSami Kyöstilä <skyostil@chromium.org>
Reviewed-by: default avatarMatt Menke <mmenke@chromium.org>
Reviewed-by: default avatarMatt Mueller <mattm@chromium.org>
Reviewed-by: default avatarJohn Budorick <jbudorick@chromium.org>
Reviewed-by: default avatarBen Wells <benwells@chromium.org>
Reviewed-by: default avatarNico Weber <thakis@chromium.org>
Reviewed-by: default avatarRoger Tawa <rogerta@chromium.org>
Cr-Commit-Position: refs/heads/master@{#660057}
parent 885b1859
...@@ -525,7 +525,6 @@ check_targets = [ ...@@ -525,7 +525,6 @@ check_targets = [
"//third_party/protobuf/*", "//third_party/protobuf/*",
"//third_party/pycoverage/*", "//third_party/pycoverage/*",
"//third_party/pyelftools/*", "//third_party/pyelftools/*",
"//third_party/pyftpdlib/*",
"//third_party/pyjson5/*", "//third_party/pyjson5/*",
"//third_party/pylint/*", "//third_party/pylint/*",
"//third_party/pymock/*", "//third_party/pymock/*",
......
...@@ -1212,9 +1212,6 @@ deps = { ...@@ -1212,9 +1212,6 @@ deps = {
'condition': 'checkout_linux', 'condition': 'checkout_linux',
}, },
'src/third_party/pyftpdlib/src':
Var('chromium_git') + '/external/pyftpdlib.git' + '@' + '2be6d65e31c7ee6320d059f581f05ae8d89d7e45',
'src/third_party/quic_trace/src': 'src/third_party/quic_trace/src':
Var('chromium_git') + '/external/github.com/google/quic-trace.git' + '@' + '8415c22f0ca2485bd8a16eff64075f4361f3878e', Var('chromium_git') + '/external/github.com/google/quic-trace.git' + '@' + '8415c22f0ca2485bd8a16eff64075f4361f3878e',
......
...@@ -41,10 +41,9 @@ _logger = logging.getLogger(__name__) ...@@ -41,10 +41,9 @@ _logger = logging.getLogger(__name__)
# Path that are needed to import necessary modules when launching a testserver. # Path that are needed to import necessary modules when launching a testserver.
os.environ['PYTHONPATH'] = os.environ.get('PYTHONPATH', '') + (':%s:%s:%s:%s:%s' os.environ['PYTHONPATH'] = os.environ.get('PYTHONPATH', '') + (':%s:%s:%s:%s'
% (os.path.join(_DIR_SOURCE_ROOT, 'third_party'), % (os.path.join(_DIR_SOURCE_ROOT, 'third_party'),
os.path.join(_DIR_SOURCE_ROOT, 'third_party', 'tlslite'), os.path.join(_DIR_SOURCE_ROOT, 'third_party', 'tlslite'),
os.path.join(_DIR_SOURCE_ROOT, 'third_party', 'pyftpdlib', 'src'),
os.path.join(_DIR_SOURCE_ROOT, 'net', 'tools', 'testserver'), os.path.join(_DIR_SOURCE_ROOT, 'net', 'tools', 'testserver'),
os.path.join(_DIR_SOURCE_ROOT, 'components', 'sync', 'tools', os.path.join(_DIR_SOURCE_ROOT, 'components', 'sync', 'tools',
'testserver'))) 'testserver')))
...@@ -232,11 +231,13 @@ class TestServerThread(threading.Thread): ...@@ -232,11 +231,13 @@ class TestServerThread(threading.Thread):
self._GenerateCommandLineArguments() self._GenerateCommandLineArguments()
command = _DIR_SOURCE_ROOT command = _DIR_SOURCE_ROOT
if self.arguments['server-type'] == 'sync': if self.arguments['server-type'] == 'sync':
command = [os.path.join(command, 'components', 'sync', 'tools', command = [sys.executable,
os.path.join(command, 'components', 'sync', 'tools',
'testserver', 'testserver',
'sync_testserver.py')] + self.command_line 'sync_testserver.py')] + self.command_line
else: else:
command = [os.path.join(command, 'net', 'tools', 'testserver', command = [sys.executable,
os.path.join(command, 'net', 'tools', 'testserver',
'testserver.py')] + self.command_line 'testserver.py')] + self.command_line
_logger.info('Running: %s', command) _logger.info('Running: %s', command)
......
...@@ -47,7 +47,6 @@ test("gcp_unittests") { ...@@ -47,7 +47,6 @@ test("gcp_unittests") {
data = [ data = [
"//net/tools/testserver/", "//net/tools/testserver/",
"//third_party/pyftpdlib/",
"//third_party/pywebsocket/src/mod_pywebsocket/", "//third_party/pywebsocket/src/mod_pywebsocket/",
"//third_party/tlslite/", "//third_party/tlslite/",
] ]
......
...@@ -1240,7 +1240,6 @@ test("browser_tests") { ...@@ -1240,7 +1240,6 @@ test("browser_tests") {
"//third_party/chaijs/chai.js", "//third_party/chaijs/chai.js",
"//third_party/mocha/mocha.js", "//third_party/mocha/mocha.js",
"//third_party/polymer/v1_0/components-chromium/iron-test-helpers/mock-interactions.js", "//third_party/polymer/v1_0/components-chromium/iron-test-helpers/mock-interactions.js",
"//third_party/pyftpdlib/",
"//third_party/pywebsocket/src/mod_pywebsocket/", "//third_party/pywebsocket/src/mod_pywebsocket/",
"//third_party/simplejson/", "//third_party/simplejson/",
"//third_party/tlslite/", "//third_party/tlslite/",
...@@ -3119,7 +3118,6 @@ test("unit_tests") { ...@@ -3119,7 +3118,6 @@ test("unit_tests") {
"//net/tools/testserver/", "//net/tools/testserver/",
"//third_party/accessibility-audit/axs_testing.js", "//third_party/accessibility-audit/axs_testing.js",
"//third_party/chaijs/chai.js", "//third_party/chaijs/chai.js",
"//third_party/pyftpdlib/",
"//third_party/pywebsocket/src/mod_pywebsocket/", "//third_party/pywebsocket/src/mod_pywebsocket/",
"//third_party/tlslite/", "//third_party/tlslite/",
"//third_party/zlib/google/test/data/", "//third_party/zlib/google/test/data/",
...@@ -5096,7 +5094,6 @@ if (!is_android) { ...@@ -5096,7 +5094,6 @@ if (!is_android) {
"//third_party/chaijs/chai.js", "//third_party/chaijs/chai.js",
"//third_party/mocha/mocha.js", "//third_party/mocha/mocha.js",
"//third_party/polymer/v1_0/components-chromium/iron-test-helpers/mock-interactions.js", "//third_party/polymer/v1_0/components-chromium/iron-test-helpers/mock-interactions.js",
"//third_party/pyftpdlib/",
"//third_party/pywebsocket/src/mod_pywebsocket/", "//third_party/pywebsocket/src/mod_pywebsocket/",
"//third_party/tlslite/", "//third_party/tlslite/",
"//third_party/zlib/google/test/data/", "//third_party/zlib/google/test/data/",
...@@ -5649,7 +5646,6 @@ if (!is_android && !is_fuchsia) { ...@@ -5649,7 +5646,6 @@ if (!is_android && !is_fuchsia) {
data = [ data = [
"//chrome/test/data/sync/", "//chrome/test/data/sync/",
"//net/tools/testserver/", "//net/tools/testserver/",
"//third_party/pyftpdlib/",
"//third_party/pywebsocket/src/mod_pywebsocket/", "//third_party/pywebsocket/src/mod_pywebsocket/",
"//third_party/tlslite/", "//third_party/tlslite/",
"//testing/xvfb.py", "//testing/xvfb.py",
......
...@@ -1137,7 +1137,6 @@ test("content_browsertests") { ...@@ -1137,7 +1137,6 @@ test("content_browsertests") {
"//ppapi/tests/test_case.html", "//ppapi/tests/test_case.html",
"//ppapi/tests/test_page.css", "//ppapi/tests/test_page.css",
"//ppapi/tests/test_url_loader_data/", "//ppapi/tests/test_url_loader_data/",
"//third_party/pyftpdlib/",
"//third_party/pywebsocket/src/mod_pywebsocket/", "//third_party/pywebsocket/src/mod_pywebsocket/",
"//third_party/tlslite/", "//third_party/tlslite/",
] ]
......
...@@ -244,7 +244,6 @@ test("extensions_browsertests") { ...@@ -244,7 +244,6 @@ test("extensions_browsertests") {
data = [ data = [
"//extensions/test/data/", "//extensions/test/data/",
"//net/tools/testserver/", "//net/tools/testserver/",
"//third_party/pyftpdlib/",
"//third_party/pywebsocket/src/mod_pywebsocket/", "//third_party/pywebsocket/src/mod_pywebsocket/",
"//third_party/tlslite/", "//third_party/tlslite/",
"$root_out_dir/extensions_shell_and_test.pak", "$root_out_dir/extensions_shell_and_test.pak",
......
...@@ -731,7 +731,6 @@ test("headless_browsertests") { ...@@ -731,7 +731,6 @@ test("headless_browsertests") {
"$root_out_dir/headless_lib.pak", "$root_out_dir/headless_lib.pak",
"//net/tools/testserver/", "//net/tools/testserver/",
"//third_party/blink/web_tests/http/tests/inspector-protocol/", "//third_party/blink/web_tests/http/tests/inspector-protocol/",
"//third_party/pyftpdlib/",
"//third_party/pywebsocket/", "//third_party/pywebsocket/",
"//third_party/tlslite/", "//third_party/tlslite/",
"test/data/", "test/data/",
......
...@@ -5633,18 +5633,15 @@ test("net_unittests") { ...@@ -5633,18 +5633,15 @@ test("net_unittests") {
if (is_linux || is_mac || is_win || is_fuchsia) { if (is_linux || is_mac || is_win || is_fuchsia) {
deps += [ deps += [
"//third_party/pyftpdlib/",
"//third_party/pywebsocket/", "//third_party/pywebsocket/",
"//third_party/tlslite/", "//third_party/tlslite/",
] ]
data_deps += [ data_deps += [
"//third_party/pyftpdlib/",
"//third_party/pywebsocket/", "//third_party/pywebsocket/",
"//third_party/tlslite/", "//third_party/tlslite/",
] ]
data += [ data += [
"tools/testserver/", "tools/testserver/",
"//third_party/pyftpdlib/",
"//third_party/pywebsocket/src/mod_pywebsocket/", "//third_party/pywebsocket/src/mod_pywebsocket/",
"//third_party/tlslite/", "//third_party/tlslite/",
] ]
......
...@@ -5,12 +5,10 @@ Build the example, i.e. "make ppapi_example_url_loader" on Linux. ...@@ -5,12 +5,10 @@ Build the example, i.e. "make ppapi_example_url_loader" on Linux.
In the "src" directory, start the test server: In the "src" directory, start the test server:
On Linux: On Linux:
export PYTHONPATH=third_party/pyftpdlib:third_party/tlslite:third_party vpython net/tools/testserver/testserver.py --port=1337 --data-dir=ppapi/examples/url_loader
python net/tools/testserver/testserver.py --port=1337 --data-dir=ppapi/examples/url_loader
On Windows: On Windows:
set PYTHONPATH=third_party\pyftpdlib;third_party\tlslite:third_party vpython net/tools/testserver/testserver.py --port=1337 --data-dir=ppapi/examples/url_loader
python net/tools/testserver/testserver.py --port=1337 --data-dir=ppapi/examples/url_loader
Then load the page: Then load the page:
......
...@@ -352,7 +352,6 @@ source_set("tests") { ...@@ -352,7 +352,6 @@ source_set("tests") {
data = [ data = [
"//net/tools/testserver/", "//net/tools/testserver/",
"//services/test/data", "//services/test/data",
"//third_party/pyftpdlib/",
"//third_party/pywebsocket/src/mod_pywebsocket/", "//third_party/pywebsocket/src/mod_pywebsocket/",
"//third_party/tlslite/", "//third_party/tlslite/",
] ]
......
...@@ -181,7 +181,6 @@ ...@@ -181,7 +181,6 @@
/pthreads-win32 /pthreads-win32
/py_trace_event/src /py_trace_event/src
/pyelftools /pyelftools
/pyftpdlib/src
/pylib /pylib
/pymox/src /pymox/src
/python_24 /python_24
......
# Copyright 2015 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# pyftpdlib is a Python program. Depend on this to get the data deps necessary
# to run it in the test environment.
group("pyftpdlib") {
# For now, depend on the entire directory.
data = [
"//third_party/pyftpdlib/",
]
}
Name: Python FTP server library
Short Name: pyftpdlib
URL: https://github.com/giampaolo/pyftpdlib
Version: 0.7.0-updates
Revision: 2be6d65e31c7ee6320d059f581f05ae8d89d7e45
License: MIT
License File: NOT_SHIPPED
Security Critical: no
Description:
Python FTP server library provides an high-level portable interface to easily
write asynchronous FTP servers with Python. Based on asyncore framework
pyftpdlib is currently the most complete RFC-959 FTP server implementation
available for Python programming language.
Learn more by visiting: http://pythonhosted.org/pyftpdlib/faqs.html
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment