diff options
author | mbelshe@google.com <mbelshe@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-17 20:20:11 +0000 |
---|---|---|
committer | mbelshe@google.com <mbelshe@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-05-17 20:20:11 +0000 |
commit | 4ba51e2ab55061b8750c904c2aeca19899ac02ee (patch) | |
tree | 189758309a3f0da6fbc22ecf506ead3d216f7aed /net/net.gyp | |
parent | e941a283e5b107f0c0a3595d0b6e11d7259d833f (diff) | |
download | chromium_src-4ba51e2ab55061b8750c904c2aeca19899ac02ee.zip chromium_src-4ba51e2ab55061b8750c904c2aeca19899ac02ee.tar.gz chromium_src-4ba51e2ab55061b8750c904c2aeca19899ac02ee.tar.bz2 |
An initial curvecp implementation. This code is not complete, but does
have a basic unittest. Crypto code is not yet implemented.
Landing so that we can collaborate on this more.
BUG=none
TEST=curvecp_unittests
Review URL: http://codereview.chromium.org/7039014
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@85667 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/net.gyp')
-rw-r--r-- | net/net.gyp | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/net/net.gyp b/net/net.gyp index 979ff9e..9be8646 100644 --- a/net/net.gyp +++ b/net/net.gyp @@ -1352,6 +1352,59 @@ 'tools/flip_server/url_utilities.h', ], }, + { + 'target_name': 'curvecp', + 'type': '<(library)', + 'dependencies': [ + '../base/base.gyp:base', + 'net.gyp:net', + ], + 'sources': [ + 'curvecp/circular_buffer.cc', + 'curvecp/circular_buffer.h', + 'curvecp/client_packetizer.cc', + 'curvecp/client_packetizer.h', + 'curvecp/connection_key.cc', + 'curvecp/connection_key.h', + 'curvecp/curvecp_client_socket.cc', + 'curvecp/curvecp_client_socket.h', + 'curvecp/curvecp_server_socket.cc', + 'curvecp/curvecp_server_socket.h', + 'curvecp/messenger.h', + 'curvecp/messenger.cc', + 'curvecp/packetizer.h', + 'curvecp/protocol.cc', + 'curvecp/protocol.h', + 'curvecp/received_block_list.cc', + 'curvecp/received_block_list.h', + 'curvecp/rtt_and_send_rate_calculator.cc', + 'curvecp/rtt_and_send_rate_calculator.h', + 'curvecp/sent_block_list.cc', + 'curvecp/sent_block_list.h', + 'curvecp/server_messenger.cc', + 'curvecp/server_messenger.h', + 'curvecp/server_packetizer.cc', + 'curvecp/server_packetizer.h', + ], + }, + { + 'target_name': 'curvecp_unittests', + 'type': 'executable', + 'dependencies': [ + '../base/base.gyp:base', + 'net.gyp:curvecp', + 'net.gyp:net', + 'net_test_support', + '../testing/gmock.gyp:gmock', + '../testing/gtest.gyp:gtest', + '../third_party/zlib/zlib.gyp:zlib', + ], + 'sources': [ + 'curvecp/curvecp_transfer_unittest.cc', + 'curvecp/test_client.cc', + 'curvecp/test_server.cc', + ], + }, ] }], ['OS=="win"', { |