diff options
author | jiayl@webrtc.org <jiayl@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d> | 2014-01-29 17:45:53 +0000 |
---|---|---|
committer | jiayl@webrtc.org <jiayl@webrtc.org@4adac7df-926f-26a2-2b94-8c16560cd09d> | 2014-01-29 17:45:53 +0000 |
commit | 13a42bcb8b909faef285ec36b59740e5696a2295 (patch) | |
tree | 8894115a58093185f421058e7e8cccb24c8368aa /libjingle_tests.gyp | |
parent | 153138428a27cf6093793ae4d2b717b949ebab58 (diff) | |
download | talk-13a42bcb8b909faef285ec36b59740e5696a2295.tar.gz |
Enable SCTP and use OPENSSL on Anroid and NSS on other platforms.
It includes unit test fixes to properly initialize SSL if DTLS or SSL random number generator is used in the tests.
The private key and certificate constant strings used in some tests are updated to be compatible with NSS.
A few potentially overflow type conversions caused compiling warning on Windows and they are fixed by importing and using Chromium's checked_cast, which aborts the program if overflow occurs.
It also fixes a leak in nssstreamadapter.cc by releasing the PRFileDesc* in StreamClose.
BUG=2253
R=fischman@webrtc.org, juberti@google.com, wu@webrtc.org
Review URL: https://webrtc-codereview.appspot.com/4679005
git-svn-id: http://webrtc.googlecode.com/svn/trunk/talk@5459 4adac7df-926f-26a2-2b94-8c16560cd09d
Diffstat (limited to 'libjingle_tests.gyp')
-rwxr-xr-x | libjingle_tests.gyp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libjingle_tests.gyp b/libjingle_tests.gyp index 201052a..9987ed8 100755 --- a/libjingle_tests.gyp +++ b/libjingle_tests.gyp @@ -279,6 +279,9 @@ 'media/base/videoengine_unittest.h', 'media/devices/dummydevicemanager_unittest.cc', 'media/devices/filevideocapturer_unittest.cc', + # TODO(jiayl): Enable the SCTP test once the memcheck and tsan bots + # failures are fixed (issue 2846). + #'media/sctp/sctpdataengine_unittest.cc', 'media/webrtc/webrtcpassthroughrender_unittest.cc', 'media/webrtc/webrtcvideocapturer_unittest.cc', # Omitted because depends on non-open-source testdata files. @@ -304,6 +307,11 @@ }, }, }], + ['OS=="ios"', { + 'sources!': [ + 'media/sctp/sctpdataengine_unittest.cc', + ], + }], ], }, # target libjingle_media_unittest { |