summaryrefslogtreecommitdiffstats
path: root/net/net.gyp
diff options
context:
space:
mode:
authoragl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-10 22:13:50 +0000
committeragl@chromium.org <agl@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-11-10 22:13:50 +0000
commit29b31647b5a1cb744c31d9fa53615ce495661849 (patch)
treea1cf824ab5edfd1ae31f4ad7ea91895cefe36195 /net/net.gyp
parent2d6e778368680b39f71e000ee03ce3430b96507a (diff)
downloadchromium_src-29b31647b5a1cb744c31d9fa53615ce495661849.zip
chromium_src-29b31647b5a1cb744c31d9fa53615ce495661849.tar.gz
chromium_src-29b31647b5a1cb744c31d9fa53615ce495661849.tar.bz2
net: add Snap Start tests
These tests are Linux only for now. Adding Mac support should be pretty easy. However, Windows will be tough to do without making the tests flakey. Given the huge amounts of pain caused by testserver.py and ephemeral ports I'd rather get the tests working well on a couple of platforms (since the Snap Start code is all platform-generic anyway), then add more flakiness. BUG=none TEST=snap_start_unittests http://codereview.chromium.org/4524003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@65714 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/net.gyp')
-rw-r--r--net/net.gyp30
1 files changed, 30 insertions, 0 deletions
diff --git a/net/net.gyp b/net/net.gyp
index 083aac4b..2d2aa50 100644
--- a/net/net.gyp
+++ b/net/net.gyp
@@ -1381,6 +1381,36 @@
# },
# ]
# }],
+ ['OS=="linux"', {
+ 'targets': [
+ {
+ 'target_name': 'snap_start_unittests',
+ 'type': 'executable',
+ 'dependencies': [
+ 'net',
+ 'net_test_support',
+ 'openssl_helper',
+ '../build/linux/system.gyp:nss',
+ '../testing/gmock.gyp:gmock',
+ '../testing/gtest.gyp:gtest',
+ ],
+ 'sources': [
+ 'base/run_all_unittests.cc',
+ 'socket/ssl_client_socket_snapstart_unittest.cc',
+ ]
+ },
+ {
+ 'target_name': 'openssl_helper',
+ 'type': 'executable',
+ 'dependencies': [
+ '../third_party/openssl/openssl.gyp:openssl',
+ ],
+ 'sources': [
+ 'test/openssl_helper.cc',
+ ],
+ },
+ ],
+ }],
['OS=="win"', {
'targets': [
{