Index: third_party/libjingle/libjingle.gyp |
diff --git a/third_party/libjingle/libjingle.gyp b/third_party/libjingle/libjingle.gyp |
index 4eb289b0ec4a5186386d08c7c5e695b52f071651..85a3f12eb2d0db603582800d9bf239933006f8b5 100644 |
--- a/third_party/libjingle/libjingle.gyp |
+++ b/third_party/libjingle/libjingle.gyp |
@@ -9,24 +9,6 @@ |
# Most of these settings have been split according to their scope into |
# :jingle_unexported_configs and :jingle_public_config in the GN build. |
'target_defaults': { |
- 'defines': [ |
- 'ENABLE_EXTERNAL_AUTH', |
- 'EXPAT_RELATIVE_PATH', |
- 'FEATURE_ENABLE_SSL', |
- 'GTEST_RELATIVE_PATH', |
- 'HAVE_OPENSSL_SSL_H', |
- 'HAVE_SCTP', |
- 'HAVE_SRTP', |
- 'HAVE_WEBRTC_VIDEO', |
- 'HAVE_WEBRTC_VOICE', |
- 'LOGGING_INSIDE_WEBRTC', |
- 'NO_MAIN_THREAD_WRAPPING', |
- 'NO_SOUND_SYSTEM', |
- 'SRTP_RELATIVE_PATH', |
- 'SSL_USE_OPENSSL', |
- 'USE_WEBRTC_DEV_BRANCH', |
- 'WEBRTC_CHROMIUM_BUILD', |
- ], |
'include_dirs': [ |
'../../third_party/webrtc_overrides', |
'../..', |
@@ -52,14 +34,6 @@ |
'../../testing/gtest/include', |
'../../third_party', |
], |
- 'defines': [ |
- 'FEATURE_ENABLE_SSL', |
- 'FEATURE_ENABLE_VOICEMAIL', |
- 'EXPAT_RELATIVE_PATH', |
- 'GTEST_RELATIVE_PATH', |
- 'NO_MAIN_THREAD_WRAPPING', |
- 'NO_SOUND_SYSTEM', |
- ], |
'conditions': [ |
['OS=="win"', { |
'link_settings': { |
@@ -74,66 +48,9 @@ |
'include_dirs': [ |
'../third_party/platformsdk_win7/files/Include', |
], |
- 'defines': [ |
- '_CRT_SECURE_NO_WARNINGS', # Suppres warnings about _vsnprinf |
- ], |
# TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
'msvs_disabled_warnings': [ 4267 ], |
}], |
- ['OS=="linux"', { |
- 'defines': [ |
- 'LINUX', |
- 'WEBRTC_LINUX', |
- ], |
- }], |
- ['OS=="mac"', { |
- 'defines': [ |
- 'OSX', |
- 'WEBRTC_MAC', |
- ], |
- }], |
- ['OS=="ios"', { |
- 'defines': [ |
- 'IOS', |
- 'WEBRTC_MAC', |
- 'WEBRTC_IOS', |
- ], |
- }], |
- ['OS=="win"', { |
- 'defines': [ |
- 'WEBRTC_WIN', |
- ], |
- }], |
- ['OS=="android"', { |
- 'defines': [ |
- 'ANDROID', |
- ], |
- }], |
- ['os_posix==1', { |
- 'defines': [ |
- 'WEBRTC_POSIX', |
- ], |
- }], |
- ['os_bsd==1', { |
- 'defines': [ |
- 'BSD', |
- ], |
- }], |
- ['OS=="openbsd"', { |
- 'defines': [ |
- 'OPENBSD', |
- ], |
- }], |
- ['OS=="freebsd"', { |
- 'defines': [ |
- 'FREEBSD', |
- ], |
- }], |
- ['chromeos==1', { |
- 'defines': [ |
- 'CHROMEOS', |
- ], |
- }], |
], |
}, |
'variables': { |
@@ -148,50 +65,6 @@ |
'../third_party/platformsdk_win7/files/Include', |
], |
}], |
- ['OS=="linux"', { |
- 'defines': [ |
- 'LINUX', |
- 'WEBRTC_LINUX', |
- ], |
- }], |
- ['OS=="mac"', { |
- 'defines': [ |
- 'OSX', |
- 'WEBRTC_MAC', |
- ], |
- }], |
- ['OS=="win"', { |
- 'defines': [ |
- 'WEBRTC_WIN', |
- ], |
- }], |
- ['OS=="ios"', { |
- 'defines': [ |
- 'IOS', |
- 'WEBRTC_MAC', |
- 'WEBRTC_IOS', |
- ], |
- }], |
- ['os_posix == 1', { |
- 'defines': [ |
- 'WEBRTC_POSIX', |
- ], |
- }], |
- ['os_bsd==1', { |
- 'defines': [ |
- 'BSD', |
- ], |
- }], |
- ['OS=="openbsd"', { |
- 'defines': [ |
- 'OPENBSD', |
- ], |
- }], |
- ['OS=="freebsd"', { |
- 'defines': [ |
- 'FREEBSD', |
- ], |
- }], |
], |
}, |
'targets': [ |
@@ -202,7 +75,14 @@ |
'includes': [ 'libjingle_common.gypi' ], |
'dependencies': [ |
'<(DEPTH)/third_party/webrtc/base/base.gyp:rtc_base', |
- '<(DEPTH)/third_party/webrtc/libjingle/xmllite/xmllite.gyp:rtc_xmllite', |
+ '<(DEPTH)/third_party/webrtc/p2p/p2p.gyp:rtc_p2p', |
+ ], |
+ # TODO(kjellander): Start cleaning up this target as soon as |
+ # https://codereview.chromium.org/2022833002/ is landed. The target should |
+ # be removed entirely if possible. |
+ 'export_dependent_settings': [ |
+ '<(DEPTH)/third_party/webrtc/base/base.gyp:rtc_base', |
+ '<(DEPTH)/third_party/webrtc/p2p/p2p.gyp:rtc_p2p', |
], |
}, # target libjingle |
], |
@@ -213,145 +93,14 @@ |
# GN version: //third_party/libjingle:libjingle_webrtc_common |
'target_name': 'libjingle_webrtc_common', |
'type': 'static_library', |
- 'sources': [ |
- '<(DEPTH)/third_party/webrtc/api/audiotrack.cc', |
- '<(DEPTH)/third_party/webrtc/api/audiotrack.h', |
- '<(DEPTH)/third_party/webrtc/api/datachannel.cc', |
- '<(DEPTH)/third_party/webrtc/api/datachannel.h', |
- '<(DEPTH)/third_party/webrtc/api/dtmfsender.cc', |
- '<(DEPTH)/third_party/webrtc/api/dtmfsender.h', |
- '<(DEPTH)/third_party/webrtc/api/jsep.h', |
- '<(DEPTH)/third_party/webrtc/api/jsepicecandidate.cc', |
- '<(DEPTH)/third_party/webrtc/api/jsepicecandidate.h', |
- '<(DEPTH)/third_party/webrtc/api/jsepsessiondescription.cc', |
- '<(DEPTH)/third_party/webrtc/api/jsepsessiondescription.h', |
- '<(DEPTH)/third_party/webrtc/api/localaudiosource.cc', |
- '<(DEPTH)/third_party/webrtc/api/localaudiosource.h', |
- '<(DEPTH)/third_party/webrtc/api/mediaconstraintsinterface.cc', |
- '<(DEPTH)/third_party/webrtc/api/mediaconstraintsinterface.h', |
- '<(DEPTH)/third_party/webrtc/api/mediacontroller.cc', |
- '<(DEPTH)/third_party/webrtc/api/mediacontroller.h', |
- '<(DEPTH)/third_party/webrtc/api/mediastream.cc', |
- '<(DEPTH)/third_party/webrtc/api/mediastream.h', |
- '<(DEPTH)/third_party/webrtc/api/mediastreaminterface.h', |
- '<(DEPTH)/third_party/webrtc/api/mediastreamobserver.cc', |
- '<(DEPTH)/third_party/webrtc/api/mediastreamobserver.h', |
- '<(DEPTH)/third_party/webrtc/api/mediastreamprovider.h', |
- '<(DEPTH)/third_party/webrtc/api/mediastreamproxy.h', |
- '<(DEPTH)/third_party/webrtc/api/mediastreamtrack.h', |
- '<(DEPTH)/third_party/webrtc/api/mediastreamtrackproxy.h', |
- '<(DEPTH)/third_party/webrtc/api/notifier.h', |
- '<(DEPTH)/third_party/webrtc/api/peerconnection.cc', |
- '<(DEPTH)/third_party/webrtc/api/peerconnection.h', |
- '<(DEPTH)/third_party/webrtc/api/peerconnectionfactory.cc', |
- '<(DEPTH)/third_party/webrtc/api/peerconnectionfactory.h', |
- '<(DEPTH)/third_party/webrtc/api/peerconnectioninterface.h', |
- '<(DEPTH)/third_party/webrtc/api/remoteaudiosource.cc', |
- '<(DEPTH)/third_party/webrtc/api/remoteaudiosource.h', |
- '<(DEPTH)/third_party/webrtc/api/rtpreceiver.cc', |
- '<(DEPTH)/third_party/webrtc/api/rtpreceiver.h', |
- '<(DEPTH)/third_party/webrtc/api/rtpreceiverinterface.h', |
- '<(DEPTH)/third_party/webrtc/api/rtpsender.cc', |
- '<(DEPTH)/third_party/webrtc/api/rtpsender.h', |
- '<(DEPTH)/third_party/webrtc/api/rtpsenderinterface.h', |
- '<(DEPTH)/third_party/webrtc/api/sctputils.cc', |
- '<(DEPTH)/third_party/webrtc/api/sctputils.h', |
- '<(DEPTH)/third_party/webrtc/api/statscollector.cc', |
- '<(DEPTH)/third_party/webrtc/api/statscollector.h', |
- '<(DEPTH)/third_party/webrtc/api/statstypes.cc', |
- '<(DEPTH)/third_party/webrtc/api/statstypes.h', |
- '<(DEPTH)/third_party/webrtc/api/streamcollection.h', |
- '<(DEPTH)/third_party/webrtc/api/umametrics.h', |
- '<(DEPTH)/third_party/webrtc/api/videocapturertracksource.cc', |
- '<(DEPTH)/third_party/webrtc/api/videocapturertracksource.h', |
- '<(DEPTH)/third_party/webrtc/api/videosourceproxy.h', |
- '<(DEPTH)/third_party/webrtc/api/videotrack.cc', |
- '<(DEPTH)/third_party/webrtc/api/videotrack.h', |
- '<(DEPTH)/third_party/webrtc/api/videotracksource.cc', |
- '<(DEPTH)/third_party/webrtc/api/videotracksource.h', |
- '<(DEPTH)/third_party/webrtc/api/webrtcsdp.cc', |
- '<(DEPTH)/third_party/webrtc/api/webrtcsdp.h', |
- '<(DEPTH)/third_party/webrtc/api/webrtcsession.cc', |
- '<(DEPTH)/third_party/webrtc/api/webrtcsession.h', |
- '<(DEPTH)/third_party/webrtc/api/webrtcsessiondescriptionfactory.cc', |
- '<(DEPTH)/third_party/webrtc/api/webrtcsessiondescriptionfactory.h', |
- '<(DEPTH)/third_party/webrtc/media/base/codec.cc', |
- '<(DEPTH)/third_party/webrtc/media/base/codec.h', |
- '<(DEPTH)/third_party/webrtc/media/base/cryptoparams.h', |
- '<(DEPTH)/third_party/webrtc/media/base/hybriddataengine.h', |
- '<(DEPTH)/third_party/webrtc/media/base/mediachannel.h', |
- '<(DEPTH)/third_party/webrtc/media/base/mediaconstants.cc', |
- '<(DEPTH)/third_party/webrtc/media/base/mediaconstants.h', |
- '<(DEPTH)/third_party/webrtc/media/base/mediaengine.cc', |
- '<(DEPTH)/third_party/webrtc/media/base/mediaengine.h', |
- '<(DEPTH)/third_party/webrtc/media/base/rtpdataengine.cc', |
- '<(DEPTH)/third_party/webrtc/media/base/rtpdataengine.h', |
- '<(DEPTH)/third_party/webrtc/media/base/rtpdump.cc', |
- '<(DEPTH)/third_party/webrtc/media/base/rtpdump.h', |
- '<(DEPTH)/third_party/webrtc/media/base/rtputils.cc', |
- '<(DEPTH)/third_party/webrtc/media/base/rtputils.h', |
- '<(DEPTH)/third_party/webrtc/media/base/streamparams.cc', |
- '<(DEPTH)/third_party/webrtc/media/base/streamparams.h', |
- '<(DEPTH)/third_party/webrtc/media/base/turnutils.cc', |
- '<(DEPTH)/third_party/webrtc/media/base/turnutils.h', |
- '<(DEPTH)/third_party/webrtc/media/base/videoadapter.cc', |
- '<(DEPTH)/third_party/webrtc/media/base/videoadapter.h', |
- '<(DEPTH)/third_party/webrtc/media/base/videobroadcaster.cc', |
- '<(DEPTH)/third_party/webrtc/media/base/videobroadcaster.h', |
- '<(DEPTH)/third_party/webrtc/media/base/videocapturer.cc', |
- '<(DEPTH)/third_party/webrtc/media/base/videocapturer.h', |
- '<(DEPTH)/third_party/webrtc/media/base/videocommon.cc', |
- '<(DEPTH)/third_party/webrtc/media/base/videocommon.h', |
- '<(DEPTH)/third_party/webrtc/media/base/videoframe.cc', |
- '<(DEPTH)/third_party/webrtc/media/base/videoframe.h', |
- '<(DEPTH)/third_party/webrtc/media/base/videoframefactory.cc', |
- '<(DEPTH)/third_party/webrtc/media/base/videoframefactory.h', |
- '<(DEPTH)/third_party/webrtc/media/base/videosourcebase.cc', |
- '<(DEPTH)/third_party/webrtc/media/base/videosourcebase.h', |
- '<(DEPTH)/third_party/webrtc/media/engine/simulcast.cc', |
- '<(DEPTH)/third_party/webrtc/media/engine/simulcast.h', |
- '<(DEPTH)/third_party/webrtc/media/engine/webrtccommon.h', |
- '<(DEPTH)/third_party/webrtc/media/engine/webrtcmediaengine.cc', |
- '<(DEPTH)/third_party/webrtc/media/engine/webrtcmediaengine.h', |
- '<(DEPTH)/third_party/webrtc/media/engine/webrtcvideoengine2.cc', |
- '<(DEPTH)/third_party/webrtc/media/engine/webrtcvideoengine2.h', |
- '<(DEPTH)/third_party/webrtc/media/engine/webrtcvideoframe.cc', |
- '<(DEPTH)/third_party/webrtc/media/engine/webrtcvideoframe.h', |
- '<(DEPTH)/third_party/webrtc/media/engine/webrtcvideoframefactory.cc', |
- '<(DEPTH)/third_party/webrtc/media/engine/webrtcvideoframefactory.h', |
- '<(DEPTH)/third_party/webrtc/media/engine/webrtcvoe.h', |
- '<(DEPTH)/third_party/webrtc/media/engine/webrtcvoiceengine.cc', |
- '<(DEPTH)/third_party/webrtc/media/engine/webrtcvoiceengine.h', |
- '<(DEPTH)/third_party/webrtc/media/sctp/sctpdataengine.cc', |
- '<(DEPTH)/third_party/webrtc/media/sctp/sctpdataengine.h', |
- '<(DEPTH)/third_party/webrtc/pc/audiomonitor.cc', |
- '<(DEPTH)/third_party/webrtc/pc/audiomonitor.h', |
- '<(DEPTH)/third_party/webrtc/pc/bundlefilter.cc', |
- '<(DEPTH)/third_party/webrtc/pc/bundlefilter.h', |
- '<(DEPTH)/third_party/webrtc/pc/channel.cc', |
- '<(DEPTH)/third_party/webrtc/pc/channel.h', |
- '<(DEPTH)/third_party/webrtc/pc/channelmanager.cc', |
- '<(DEPTH)/third_party/webrtc/pc/channelmanager.h', |
- '<(DEPTH)/third_party/webrtc/pc/currentspeakermonitor.cc', |
- '<(DEPTH)/third_party/webrtc/pc/currentspeakermonitor.h', |
- '<(DEPTH)/third_party/webrtc/pc/externalhmac.cc', |
- '<(DEPTH)/third_party/webrtc/pc/externalhmac.h', |
- '<(DEPTH)/third_party/webrtc/pc/mediamonitor.cc', |
- '<(DEPTH)/third_party/webrtc/pc/mediamonitor.h', |
- '<(DEPTH)/third_party/webrtc/pc/mediasession.cc', |
- '<(DEPTH)/third_party/webrtc/pc/mediasession.h', |
- '<(DEPTH)/third_party/webrtc/pc/mediasink.h', |
- '<(DEPTH)/third_party/webrtc/pc/rtcpmuxfilter.cc', |
- '<(DEPTH)/third_party/webrtc/pc/rtcpmuxfilter.h', |
- '<(DEPTH)/third_party/webrtc/pc/srtpfilter.cc', |
- '<(DEPTH)/third_party/webrtc/pc/srtpfilter.h', |
- '<(DEPTH)/third_party/webrtc/pc/voicechannel.h', |
- ], |
'dependencies': [ |
'<(DEPTH)/third_party/libsrtp/libsrtp.gyp:libsrtp', |
'<(DEPTH)/third_party/usrsctp/usrsctp.gyp:usrsctplib', |
+ '<(DEPTH)/third_party/webrtc/api/api.gyp:libjingle_peerconnection', |
+ '<(DEPTH)/third_party/webrtc/media/media.gyp:rtc_media', |
'<(DEPTH)/third_party/webrtc/modules/modules.gyp:media_file', |
'<(DEPTH)/third_party/webrtc/modules/modules.gyp:video_capture', |
+ '<(DEPTH)/third_party/webrtc/pc/pc.gyp:rtc_pc', |
'<(DEPTH)/third_party/webrtc/voice_engine/voice_engine.gyp:voice_engine', |
'<(DEPTH)/third_party/webrtc/webrtc.gyp:webrtc', |
'libjingle', |