diff options
Diffstat (limited to 'talk/libjingle_examples.gyp')
-rwxr-xr-x | talk/libjingle_examples.gyp | 73 |
1 files changed, 73 insertions, 0 deletions
diff --git a/talk/libjingle_examples.gyp b/talk/libjingle_examples.gyp index 687e11f9e2..75bc2f7ca0 100755 --- a/talk/libjingle_examples.gyp +++ b/talk/libjingle_examples.gyp @@ -31,6 +31,19 @@ ], 'targets': [ { + 'target_name': 'libjingle_xmpphelp', + 'type': 'static_library', + 'dependencies': [ + '<(DEPTH)/third_party/expat/expat.gyp:expat', + 'libjingle.gyp:libjingle', + 'libjingle.gyp:libjingle_p2p', + ], + 'sources': [ + '<(webrtc_root)/libjingle/xmpp/jingleinfotask.cc', + '<(webrtc_root)/libjingle/xmpp/jingleinfotask.h', + ], + }, # target libjingle_xmpphelp + { 'target_name': 'relayserver', 'type': 'executable', 'dependencies': [ @@ -64,6 +77,16 @@ ], }, # target turnserver { + 'target_name': 'login', + 'type': 'executable', + 'dependencies': [ + 'libjingle_xmpphelp', + ], + 'sources': [ + 'examples/login/login_main.cc', + ], + }, # target login + { 'target_name': 'peerconnection_server', 'type': 'executable', 'sources': [ @@ -83,6 +106,56 @@ }, # target peerconnection_server ], 'conditions': [ + # TODO(ronghuawu): Reenable building call. + # ['OS!="android"', { + # 'targets': [ + # { + # 'target_name': 'call', + # 'type': 'executable', + # 'dependencies': [ + # 'libjingle.gyp:libjingle_p2p', + # 'libjingle_xmpphelp', + # ], + # 'sources': [ + # 'examples/call/call_main.cc', + # 'examples/call/callclient.cc', + # 'examples/call/callclient.h', + # 'examples/call/console.cc', + # 'examples/call/console.h', + # 'examples/call/friendinvitesendtask.cc', + # 'examples/call/friendinvitesendtask.h', + # 'examples/call/mediaenginefactory.cc', + # 'examples/call/mediaenginefactory.h', + # 'examples/call/muc.h', + # 'examples/call/mucinviterecvtask.cc', + # 'examples/call/mucinviterecvtask.h', + # 'examples/call/mucinvitesendtask.cc', + # 'examples/call/mucinvitesendtask.h', + # 'examples/call/presencepushtask.cc', + # 'examples/call/presencepushtask.h', + # ], + # 'conditions': [ + # ['OS=="linux"', { + # 'link_settings': { + # 'libraries': [ + # '<!@(pkg-config --libs-only-l gobject-2.0 gthread-2.0' + # ' gtk+-2.0)', + # ], + # }, + # }], + # ['OS=="win"', { + # 'msvs_settings': { + # 'VCLinkerTool': { + # 'AdditionalDependencies': [ + # 'strmiids.lib', + # ], + # }, + # }, + # }], + # ], # conditions + # }, # target call + # ], # targets + # }], # OS!="android" ['OS=="linux" or OS=="win"', { 'targets': [ { |