diff options
author | wtc@chromium.org <wtc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-17 18:24:51 +0000 |
---|---|---|
committer | wtc@chromium.org <wtc@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-17 18:24:51 +0000 |
commit | 702a6a7200da7a1c3c9bc03d19cd7a1f7740e157 (patch) | |
tree | 688929d21270b6ac4b5a858e631f25ed220f9888 /net | |
parent | 4ac582aeccbc08f8304c8fb5491b882ab7f97e8f (diff) | |
download | chromium_src-702a6a7200da7a1c3c9bc03d19cd7a1f7740e157.zip chromium_src-702a6a7200da7a1c3c9bc03d19cd7a1f7740e157.tar.gz chromium_src-702a6a7200da7a1c3c9bc03d19cd7a1f7740e157.tar.bz2 |
Move cert_test_util.{h,cc} and ssl_test_util.{h,cc} to the
net_test_support build target.
R=eroman
BUG=none
TEST=no build errors
Review URL: http://codereview.chromium.org/1047003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@41856 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net')
-rw-r--r-- | net/net.gyp | 15 | ||||
-rw-r--r-- | net/socket/ssl_test_util.h | 3 |
2 files changed, 11 insertions, 7 deletions
diff --git a/net/net.gyp b/net/net.gyp index 5637f41..c5743d8 100644 --- a/net/net.gyp +++ b/net/net.gyp @@ -32,8 +32,6 @@ 'base/cert_database_win.cc', 'base/cert_status_flags.cc', 'base/cert_status_flags.h', - 'base/cert_test_util.cc', - 'base/cert_test_util.h', 'base/cert_verifier.cc', 'base/cert_verifier.h', 'base/cert_verify_result.h', @@ -435,8 +433,6 @@ 'socket/ssl_client_socket_nss.h', 'socket/ssl_client_socket_win.cc', 'socket/ssl_client_socket_win.h', - 'socket/ssl_test_util.cc', - 'socket/ssl_test_util.h', 'socket/tcp_client_socket.h', 'socket/tcp_client_socket_libevent.cc', 'socket/tcp_client_socket_libevent.h', @@ -812,12 +808,23 @@ '../testing/gtest.gyp:gtest', ], 'sources': [ + 'base/cert_test_util.cc', + 'base/cert_test_util.h', 'disk_cache/disk_cache_test_util.cc', 'disk_cache/disk_cache_test_util.h', 'proxy/proxy_config_service_common_unittest.cc', 'proxy/proxy_config_service_common_unittest.h', 'socket/socket_test_util.cc', 'socket/socket_test_util.h', + 'socket/ssl_test_util.cc', + 'socket/ssl_test_util.h', + ], + 'conditions': [ + ['OS == "linux" or OS == "freebsd" or OS == "openbsd"', { + 'dependencies': [ + '../build/linux/system.gyp:nss', + ], + }], ], }, { diff --git a/net/socket/ssl_test_util.h b/net/socket/ssl_test_util.h index e9a6afc..5a987ae 100644 --- a/net/socket/ssl_test_util.h +++ b/net/socket/ssl_test_util.h @@ -16,9 +16,6 @@ #include "net/base/x509_certificate.h" #endif -// TODO(dkegel): share this between net/base and -// chrome/browser without putting it in net.lib - namespace net { // This object bounds the lifetime of an external python-based HTTP/HTTPS/FTP |