| OLD | NEW | 
|---|
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be | 
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. | 
| 4 | 4 | 
| 5 { | 5 { | 
| 6   'includes': [ | 6   'includes': [ | 
| 7     '../../build/win_precompile.gypi', | 7     '../../build/win_precompile.gypi', | 
| 8   ], | 8   ], | 
| 9   'variables': { |  | 
| 10     'libjingle_additional_deps%': [], |  | 
| 11     'libjingle_peerconnection_additional_deps%': [], |  | 
| 12     'libjingle_source%': "source", |  | 
| 13     'webrtc_xmpp': "../webrtc/libjingle/xmpp", |  | 
| 14   }, |  | 
| 15   # Most of these settings have been split according to their scope into | 9   # Most of these settings have been split according to their scope into | 
| 16   # :jingle_unexported_configs and :jingle_public_config in the GN build. | 10   # :jingle_unexported_configs and :jingle_public_config in the GN build. | 
| 17   'target_defaults': { | 11   'target_defaults': { | 
| 18     'defines': [ | 12     'defines': [ | 
| 19       'ENABLE_EXTERNAL_AUTH', | 13       'ENABLE_EXTERNAL_AUTH', | 
| 20       'EXPAT_RELATIVE_PATH', | 14       'EXPAT_RELATIVE_PATH', | 
| 21       'FEATURE_ENABLE_SSL', | 15       'FEATURE_ENABLE_SSL', | 
| 22       'GTEST_RELATIVE_PATH', | 16       'GTEST_RELATIVE_PATH', | 
| 23       'HAVE_OPENSSL_SSL_H', | 17       'HAVE_OPENSSL_SSL_H', | 
| 24       'HAVE_SCTP', | 18       'HAVE_SCTP', | 
| 25       'HAVE_SRTP', | 19       'HAVE_SRTP', | 
| 26       'HAVE_WEBRTC_VIDEO', | 20       'HAVE_WEBRTC_VIDEO', | 
| 27       'HAVE_WEBRTC_VOICE', | 21       'HAVE_WEBRTC_VOICE', | 
| 28       'LOGGING_INSIDE_WEBRTC', | 22       'LOGGING_INSIDE_WEBRTC', | 
| 29       'NO_MAIN_THREAD_WRAPPING', | 23       'NO_MAIN_THREAD_WRAPPING', | 
| 30       'NO_SOUND_SYSTEM', | 24       'NO_SOUND_SYSTEM', | 
| 31       'SRTP_RELATIVE_PATH', | 25       'SRTP_RELATIVE_PATH', | 
| 32       'SSL_USE_OPENSSL', | 26       'SSL_USE_OPENSSL', | 
| 33       'USE_WEBRTC_DEV_BRANCH', | 27       'USE_WEBRTC_DEV_BRANCH', | 
| 34       'WEBRTC_CHROMIUM_BUILD', | 28       'WEBRTC_CHROMIUM_BUILD', | 
| 35     ], | 29     ], | 
| 36     'include_dirs': [ | 30     'include_dirs': [ | 
| 37       './overrides', | 31       './overrides', | 
| 38       '../../third_party/webrtc_overrides', | 32       '../../third_party/webrtc_overrides', | 
| 39       './<(libjingle_source)', | 33       './source', | 
| 40       '../..', | 34       '../..', | 
| 41       '../../testing/gtest/include', | 35       '../../testing/gtest/include', | 
| 42       '../../third_party', | 36       '../../third_party', | 
| 43       '../../third_party/libyuv/include', | 37       '../../third_party/libyuv/include', | 
| 44       '../../third_party/usrsctp/usrsctplib', | 38       '../../third_party/usrsctp/usrsctplib', | 
| 45     ], | 39     ], | 
| 46     # These dependencies have been translated into :jingle_deps in the GN build. | 40     # These dependencies have been translated into :jingle_deps in the GN build. | 
| 47     'dependencies': [ | 41     'dependencies': [ | 
| 48       '<(DEPTH)/base/base.gyp:base', | 42       '<(DEPTH)/base/base.gyp:base', | 
| 49       '<(DEPTH)/net/net.gyp:net', | 43       '<(DEPTH)/net/net.gyp:net', | 
| 50       '<(DEPTH)/third_party/boringssl/boringssl.gyp:boringssl', | 44       '<(DEPTH)/third_party/boringssl/boringssl.gyp:boringssl', | 
| 51       '<(DEPTH)/third_party/expat/expat.gyp:expat', | 45       '<(DEPTH)/third_party/expat/expat.gyp:expat', | 
| 52     ], | 46     ], | 
| 53     'export_dependent_settings': [ | 47     'export_dependent_settings': [ | 
| 54       '<(DEPTH)/third_party/expat/expat.gyp:expat', | 48       '<(DEPTH)/third_party/expat/expat.gyp:expat', | 
| 55     ], | 49     ], | 
| 56     'direct_dependent_settings': { | 50     'direct_dependent_settings': { | 
| 57       'include_dirs': [ | 51       'include_dirs': [ | 
| 58         '../../third_party/webrtc_overrides', | 52         '../../third_party/webrtc_overrides', | 
| 59         './overrides', | 53         './overrides', | 
| 60         './<(libjingle_source)', | 54         './source', | 
| 61         '../..', | 55         '../..', | 
| 62         '../../testing/gtest/include', | 56         '../../testing/gtest/include', | 
| 63         '../../third_party', | 57         '../../third_party', | 
| 64       ], | 58       ], | 
| 65       'defines': [ | 59       'defines': [ | 
| 66         'FEATURE_ENABLE_SSL', | 60         'FEATURE_ENABLE_SSL', | 
| 67         'FEATURE_ENABLE_VOICEMAIL', | 61         'FEATURE_ENABLE_VOICEMAIL', | 
| 68         'EXPAT_RELATIVE_PATH', | 62         'EXPAT_RELATIVE_PATH', | 
| 69         'GTEST_RELATIVE_PATH', | 63         'GTEST_RELATIVE_PATH', | 
| 70         'NO_MAIN_THREAD_WRAPPING', | 64         'NO_MAIN_THREAD_WRAPPING', | 
| (...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 213   }, | 207   }, | 
| 214   'targets': [ | 208   'targets': [ | 
| 215     # GN version: //third_party/libjingle | 209     # GN version: //third_party/libjingle | 
| 216     { | 210     { | 
| 217       'target_name': 'libjingle', | 211       'target_name': 'libjingle', | 
| 218       'type': 'static_library', | 212       'type': 'static_library', | 
| 219       'includes': [ 'libjingle_common.gypi' ], | 213       'includes': [ 'libjingle_common.gypi' ], | 
| 220       'dependencies': [ | 214       'dependencies': [ | 
| 221         '<(DEPTH)/third_party/webrtc/base/base.gyp:rtc_base', | 215         '<(DEPTH)/third_party/webrtc/base/base.gyp:rtc_base', | 
| 222         '<(DEPTH)/third_party/webrtc/libjingle/xmllite/xmllite.gyp:rtc_xmllite', | 216         '<(DEPTH)/third_party/webrtc/libjingle/xmllite/xmllite.gyp:rtc_xmllite', | 
| 223         '<@(libjingle_additional_deps)', |  | 
| 224       ], | 217       ], | 
| 225     },  # target libjingle | 218     },  # target libjingle | 
| 226   ], | 219   ], | 
| 227   'conditions': [ | 220   'conditions': [ | 
| 228     ['enable_webrtc==1', { | 221     ['enable_webrtc==1', { | 
| 229       'targets': [ | 222       'targets': [ | 
| 230         { | 223         { | 
| 231           # GN version: //third_party/libjingle:libjingle_webrtc_common | 224           # GN version: //third_party/libjingle:libjingle_webrtc_common | 
| 232           'target_name': 'libjingle_webrtc_common', | 225           'target_name': 'libjingle_webrtc_common', | 
| 233           'type': 'static_library', | 226           'type': 'static_library', | 
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 328             '<(DEPTH)/third_party/webrtc/media/base/videocapturer.cc', | 321             '<(DEPTH)/third_party/webrtc/media/base/videocapturer.cc', | 
| 329             '<(DEPTH)/third_party/webrtc/media/base/videocapturer.h', | 322             '<(DEPTH)/third_party/webrtc/media/base/videocapturer.h', | 
| 330             '<(DEPTH)/third_party/webrtc/media/base/videocommon.cc', | 323             '<(DEPTH)/third_party/webrtc/media/base/videocommon.cc', | 
| 331             '<(DEPTH)/third_party/webrtc/media/base/videocommon.h', | 324             '<(DEPTH)/third_party/webrtc/media/base/videocommon.h', | 
| 332             '<(DEPTH)/third_party/webrtc/media/base/videoframe.cc', | 325             '<(DEPTH)/third_party/webrtc/media/base/videoframe.cc', | 
| 333             '<(DEPTH)/third_party/webrtc/media/base/videoframe.h', | 326             '<(DEPTH)/third_party/webrtc/media/base/videoframe.h', | 
| 334             '<(DEPTH)/third_party/webrtc/media/base/videoframefactory.cc', | 327             '<(DEPTH)/third_party/webrtc/media/base/videoframefactory.cc', | 
| 335             '<(DEPTH)/third_party/webrtc/media/base/videoframefactory.h', | 328             '<(DEPTH)/third_party/webrtc/media/base/videoframefactory.h', | 
| 336             '<(DEPTH)/third_party/webrtc/media/base/videosourcebase.cc', | 329             '<(DEPTH)/third_party/webrtc/media/base/videosourcebase.cc', | 
| 337             '<(DEPTH)/third_party/webrtc/media/base/videosourcebase.h', | 330             '<(DEPTH)/third_party/webrtc/media/base/videosourcebase.h', | 
|  | 331             '<(DEPTH)/third_party/webrtc/media/engine/simulcast.cc', | 
|  | 332             '<(DEPTH)/third_party/webrtc/media/engine/simulcast.h', | 
| 338             '<(DEPTH)/third_party/webrtc/media/engine/webrtccommon.h', | 333             '<(DEPTH)/third_party/webrtc/media/engine/webrtccommon.h', | 
|  | 334             '<(DEPTH)/third_party/webrtc/media/engine/webrtcmediaengine.cc', | 
|  | 335             '<(DEPTH)/third_party/webrtc/media/engine/webrtcmediaengine.h', | 
|  | 336             '<(DEPTH)/third_party/webrtc/media/engine/webrtcvideoengine2.cc', | 
|  | 337             '<(DEPTH)/third_party/webrtc/media/engine/webrtcvideoengine2.h', | 
| 339             '<(DEPTH)/third_party/webrtc/media/engine/webrtcvideoframe.cc', | 338             '<(DEPTH)/third_party/webrtc/media/engine/webrtcvideoframe.cc', | 
| 340             '<(DEPTH)/third_party/webrtc/media/engine/webrtcvideoframe.h', | 339             '<(DEPTH)/third_party/webrtc/media/engine/webrtcvideoframe.h', | 
| 341             '<(DEPTH)/third_party/webrtc/media/engine/webrtcvideoframefactory.cc
     ', | 340             '<(DEPTH)/third_party/webrtc/media/engine/webrtcvideoframefactory.cc
     ', | 
| 342             '<(DEPTH)/third_party/webrtc/media/engine/webrtcvideoframefactory.h'
     , | 341             '<(DEPTH)/third_party/webrtc/media/engine/webrtcvideoframefactory.h'
     , | 
| 343             '<(DEPTH)/third_party/webrtc/media/engine/webrtcvoe.h', | 342             '<(DEPTH)/third_party/webrtc/media/engine/webrtcvoe.h', | 
|  | 343             '<(DEPTH)/third_party/webrtc/media/engine/webrtcvoiceengine.cc', | 
|  | 344             '<(DEPTH)/third_party/webrtc/media/engine/webrtcvoiceengine.h', | 
| 344             '<(DEPTH)/third_party/webrtc/media/sctp/sctpdataengine.cc', | 345             '<(DEPTH)/third_party/webrtc/media/sctp/sctpdataengine.cc', | 
| 345             '<(DEPTH)/third_party/webrtc/media/sctp/sctpdataengine.h', | 346             '<(DEPTH)/third_party/webrtc/media/sctp/sctpdataengine.h', | 
| 346             '<(DEPTH)/third_party/webrtc/pc/audiomonitor.cc', | 347             '<(DEPTH)/third_party/webrtc/pc/audiomonitor.cc', | 
| 347             '<(DEPTH)/third_party/webrtc/pc/audiomonitor.h', | 348             '<(DEPTH)/third_party/webrtc/pc/audiomonitor.h', | 
| 348             '<(DEPTH)/third_party/webrtc/pc/bundlefilter.cc', | 349             '<(DEPTH)/third_party/webrtc/pc/bundlefilter.cc', | 
| 349             '<(DEPTH)/third_party/webrtc/pc/bundlefilter.h', | 350             '<(DEPTH)/third_party/webrtc/pc/bundlefilter.h', | 
| 350             '<(DEPTH)/third_party/webrtc/pc/channel.cc', | 351             '<(DEPTH)/third_party/webrtc/pc/channel.cc', | 
| 351             '<(DEPTH)/third_party/webrtc/pc/channel.h', | 352             '<(DEPTH)/third_party/webrtc/pc/channel.h', | 
| 352             '<(DEPTH)/third_party/webrtc/pc/channelmanager.cc', | 353             '<(DEPTH)/third_party/webrtc/pc/channelmanager.cc', | 
| 353             '<(DEPTH)/third_party/webrtc/pc/channelmanager.h', | 354             '<(DEPTH)/third_party/webrtc/pc/channelmanager.h', | 
| (...skipping 11 matching lines...) Expand all  Loading... | 
| 365             '<(DEPTH)/third_party/webrtc/pc/srtpfilter.cc', | 366             '<(DEPTH)/third_party/webrtc/pc/srtpfilter.cc', | 
| 366             '<(DEPTH)/third_party/webrtc/pc/srtpfilter.h', | 367             '<(DEPTH)/third_party/webrtc/pc/srtpfilter.h', | 
| 367             '<(DEPTH)/third_party/webrtc/pc/voicechannel.h', | 368             '<(DEPTH)/third_party/webrtc/pc/voicechannel.h', | 
| 368           ], | 369           ], | 
| 369           'dependencies': [ | 370           'dependencies': [ | 
| 370             '<(DEPTH)/third_party/libsrtp/libsrtp.gyp:libsrtp', | 371             '<(DEPTH)/third_party/libsrtp/libsrtp.gyp:libsrtp', | 
| 371             '<(DEPTH)/third_party/usrsctp/usrsctp.gyp:usrsctplib', | 372             '<(DEPTH)/third_party/usrsctp/usrsctp.gyp:usrsctplib', | 
| 372             '<(DEPTH)/third_party/webrtc/modules/modules.gyp:media_file', | 373             '<(DEPTH)/third_party/webrtc/modules/modules.gyp:media_file', | 
| 373             '<(DEPTH)/third_party/webrtc/modules/modules.gyp:video_capture', | 374             '<(DEPTH)/third_party/webrtc/modules/modules.gyp:video_capture', | 
| 374             '<(DEPTH)/third_party/webrtc/modules/modules.gyp:video_render', | 375             '<(DEPTH)/third_party/webrtc/modules/modules.gyp:video_render', | 
|  | 376             '<(DEPTH)/third_party/webrtc/voice_engine/voice_engine.gyp:voice_eng
     ine', | 
|  | 377             '<(DEPTH)/third_party/webrtc/webrtc.gyp:webrtc', | 
| 375             'libjingle', | 378             'libjingle', | 
| 376           ], | 379           ], | 
| 377         },  # target libjingle_webrtc_common | 380         },  # target libjingle_webrtc_common | 
| 378         { | 381         { | 
| 379           # GN version: //third_party/libjingle:libjingle_webrtc | 382           # GN version: //third_party/libjingle:libjingle_webrtc | 
| 380           'target_name': 'libjingle_webrtc', | 383           'target_name': 'libjingle_webrtc', | 
| 381           'type': 'static_library', | 384           'type': 'static_library', | 
| 382           'sources': [ | 385           'sources': [ | 
| 383             'overrides/init_webrtc.cc', | 386             'overrides/init_webrtc.cc', | 
| 384             'overrides/init_webrtc.h', | 387             'overrides/init_webrtc.h', | 
| 385           ], | 388           ], | 
| 386           'dependencies': [ | 389           'dependencies': [ | 
| 387             '<(DEPTH)/third_party/webrtc/modules/modules.gyp:audio_processing', | 390             '<(DEPTH)/third_party/webrtc/modules/modules.gyp:audio_processing', | 
| 388             'libjingle_webrtc_common', | 391             'libjingle_webrtc_common', | 
| 389           ], | 392           ], | 
| 390         }, | 393         }, | 
| 391         { |  | 
| 392           # GN version: //third_party/libjingle:libpeerconnection |  | 
| 393           'target_name': 'libpeerconnection', |  | 
| 394           'type': 'static_library', |  | 
| 395           'sources': [ |  | 
| 396             # Note: sources list duplicated in GN build. |  | 
| 397             '<(DEPTH)/third_party/webrtc/media/engine/simulcast.cc', |  | 
| 398             '<(DEPTH)/third_party/webrtc/media/engine/simulcast.h', |  | 
| 399             '<(DEPTH)/third_party/webrtc/media/engine/webrtcmediaengine.cc', |  | 
| 400             '<(DEPTH)/third_party/webrtc/media/engine/webrtcmediaengine.h', |  | 
| 401             '<(DEPTH)/third_party/webrtc/media/engine/webrtcvideoengine2.cc', |  | 
| 402             '<(DEPTH)/third_party/webrtc/media/engine/webrtcvideoengine2.h', |  | 
| 403             '<(DEPTH)/third_party/webrtc/media/engine/webrtcvoiceengine.cc', |  | 
| 404             '<(DEPTH)/third_party/webrtc/media/engine/webrtcvoiceengine.h', |  | 
| 405           ], |  | 
| 406           'dependencies': [ |  | 
| 407             '<(DEPTH)/third_party/webrtc/voice_engine/voice_engine.gyp:voice_eng
     ine', |  | 
| 408             '<(DEPTH)/third_party/webrtc/webrtc.gyp:webrtc', |  | 
| 409             '<@(libjingle_peerconnection_additional_deps)', |  | 
| 410             'libjingle_webrtc_common', |  | 
| 411           ], |  | 
| 412         },  # target libpeerconnection |  | 
| 413       ], | 394       ], | 
| 414     }], | 395     }], | 
| 415   ], | 396   ], | 
| 416 } | 397 } | 
| OLD | NEW | 
|---|