2011-05-30 13:41:01 +02:00
|
|
|
# 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.
|
|
|
|
|
|
|
|
{
|
|
|
|
'variables': {
|
|
|
|
'no_libjingle_logging%': 0,
|
2011-08-04 19:44:30 +02:00
|
|
|
'peer_connection_dev%': 0,
|
2011-08-06 00:08:29 +02:00
|
|
|
'libjingle_orig': '../../third_party/libjingle',
|
2011-08-09 02:36:01 +02:00
|
|
|
'libjingle_mods': '../../third_party_mods/libjingle',
|
2011-08-06 00:08:29 +02:00
|
|
|
'conditions': [
|
|
|
|
['inside_chromium_build==1', {
|
|
|
|
'overrides': '<(libjingle_orig)/overrides',
|
|
|
|
},{
|
|
|
|
'overrides': '<(libjingle_orig)/source',
|
|
|
|
}],
|
|
|
|
],
|
2011-05-30 13:41:01 +02:00
|
|
|
},
|
|
|
|
'target_defaults': {
|
|
|
|
'defines': [
|
|
|
|
'FEATURE_ENABLE_SSL',
|
|
|
|
'FEATURE_ENABLE_VOICEMAIL', # TODO(ncarter): Do we really need this?
|
|
|
|
'_USE_32BIT_TIME_T',
|
|
|
|
'SAFE_TO_DEFINE_TALK_BASE_LOGGING_MACROS',
|
|
|
|
'EXPAT_RELATIVE_PATH',
|
2011-08-04 19:44:30 +02:00
|
|
|
'WEBRTC_RELATIVE_PATH',
|
2011-05-30 13:41:01 +02:00
|
|
|
'HAVE_WEBRTC',
|
|
|
|
],
|
|
|
|
'configurations': {
|
|
|
|
'Debug': {
|
|
|
|
'defines': [
|
|
|
|
# TODO(sergeyu): Fix libjingle to use NDEBUG instead of
|
|
|
|
# _DEBUG and remove this define. See below as well.
|
|
|
|
'_DEBUG',
|
|
|
|
],
|
|
|
|
}
|
|
|
|
},
|
|
|
|
'dependencies': [
|
2011-08-06 00:08:29 +02:00
|
|
|
'<(libjingle_orig)/../expat/expat.gyp:expat',
|
2011-05-30 13:41:01 +02:00
|
|
|
],
|
2011-08-04 19:44:30 +02:00
|
|
|
'export_dependent_settings': [
|
2011-08-06 00:08:29 +02:00
|
|
|
'<(libjingle_orig)/../expat/expat.gyp:expat',
|
2011-08-04 19:44:30 +02:00
|
|
|
],
|
2011-05-30 13:41:01 +02:00
|
|
|
'direct_dependent_settings': {
|
|
|
|
'defines': [
|
|
|
|
'FEATURE_ENABLE_SSL',
|
|
|
|
'FEATURE_ENABLE_VOICEMAIL',
|
|
|
|
'EXPAT_RELATIVE_PATH',
|
2011-08-04 19:44:30 +02:00
|
|
|
'WEBRTC_RELATIVE_PATH',
|
2011-05-30 13:41:01 +02:00
|
|
|
],
|
|
|
|
'conditions': [
|
|
|
|
['OS=="win"', {
|
|
|
|
'link_settings': {
|
|
|
|
'libraries': [
|
|
|
|
'-lsecur32.lib',
|
|
|
|
'-lcrypt32.lib',
|
|
|
|
'-liphlpapi.lib',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
}],
|
|
|
|
['OS=="win"', {
|
|
|
|
'include_dirs': [
|
|
|
|
'../third_party/platformsdk_win7/files/Include',
|
|
|
|
],
|
|
|
|
'defines': [
|
|
|
|
'_CRT_SECURE_NO_WARNINGS', # Suppres warnings about _vsnprinf
|
|
|
|
],
|
|
|
|
}],
|
|
|
|
['OS=="linux"', {
|
|
|
|
'defines': [
|
|
|
|
'LINUX',
|
|
|
|
],
|
|
|
|
}],
|
|
|
|
['OS=="mac"', {
|
|
|
|
'defines': [
|
|
|
|
'OSX',
|
|
|
|
],
|
|
|
|
}],
|
2011-08-04 19:44:30 +02:00
|
|
|
['os_posix == 1', {
|
2011-05-30 13:41:01 +02:00
|
|
|
'defines': [
|
|
|
|
'POSIX',
|
|
|
|
],
|
|
|
|
}],
|
|
|
|
['OS=="openbsd" or OS=="freebsd"', {
|
|
|
|
'defines': [
|
|
|
|
'BSD',
|
|
|
|
],
|
|
|
|
}],
|
|
|
|
['no_libjingle_logging==1', {
|
|
|
|
'defines': [
|
|
|
|
'NO_LIBJINGLE_LOGGING',
|
|
|
|
],
|
|
|
|
}],
|
|
|
|
],
|
|
|
|
},
|
|
|
|
'all_dependent_settings': {
|
|
|
|
'configurations': {
|
|
|
|
'Debug': {
|
|
|
|
'defines': [
|
|
|
|
# TODO(sergeyu): Fix libjingle to use NDEBUG instead of
|
|
|
|
# _DEBUG and remove this define. See above as well.
|
|
|
|
'_DEBUG',
|
|
|
|
],
|
|
|
|
}
|
|
|
|
},
|
|
|
|
},
|
|
|
|
'conditions': [
|
|
|
|
['inside_chromium_build==1', {
|
|
|
|
'include_dirs': [
|
2011-08-06 00:08:29 +02:00
|
|
|
'<(overrides)',
|
|
|
|
'<(libjingle_mods)/source',
|
|
|
|
'<(libjingle_orig)/source',
|
2011-05-30 13:41:01 +02:00
|
|
|
'../..', # the third_party folder for webrtc includes
|
|
|
|
'../../third_party/expat/files',
|
|
|
|
],
|
|
|
|
'direct_dependent_settings': {
|
|
|
|
'include_dirs': [
|
2011-08-06 00:08:29 +02:00
|
|
|
'<(overrides)',
|
|
|
|
'<(libjingle_mods)/source',
|
|
|
|
'<(libjingle_orig)/source',
|
2011-05-30 13:41:01 +02:00
|
|
|
'../../third_party/expat/files'
|
|
|
|
],
|
|
|
|
},
|
|
|
|
'dependencies': [
|
|
|
|
'../../base/base.gyp:base',
|
|
|
|
'../../net/net.gyp:net',
|
|
|
|
],
|
|
|
|
},{
|
|
|
|
'include_dirs': [
|
|
|
|
# the third_party folder for webrtc/ includes (non-chromium).
|
2011-08-04 19:44:30 +02:00
|
|
|
'../../src',
|
2011-08-06 00:08:29 +02:00
|
|
|
'<(libjingle_mods)/source',
|
|
|
|
'<(libjingle_orig)/source',
|
2011-05-30 13:41:01 +02:00
|
|
|
'../../third_party/expat/files',
|
|
|
|
],
|
|
|
|
}],
|
|
|
|
['OS=="win"', {
|
|
|
|
'include_dirs': [
|
|
|
|
'../third_party/platformsdk_win7/files/Include',
|
|
|
|
],
|
|
|
|
}],
|
|
|
|
['OS=="linux"', {
|
|
|
|
'defines': [
|
|
|
|
'LINUX',
|
|
|
|
],
|
|
|
|
}],
|
|
|
|
['OS=="mac"', {
|
|
|
|
'defines': [
|
|
|
|
'OSX',
|
|
|
|
],
|
|
|
|
}],
|
2011-08-04 19:44:30 +02:00
|
|
|
['os_posix == 1', {
|
2011-05-30 13:41:01 +02:00
|
|
|
'defines': [
|
|
|
|
'POSIX',
|
|
|
|
],
|
|
|
|
}],
|
|
|
|
['OS=="openbsd" or OS=="freebsd"', {
|
|
|
|
'defines': [
|
|
|
|
'BSD',
|
|
|
|
],
|
|
|
|
}],
|
|
|
|
],
|
|
|
|
},
|
|
|
|
'targets': [
|
|
|
|
{
|
|
|
|
'target_name': 'libjingle',
|
2011-08-04 19:44:30 +02:00
|
|
|
'type': 'static_library',
|
2011-05-30 13:41:01 +02:00
|
|
|
'sources': [
|
|
|
|
'<(overrides)/talk/base/basictypes.h',
|
|
|
|
'<(overrides)/talk/base/constructormagic.h',
|
|
|
|
|
|
|
|
# Need to override logging.h because we need
|
|
|
|
# SAFE_TO_DEFINE_TALK_BASE_LOGGING_MACROS to work.
|
|
|
|
# TODO(sergeyu): push SAFE_TO_DEFINE_TALK_BASE_LOGGING_MACROS to
|
|
|
|
# libjingle and remove this override.
|
|
|
|
'<(overrides)/talk/base/logging.h',
|
|
|
|
|
|
|
|
'<(overrides)/talk/base/scoped_ptr.h',
|
|
|
|
|
|
|
|
# Libjingle's QName is not threadsafe, so we need to use our own version
|
|
|
|
# here.
|
|
|
|
# TODO(sergeyu): Fix QName in Libjingle.
|
|
|
|
'<(overrides)/talk/xmllite/qname.cc',
|
|
|
|
'<(overrides)/talk/xmllite/qname.h',
|
|
|
|
|
2011-08-06 00:08:29 +02:00
|
|
|
'<(libjingle_orig)/source/talk/base/Equifax_Secure_Global_eBusiness_CA-1.h',
|
|
|
|
'<(libjingle_orig)/source/talk/base/asyncfile.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/base/asyncfile.h',
|
|
|
|
'<(libjingle_orig)/source/talk/base/asynchttprequest.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/base/asynchttprequest.h',
|
|
|
|
'<(libjingle_orig)/source/talk/base/asyncpacketsocket.h',
|
|
|
|
'<(libjingle_orig)/source/talk/base/asyncsocket.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/base/asyncsocket.h',
|
|
|
|
'<(libjingle_orig)/source/talk/base/asynctcpsocket.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/base/asynctcpsocket.h',
|
|
|
|
'<(libjingle_orig)/source/talk/base/asyncudpsocket.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/base/asyncudpsocket.h',
|
|
|
|
'<(libjingle_orig)/source/talk/base/autodetectproxy.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/base/autodetectproxy.h',
|
|
|
|
'<(libjingle_orig)/source/talk/base/base64.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/base/base64.h',
|
|
|
|
'<(libjingle_orig)/source/talk/base/basicdefs.h',
|
|
|
|
'<(libjingle_orig)/source/talk/base/basicpacketsocketfactory.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/base/basicpacketsocketfactory.h',
|
|
|
|
'<(libjingle_orig)/source/talk/base/bytebuffer.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/base/bytebuffer.h',
|
|
|
|
'<(libjingle_orig)/source/talk/base/byteorder.h',
|
|
|
|
'<(libjingle_orig)/source/talk/base/checks.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/base/checks.h',
|
|
|
|
'<(libjingle_orig)/source/talk/base/common.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/base/common.h',
|
|
|
|
'<(libjingle_orig)/source/talk/base/criticalsection.h',
|
|
|
|
'<(libjingle_orig)/source/talk/base/cryptstring.h',
|
|
|
|
'<(libjingle_orig)/source/talk/base/diskcache.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/base/diskcache.h',
|
|
|
|
'<(libjingle_orig)/source/talk/base/event.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/base/event.h',
|
|
|
|
'<(libjingle_orig)/source/talk/base/fileutils.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/base/fileutils.h',
|
|
|
|
'<(libjingle_orig)/source/talk/base/firewallsocketserver.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/base/firewallsocketserver.h',
|
|
|
|
'<(libjingle_orig)/source/talk/base/flags.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/base/flags.h',
|
|
|
|
'<(libjingle_orig)/source/talk/base/helpers.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/base/helpers.h',
|
|
|
|
'<(libjingle_orig)/source/talk/base/host.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/base/host.h',
|
|
|
|
'<(libjingle_orig)/source/talk/base/httpbase.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/base/httpbase.h',
|
|
|
|
'<(libjingle_orig)/source/talk/base/httpclient.h',
|
|
|
|
'<(libjingle_orig)/source/talk/base/httpclient.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/base/httpcommon-inl.h',
|
|
|
|
'<(libjingle_orig)/source/talk/base/httpcommon.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/base/httpcommon.h',
|
|
|
|
'<(libjingle_orig)/source/talk/base/httprequest.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/base/httprequest.h',
|
|
|
|
'<(libjingle_mods)/source/talk/base/json.cc',
|
|
|
|
'<(libjingle_mods)/source/talk/base/json.h',
|
|
|
|
'<(libjingle_orig)/source/talk/base/linked_ptr.h',
|
|
|
|
'<(libjingle_orig)/source/talk/base/logging.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/base/md5.h',
|
|
|
|
'<(libjingle_orig)/source/talk/base/md5c.c',
|
|
|
|
'<(libjingle_orig)/source/talk/base/messagehandler.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/base/messagehandler.h',
|
|
|
|
'<(libjingle_orig)/source/talk/base/messagequeue.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/base/messagequeue.h',
|
|
|
|
'<(libjingle_orig)/source/talk/base/nethelpers.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/base/nethelpers.h',
|
|
|
|
'<(libjingle_orig)/source/talk/base/network.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/base/network.h',
|
|
|
|
'<(libjingle_orig)/source/talk/base/pathutils.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/base/pathutils.h',
|
|
|
|
'<(libjingle_orig)/source/talk/base/physicalsocketserver.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/base/physicalsocketserver.h',
|
|
|
|
'<(libjingle_orig)/source/talk/base/proxydetect.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/base/proxydetect.h',
|
|
|
|
'<(libjingle_orig)/source/talk/base/proxyinfo.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/base/proxyinfo.h',
|
|
|
|
'<(libjingle_orig)/source/talk/base/ratetracker.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/base/ratetracker.h',
|
|
|
|
'<(libjingle_orig)/source/talk/base/sec_buffer.h',
|
|
|
|
'<(libjingle_orig)/source/talk/base/signalthread.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/base/signalthread.h',
|
|
|
|
'<(libjingle_orig)/source/talk/base/sigslot.h',
|
|
|
|
'<(libjingle_orig)/source/talk/base/sigslotrepeater.h',
|
|
|
|
'<(libjingle_orig)/source/talk/base/socket.h',
|
|
|
|
'<(libjingle_orig)/source/talk/base/socketadapters.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/base/socketadapters.h',
|
|
|
|
'<(libjingle_orig)/source/talk/base/socketaddress.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/base/socketaddress.h',
|
|
|
|
'<(libjingle_orig)/source/talk/base/socketaddresspair.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/base/socketaddresspair.h',
|
|
|
|
'<(libjingle_orig)/source/talk/base/socketfactory.h',
|
|
|
|
'<(libjingle_orig)/source/talk/base/socketpool.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/base/socketpool.h',
|
|
|
|
'<(libjingle_orig)/source/talk/base/socketserver.h',
|
|
|
|
'<(libjingle_orig)/source/talk/base/socketstream.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/base/socketstream.h',
|
|
|
|
'<(libjingle_orig)/source/talk/base/ssladapter.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/base/ssladapter.h',
|
|
|
|
'<(libjingle_orig)/source/talk/base/sslsocketfactory.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/base/sslsocketfactory.h',
|
|
|
|
'<(libjingle_orig)/source/talk/base/stream.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/base/stream.h',
|
|
|
|
'<(libjingle_orig)/source/talk/base/stringdigest.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/base/stringdigest.h',
|
|
|
|
'<(libjingle_orig)/source/talk/base/stringencode.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/base/stringencode.h',
|
|
|
|
'<(libjingle_orig)/source/talk/base/stringutils.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/base/stringutils.h',
|
|
|
|
'<(libjingle_orig)/source/talk/base/task.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/base/task.h',
|
|
|
|
'<(libjingle_orig)/source/talk/base/taskparent.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/base/taskparent.h',
|
|
|
|
'<(libjingle_orig)/source/talk/base/taskrunner.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/base/taskrunner.h',
|
|
|
|
'<(libjingle_orig)/source/talk/base/thread.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/base/thread.h',
|
|
|
|
'<(libjingle_orig)/source/talk/base/time.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/base/time.h',
|
|
|
|
'<(libjingle_orig)/source/talk/base/urlencode.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/base/urlencode.h',
|
|
|
|
'<(libjingle_orig)/source/talk/xmllite/xmlbuilder.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/xmllite/xmlbuilder.h',
|
|
|
|
'<(libjingle_orig)/source/talk/xmllite/xmlconstants.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/xmllite/xmlconstants.h',
|
|
|
|
'<(libjingle_orig)/source/talk/xmllite/xmlelement.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/xmllite/xmlelement.h',
|
|
|
|
'<(libjingle_orig)/source/talk/xmllite/xmlnsstack.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/xmllite/xmlnsstack.h',
|
|
|
|
'<(libjingle_orig)/source/talk/xmllite/xmlparser.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/xmllite/xmlparser.h',
|
|
|
|
'<(libjingle_orig)/source/talk/xmllite/xmlprinter.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/xmllite/xmlprinter.h',
|
|
|
|
'<(libjingle_orig)/source/talk/xmpp/asyncsocket.h',
|
|
|
|
'<(libjingle_orig)/source/talk/xmpp/constants.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/xmpp/constants.h',
|
|
|
|
'<(libjingle_orig)/source/talk/xmpp/jid.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/xmpp/jid.h',
|
|
|
|
'<(libjingle_orig)/source/talk/xmpp/plainsaslhandler.h',
|
|
|
|
'<(libjingle_orig)/source/talk/xmpp/prexmppauth.h',
|
|
|
|
'<(libjingle_orig)/source/talk/xmpp/ratelimitmanager.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/xmpp/ratelimitmanager.h',
|
|
|
|
'<(libjingle_orig)/source/talk/xmpp/saslcookiemechanism.h',
|
|
|
|
'<(libjingle_orig)/source/talk/xmpp/saslhandler.h',
|
|
|
|
'<(libjingle_orig)/source/talk/xmpp/saslmechanism.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/xmpp/saslmechanism.h',
|
|
|
|
'<(libjingle_orig)/source/talk/xmpp/saslplainmechanism.h',
|
|
|
|
'<(libjingle_orig)/source/talk/xmpp/xmppclient.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/xmpp/xmppclient.h',
|
|
|
|
'<(libjingle_orig)/source/talk/xmpp/xmppclientsettings.h',
|
|
|
|
'<(libjingle_orig)/source/talk/xmpp/xmppengine.h',
|
|
|
|
'<(libjingle_orig)/source/talk/xmpp/xmppengineimpl.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/xmpp/xmppengineimpl.h',
|
|
|
|
'<(libjingle_orig)/source/talk/xmpp/xmppengineimpl_iq.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/xmpp/xmpplogintask.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/xmpp/xmpplogintask.h',
|
|
|
|
'<(libjingle_orig)/source/talk/xmpp/xmppstanzaparser.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/xmpp/xmppstanzaparser.h',
|
|
|
|
'<(libjingle_orig)/source/talk/xmpp/xmpptask.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/xmpp/xmpptask.h',
|
2011-05-30 13:41:01 +02:00
|
|
|
],
|
|
|
|
'conditions': [
|
|
|
|
['OS=="win"', {
|
|
|
|
'sources': [
|
|
|
|
'<(overrides)/talk/base/win32socketinit.cc',
|
2011-08-06 00:08:29 +02:00
|
|
|
'<(libjingle_orig)/source/talk/base/schanneladapter.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/base/schanneladapter.h',
|
|
|
|
'<(libjingle_orig)/source/talk/base/win32.h',
|
|
|
|
'<(libjingle_orig)/source/talk/base/win32.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/base/win32filesystem.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/base/win32filesystem.h',
|
|
|
|
'<(libjingle_orig)/source/talk/base/win32window.h',
|
|
|
|
'<(libjingle_orig)/source/talk/base/win32window.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/base/win32securityerrors.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/base/winfirewall.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/base/winfirewall.h',
|
|
|
|
'<(libjingle_orig)/source/talk/base/winping.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/base/winping.h',
|
2011-05-30 13:41:01 +02:00
|
|
|
],
|
|
|
|
}],
|
2011-08-04 19:44:30 +02:00
|
|
|
['os_posix == 1', {
|
2011-05-30 13:41:01 +02:00
|
|
|
'sources': [
|
2011-08-06 00:08:29 +02:00
|
|
|
'<(libjingle_orig)/source/talk/base/latebindingsymboltable.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/base/latebindingsymboltable.h',
|
|
|
|
'<(libjingle_orig)/source/talk/base/sslstreamadapter.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/base/sslstreamadapter.h',
|
|
|
|
'<(libjingle_orig)/source/talk/base/unixfilesystem.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/base/unixfilesystem.h',
|
2011-05-30 13:41:01 +02:00
|
|
|
],
|
|
|
|
}],
|
|
|
|
['OS=="linux"', {
|
|
|
|
'sources': [
|
2011-08-06 00:08:29 +02:00
|
|
|
'<(libjingle_orig)/source/talk/base/linux.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/base/linux.h',
|
2011-05-30 13:41:01 +02:00
|
|
|
],
|
|
|
|
}],
|
|
|
|
['OS=="mac"', {
|
|
|
|
'sources': [
|
2011-08-06 00:08:29 +02:00
|
|
|
'<(libjingle_orig)/source/talk/base/macconversion.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/base/macconversion.h',
|
|
|
|
'<(libjingle_orig)/source/talk/base/macutils.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/base/macutils.h',
|
2011-05-30 13:41:01 +02:00
|
|
|
],
|
|
|
|
}],
|
2011-08-06 00:08:29 +02:00
|
|
|
],
|
|
|
|
'dependencies': [
|
|
|
|
'../../third_party/jsoncpp/jsoncpp.gyp:jsoncpp',
|
2011-05-30 13:41:01 +02:00
|
|
|
],
|
|
|
|
},
|
|
|
|
# This has to be is a separate project due to a bug in MSVS:
|
|
|
|
# https://connect.microsoft.com/VisualStudio/feedback/details/368272/duplicate-cpp-filename-in-c-project-visual-studio-2008
|
|
|
|
# We have two files named "constants.cc" and MSVS doesn't handle this
|
|
|
|
# properly.
|
|
|
|
{
|
|
|
|
'target_name': 'libjingle_p2p',
|
|
|
|
'type': 'static_library',
|
|
|
|
'sources': [
|
2011-08-06 00:08:29 +02:00
|
|
|
'<(libjingle_orig)/source/talk/p2p/base/candidate.h',
|
|
|
|
'<(libjingle_orig)/source/talk/p2p/base/common.h',
|
|
|
|
'<(libjingle_orig)/source/talk/p2p/base/constants.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/p2p/base/constants.h',
|
|
|
|
'<(libjingle_orig)/source/talk/p2p/base/p2ptransport.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/p2p/base/p2ptransport.h',
|
|
|
|
'<(libjingle_orig)/source/talk/p2p/base/p2ptransportchannel.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/p2p/base/p2ptransportchannel.h',
|
|
|
|
'<(libjingle_orig)/source/talk/p2p/base/port.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/p2p/base/port.h',
|
|
|
|
'<(libjingle_orig)/source/talk/p2p/base/portallocator.h',
|
|
|
|
'<(libjingle_orig)/source/talk/p2p/base/pseudotcp.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/p2p/base/pseudotcp.h',
|
|
|
|
'<(libjingle_orig)/source/talk/p2p/base/rawtransport.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/p2p/base/rawtransport.h',
|
|
|
|
'<(libjingle_orig)/source/talk/p2p/base/rawtransportchannel.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/p2p/base/rawtransportchannel.h',
|
|
|
|
'<(libjingle_orig)/source/talk/p2p/base/relayport.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/p2p/base/relayport.h',
|
|
|
|
'<(libjingle_orig)/source/talk/p2p/base/session.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/p2p/base/session.h',
|
|
|
|
'<(libjingle_orig)/source/talk/p2p/base/sessionclient.h',
|
|
|
|
'<(libjingle_orig)/source/talk/p2p/base/sessiondescription.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/p2p/base/sessiondescription.h',
|
|
|
|
'<(libjingle_orig)/source/talk/p2p/base/sessionid.h',
|
|
|
|
'<(libjingle_orig)/source/talk/p2p/base/sessionmanager.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/p2p/base/sessionmanager.h',
|
|
|
|
'<(libjingle_orig)/source/talk/p2p/base/sessionmessages.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/p2p/base/sessionmessages.h',
|
|
|
|
'<(libjingle_orig)/source/talk/p2p/base/parsing.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/p2p/base/parsing.h',
|
|
|
|
'<(libjingle_orig)/source/talk/p2p/base/stun.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/p2p/base/stun.h',
|
|
|
|
'<(libjingle_orig)/source/talk/p2p/base/stunport.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/p2p/base/stunport.h',
|
|
|
|
'<(libjingle_orig)/source/talk/p2p/base/stunrequest.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/p2p/base/stunrequest.h',
|
|
|
|
'<(libjingle_orig)/source/talk/p2p/base/tcpport.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/p2p/base/tcpport.h',
|
|
|
|
'<(libjingle_orig)/source/talk/p2p/base/transport.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/p2p/base/transport.h',
|
|
|
|
'<(libjingle_orig)/source/talk/p2p/base/transportchannel.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/p2p/base/transportchannel.h',
|
|
|
|
'<(libjingle_orig)/source/talk/p2p/base/transportchannelimpl.h',
|
|
|
|
'<(libjingle_orig)/source/talk/p2p/base/transportchannelproxy.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/p2p/base/transportchannelproxy.h',
|
|
|
|
'<(libjingle_orig)/source/talk/p2p/base/udpport.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/p2p/base/udpport.h',
|
|
|
|
'<(libjingle_orig)/source/talk/p2p/client/basicportallocator.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/p2p/client/basicportallocator.h',
|
|
|
|
'<(libjingle_orig)/source/talk/p2p/client/httpportallocator.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/p2p/client/httpportallocator.h',
|
|
|
|
'<(libjingle_orig)/source/talk/p2p/client/sessionmanagertask.h',
|
|
|
|
'<(libjingle_orig)/source/talk/p2p/client/sessionsendtask.h',
|
|
|
|
'<(libjingle_orig)/source/talk/p2p/client/socketmonitor.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/p2p/client/socketmonitor.h',
|
|
|
|
'<(libjingle_orig)/source/talk/session/phone/audiomonitor.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/session/phone/audiomonitor.h',
|
|
|
|
'<(libjingle_orig)/source/talk/session/phone/call.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/session/phone/call.h',
|
|
|
|
'<(libjingle_orig)/source/talk/session/phone/channel.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/session/phone/channel.h',
|
2011-08-17 02:07:03 +02:00
|
|
|
'<(libjingle_mods)/source/talk/session/phone/channelmanager.cc',
|
2011-08-06 00:08:29 +02:00
|
|
|
'<(libjingle_orig)/source/talk/session/phone/channelmanager.h',
|
|
|
|
'<(libjingle_orig)/source/talk/session/phone/codec.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/session/phone/codec.h',
|
|
|
|
'<(libjingle_orig)/source/talk/session/phone/cryptoparams.h',
|
|
|
|
'<(libjingle_orig)/source/talk/session/phone/currentspeakermonitor.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/session/phone/currentspeakermonitor.h',
|
|
|
|
'<(libjingle_mods)/source/talk/session/phone/devicemanager.cc',
|
|
|
|
'<(libjingle_mods)/source/talk/session/phone/devicemanager.h',
|
|
|
|
'<(libjingle_orig)/source/talk/session/phone/filemediaengine.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/session/phone/filemediaengine.h',
|
|
|
|
'<(libjingle_orig)/source/talk/session/phone/mediachannel.h',
|
|
|
|
'<(libjingle_orig)/source/talk/session/phone/mediaengine.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/session/phone/mediaengine.h',
|
|
|
|
'<(libjingle_orig)/source/talk/session/phone/mediamessages.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/session/phone/mediamessages.h',
|
|
|
|
'<(libjingle_orig)/source/talk/session/phone/mediamonitor.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/session/phone/mediamonitor.h',
|
|
|
|
'<(libjingle_orig)/source/talk/session/phone/mediasessionclient.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/session/phone/mediasessionclient.h',
|
|
|
|
'<(libjingle_orig)/source/talk/session/phone/mediasink.h',
|
|
|
|
'<(libjingle_orig)/source/talk/session/phone/rtcpmuxfilter.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/session/phone/rtcpmuxfilter.h',
|
|
|
|
'<(libjingle_orig)/source/talk/session/phone/rtpdump.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/session/phone/rtpdump.h',
|
|
|
|
'<(libjingle_orig)/source/talk/session/phone/rtputils.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/session/phone/rtputils.h',
|
|
|
|
'<(libjingle_orig)/source/talk/session/phone/soundclip.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/session/phone/soundclip.h',
|
|
|
|
'<(libjingle_mods)/source/talk/session/phone/srtpfilter.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/session/phone/srtpfilter.h',
|
|
|
|
'<(libjingle_orig)/source/talk/session/phone/videocommon.h',
|
|
|
|
'<(libjingle_orig)/source/talk/session/phone/voicechannel.h',
|
|
|
|
'<(libjingle_mods)/source/talk/session/phone/webrtccommon.h',
|
|
|
|
'<(libjingle_mods)/source/talk/session/phone/webrtcvideoengine.cc',
|
|
|
|
'<(libjingle_mods)/source/talk/session/phone/webrtcvideoengine.h',
|
|
|
|
'<(libjingle_mods)/source/talk/session/phone/webrtcvideoframe.cc',
|
|
|
|
'<(libjingle_mods)/source/talk/session/phone/webrtcvideoframe.h',
|
|
|
|
'<(libjingle_mods)/source/talk/session/phone/webrtcvie.h',
|
|
|
|
'<(libjingle_mods)/source/talk/session/phone/webrtcvoe.h',
|
|
|
|
'<(libjingle_mods)/source/talk/session/phone/webrtcvoiceengine.cc',
|
|
|
|
'<(libjingle_mods)/source/talk/session/phone/webrtcvoiceengine.h',
|
|
|
|
'<(libjingle_orig)/source/talk/session/tunnel/pseudotcpchannel.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/session/tunnel/pseudotcpchannel.h',
|
|
|
|
'<(libjingle_orig)/source/talk/session/tunnel/tunnelsessionclient.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/session/tunnel/tunnelsessionclient.h',
|
2011-05-30 13:41:01 +02:00
|
|
|
],
|
2011-06-01 20:50:40 +02:00
|
|
|
'conditions': [
|
|
|
|
['OS=="win"', {
|
|
|
|
'sources': [
|
2011-08-06 00:08:29 +02:00
|
|
|
'<(libjingle_orig)/source/talk/session/phone/gdivideorenderer.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/session/phone/gdivideorenderer.h',
|
2011-06-01 20:50:40 +02:00
|
|
|
],
|
|
|
|
}],
|
2011-05-30 13:41:01 +02:00
|
|
|
['OS=="linux"', {
|
|
|
|
'sources': [
|
2011-08-06 00:08:29 +02:00
|
|
|
'<(libjingle_orig)/source/talk/session/phone/gtkvideorenderer.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/session/phone/gtkvideorenderer.h',
|
|
|
|
'<(libjingle_orig)/source/talk/session/phone/libudevsymboltable.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/session/phone/libudevsymboltable.h',
|
|
|
|
'<(libjingle_orig)/source/talk/session/phone/v4llookup.cc',
|
|
|
|
'<(libjingle_orig)/source/talk/session/phone/v4llookup.h',
|
2011-05-30 13:41:01 +02:00
|
|
|
],
|
|
|
|
'include_dirs': [
|
2011-08-06 00:08:29 +02:00
|
|
|
'<(libjingle_orig)/source/talk/third_party/libudev',
|
2011-05-30 13:41:01 +02:00
|
|
|
],
|
2011-08-04 19:44:30 +02:00
|
|
|
'cflags': [
|
|
|
|
'<!@(pkg-config --cflags gtk+-2.0)',
|
|
|
|
],
|
2011-05-30 13:41:01 +02:00
|
|
|
}],
|
|
|
|
['inside_chromium_build==1', {
|
|
|
|
'dependencies': [
|
2011-08-06 00:08:29 +02:00
|
|
|
'../../third_party/webrtc/modules/audio_device/main/source/audio_device.gyp:audio_device',
|
|
|
|
'../../third_party/webrtc/modules/video_capture/main/source/video_capture.gyp:video_capture_module',
|
|
|
|
'../../third_party/webrtc/modules/video_render/main/source/video_render.gyp:video_render_module',
|
|
|
|
'../../third_party/webrtc/system_wrappers/source/system_wrappers.gyp:system_wrappers',
|
|
|
|
'../../third_party/webrtc/video_engine/main/source/video_engine_core.gyp:video_engine_core',
|
|
|
|
'../../third_party/webrtc/voice_engine/main/source/voice_engine_core.gyp:voice_engine_core',
|
2011-08-04 19:44:30 +02:00
|
|
|
'libjingle',
|
2011-05-30 13:41:01 +02:00
|
|
|
],
|
|
|
|
}, {
|
|
|
|
'dependencies': [
|
2011-08-04 19:44:30 +02:00
|
|
|
'../../src/modules/audio_device/main/source/audio_device.gyp:audio_device',
|
|
|
|
'../../src/modules/video_capture/main/source/video_capture.gyp:video_capture_module',
|
|
|
|
'../../src/modules/video_render/main/source/video_render.gyp:video_render_module',
|
|
|
|
'../../src/system_wrappers/source/system_wrappers.gyp:system_wrappers',
|
|
|
|
'../../src/video_engine/main/source/video_engine_core.gyp:video_engine_core',
|
|
|
|
'../../src/voice_engine/main/source/voice_engine_core.gyp:voice_engine_core',
|
|
|
|
'libjingle',
|
2011-05-30 13:41:01 +02:00
|
|
|
],
|
|
|
|
} ], # inside_chromium_build
|
|
|
|
], # conditions
|
|
|
|
},
|
|
|
|
# seperate project for app
|
|
|
|
{
|
|
|
|
'target_name': 'libjingle_app',
|
2011-08-04 19:44:30 +02:00
|
|
|
'type': '<(library)',
|
|
|
|
'sources': [
|
2011-08-06 00:08:29 +02:00
|
|
|
'<(libjingle_mods)/source/talk/app/webrtc/peerconnection.cc',
|
|
|
|
'<(libjingle_mods)/source/talk/app/webrtc/peerconnection.h',
|
|
|
|
'<(libjingle_mods)/source/talk/app/webrtc/peerconnectionimpl_callbacks.h',
|
|
|
|
'<(libjingle_mods)/source/talk/app/webrtc/peerconnection_impl.cc',
|
|
|
|
'<(libjingle_mods)/source/talk/app/webrtc/peerconnection_impl.h',
|
|
|
|
'<(libjingle_mods)/source/talk/app/webrtc/webrtcsession.cc',
|
|
|
|
'<(libjingle_mods)/source/talk/app/webrtc/webrtcsession.h',
|
|
|
|
'<(libjingle_mods)/source/talk/app/webrtc/webrtc_json.cc',
|
|
|
|
'<(libjingle_mods)/source/talk/app/webrtc/webrtc_json.h',
|
|
|
|
],
|
|
|
|
'dependencies': [
|
|
|
|
'../../third_party/jsoncpp/jsoncpp.gyp:jsoncpp',
|
2011-05-30 13:41:01 +02:00
|
|
|
],
|
|
|
|
'conditions': [
|
2011-08-04 19:44:30 +02:00
|
|
|
['inside_chromium_build==1', {
|
2011-05-30 13:41:01 +02:00
|
|
|
'dependencies': [
|
2011-08-06 00:08:29 +02:00
|
|
|
'../../third_party/webrtc/modules/video_capture/main/source/video_capture.gyp:video_capture_module',
|
|
|
|
'../../third_party/webrtc/modules/video_render/main/source/video_render.gyp:video_render_module',
|
|
|
|
'../../third_party/webrtc/video_engine/main/source/video_engine_core.gyp:video_engine_core',
|
|
|
|
'../../third_party/webrtc/voice_engine/main/source/voice_engine_core.gyp:voice_engine_core',
|
|
|
|
'../../third_party/webrtc/system_wrappers/source/system_wrappers.gyp:system_wrappers',
|
2011-05-30 13:41:01 +02:00
|
|
|
'libjingle_p2p',
|
2011-08-04 19:44:30 +02:00
|
|
|
],
|
2011-05-30 13:41:01 +02:00
|
|
|
}, {
|
|
|
|
'dependencies': [
|
2011-07-07 11:35:19 +02:00
|
|
|
'../../src/modules/video_capture/main/source/video_capture.gyp:video_capture_module',
|
2011-08-04 19:44:30 +02:00
|
|
|
'../../src/modules/video_render/main/source/video_render.gyp:video_render_module',
|
2011-07-07 11:35:19 +02:00
|
|
|
'../../src/video_engine/main/source/video_engine_core.gyp:video_engine_core',
|
|
|
|
'../../src/voice_engine/main/source/voice_engine_core.gyp:voice_engine_core',
|
|
|
|
'../../src/system_wrappers/source/system_wrappers.gyp:system_wrappers',
|
2011-05-30 13:41:01 +02:00
|
|
|
'libjingle_p2p',
|
2011-08-04 19:44:30 +02:00
|
|
|
],
|
|
|
|
} ], # inside_chromium_build
|
|
|
|
['peer_connection_dev==1', {
|
|
|
|
'sources': [
|
|
|
|
'<(overrides)/talk/app/webrtc/scoped_refptr.h',
|
2011-08-06 00:08:29 +02:00
|
|
|
'<(libjingle_mods)/source/talk/app/webrtc/audio_device_dev.cc',
|
|
|
|
'<(libjingle_mods)/source/talk/app/webrtc/local_audio_track_impl_dev.cc',
|
|
|
|
'<(libjingle_mods)/source/talk/app/webrtc/local_stream_dev.h',
|
|
|
|
'<(libjingle_mods)/source/talk/app/webrtc/local_stream_dev.cc',
|
|
|
|
'<(libjingle_mods)/source/talk/app/webrtc/local_video_track_impl_dev.cc',
|
|
|
|
'<(libjingle_mods)/source/talk/app/webrtc/peerconnection_dev.h',
|
|
|
|
'<(libjingle_mods)/source/talk/app/webrtc/peerconnection_impl_dev.cc',
|
|
|
|
'<(libjingle_mods)/source/talk/app/webrtc/peerconnection_impl_dev.h',
|
|
|
|
'<(libjingle_mods)/source/talk/app/webrtc/peerconnectionmanager.cc',
|
|
|
|
'<(libjingle_mods)/source/talk/app/webrtc/peerconnectionmanager.h',
|
|
|
|
'<(libjingle_mods)/source/talk/app/webrtc/peerconnectiontransport.cc',
|
|
|
|
'<(libjingle_mods)/source/talk/app/webrtc/peerconnectiontransport.h',
|
|
|
|
'<(libjingle_mods)/source/talk/app/webrtc/ref_count.h',
|
|
|
|
'<(libjingle_mods)/source/talk/app/webrtc/stream_dev.h',
|
|
|
|
'<(libjingle_mods)/source/talk/app/webrtc/video_device_dev.cc',
|
|
|
|
'<(libjingle_mods)/source/talk/app/webrtc/video_renderer_dev.cc',
|
2011-05-30 13:41:01 +02:00
|
|
|
],
|
2011-08-04 19:44:30 +02:00
|
|
|
}], # peer_connection_dev
|
2011-05-30 13:41:01 +02:00
|
|
|
], # conditions
|
|
|
|
},
|
|
|
|
{
|
2011-08-04 19:44:30 +02:00
|
|
|
'target_name': 'peerconnection_client_dev',
|
2011-05-30 13:41:01 +02:00
|
|
|
'conditions': [
|
2011-08-04 19:44:30 +02:00
|
|
|
['peer_connection_dev==1 and OS=="linux"', {
|
2011-05-30 13:41:01 +02:00
|
|
|
'type': 'executable',
|
2011-08-04 19:44:30 +02:00
|
|
|
'sources': [
|
2011-08-06 00:08:29 +02:00
|
|
|
'<(libjingle_mods)/source/talk/app/webrtc/peerconnection_client_dev.cc',
|
2011-08-04 19:44:30 +02:00
|
|
|
],
|
|
|
|
'libraries': [
|
|
|
|
'-lXext',
|
|
|
|
'-lX11',
|
2011-05-30 13:41:01 +02:00
|
|
|
],
|
|
|
|
}, {
|
|
|
|
'type': 'none',
|
2011-08-04 19:44:30 +02:00
|
|
|
} ], # peer_connection_dev
|
2011-05-30 13:41:01 +02:00
|
|
|
['inside_chromium_build==1', {
|
|
|
|
'dependencies': [
|
|
|
|
'libjingle_app',
|
|
|
|
],
|
|
|
|
}, {
|
|
|
|
'dependencies': [
|
|
|
|
'libjingle_app',
|
|
|
|
],
|
|
|
|
} ], # inside_chromium_build
|
|
|
|
], # conditions
|
|
|
|
},
|
|
|
|
],
|
|
|
|
}
|