diff options
author | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-17 07:58:05 +0000 |
---|---|---|
committer | phajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-06-17 07:58:05 +0000 |
commit | fe4f06d49ddccb4f18d9056b85417eb925342ae9 (patch) | |
tree | ff1ffa6d71a2a3a344244bfb1dfbac60ebf13d78 /net/net.gyp | |
parent | 75b91f92b7adfd5fca50369a6717047d787355b3 (diff) | |
download | chromium_src-fe4f06d49ddccb4f18d9056b85417eb925342ae9.zip chromium_src-fe4f06d49ddccb4f18d9056b85417eb925342ae9.tar.gz chromium_src-fe4f06d49ddccb4f18d9056b85417eb925342ae9.tar.bz2 |
Compile fetch_server on POSIX.
More tidy cross-platformness (typedefs instead of #defines) and other simple related cleanups.
TEST=none
http://crbug.com/14191
Review URL: http://codereview.chromium.org/126218
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@18607 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/net.gyp')
-rw-r--r-- | net/net.gyp | 41 |
1 files changed, 20 insertions, 21 deletions
diff --git a/net/net.gyp b/net/net.gyp index eee05cf..9296919 100644 --- a/net/net.gyp +++ b/net/net.gyp @@ -634,6 +634,26 @@ 'tools/fetch/fetch_client.cc', ], }, + { + 'target_name': 'fetch_server', + 'type': 'executable', + 'dependencies': [ + 'net', + '../base/base.gyp:base', + '../base/base.gyp:test_support_base', + '../testing/gtest.gyp:gtest', + ], + 'msvs_guid': 'DABB8796-B9A2-4CD9-BF89-09B03E92B124', + 'sources': [ + 'tools/fetch/fetch_server.cc', + 'tools/fetch/http_listen_socket.cc', + 'tools/fetch/http_listen_socket.h', + 'tools/fetch/http_server.cc', + 'tools/fetch/http_server.h', + 'tools/fetch/http_session.cc', + 'tools/fetch/http_session.h', + ], + }, ], 'conditions': [ ['OS=="win"', { @@ -652,27 +672,6 @@ 'tools/dump_cache/upgrade.cc', ], }, - { - # TODO(port): fetch_server uses Windows-specific SOCKET. - 'target_name': 'fetch_server', - 'type': 'executable', - 'dependencies': [ - 'net', - '../base/base.gyp:base', - '../base/base.gyp:test_support_base', - '../testing/gtest.gyp:gtest', - ], - 'msvs_guid': 'DABB8796-B9A2-4CD9-BF89-09B03E92B124', - 'sources': [ - 'tools/fetch/fetch_server.cc', - 'tools/fetch/http_listen_socket.cc', - 'tools/fetch/http_listen_socket.h', - 'tools/fetch/http_server.cc', - 'tools/fetch/http_server.h', - 'tools/fetch/http_session.cc', - 'tools/fetch/http_session.h', - ], - }, ], }], ], |