summaryrefslogtreecommitdiffstats
path: root/jingle/jingle.gyp
diff options
context:
space:
mode:
authorsergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-01 23:35:42 +0000
committersergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-04-01 23:35:42 +0000
commit03fd0b387c8a0d052cc565ec35f65eddcf40f64b (patch)
tree16dd61ef4ea0a5dc539a449984b2a4272b0574be /jingle/jingle.gyp
parent0ad9685912a070af01439a27d8a5b164724c947c (diff)
downloadchromium_src-03fd0b387c8a0d052cc565ec35f65eddcf40f64b.zip
chromium_src-03fd0b387c8a0d052cc565ec35f65eddcf40f64b.tar.gz
chromium_src-03fd0b387c8a0d052cc565ec35f65eddcf40f64b.tar.bz2
Add FakeSocketFactory.
The new FakeSocketFactory will be used for P2P transport and remoting unittests. Also moved socket address conversion functions to the new jingle/glue/utils.h . BUG=None TEST=None Review URL: http://codereview.chromium.org/6670134 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@80242 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'jingle/jingle.gyp')
-rw-r--r--jingle/jingle.gyp17
1 files changed, 16 insertions, 1 deletions
diff --git a/jingle/jingle.gyp b/jingle/jingle.gyp
index f7f7f85..29c6c82 100644
--- a/jingle/jingle.gyp
+++ b/jingle/jingle.gyp
@@ -1,4 +1,4 @@
-# Copyright (c) 2010 The Chromium Authors. All rights reserved.
+# Copyright (c) 2011 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
@@ -18,6 +18,8 @@
'glue/stream_socket_adapter.h',
'glue/thread_wrapper.cc',
'glue/thread_wrapper.h',
+ 'glue/utils.cc',
+ 'glue/utils.h',
],
'dependencies': [
'../base/base.gyp:base',
@@ -123,6 +125,18 @@
],
},
{
+ 'target_name': 'jingle_glue_test_util',
+ 'type': '<(library)',
+ 'sources': [
+ 'glue/fake_socket_factory.cc',
+ 'glue/fake_socket_factory.h',
+ ],
+ 'dependencies': [
+ 'jingle_glue',
+ '../base/base.gyp:base',
+ ],
+ },
+ {
'target_name': 'jingle_unittests',
'type': 'executable',
'sources': [
@@ -149,6 +163,7 @@
],
'dependencies': [
'jingle_glue',
+ 'jingle_glue_test_util',
'notifier',
'notifier_test_util',
'../base/base.gyp:base',