Chromium Code Reviews| 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_SRTP', | 18 'HAVE_SRTP', |
| 25 'HAVE_WEBRTC_VIDEO', | 19 'HAVE_WEBRTC_VIDEO', |
| 26 'HAVE_WEBRTC_VOICE', | 20 'HAVE_WEBRTC_VOICE', |
| 27 'LOGGING_INSIDE_WEBRTC', | 21 'LOGGING_INSIDE_WEBRTC', |
| 28 'NO_MAIN_THREAD_WRAPPING', | 22 'NO_MAIN_THREAD_WRAPPING', |
| 29 'NO_SOUND_SYSTEM', | 23 'NO_SOUND_SYSTEM', |
| 30 'SRTP_RELATIVE_PATH', | 24 'SRTP_RELATIVE_PATH', |
| 31 'SSL_USE_OPENSSL', | 25 'SSL_USE_OPENSSL', |
| 32 'USE_WEBRTC_DEV_BRANCH', | 26 'USE_WEBRTC_DEV_BRANCH', |
| 33 'WEBRTC_CHROMIUM_BUILD', | 27 'WEBRTC_CHROMIUM_BUILD', |
| 34 ], | 28 ], |
| 35 'include_dirs': [ | 29 'include_dirs': [ |
| 36 './overrides', | 30 './overrides', |
| 37 '../../third_party/webrtc_overrides', | 31 '../../third_party/webrtc_overrides', |
| 38 './<(libjingle_source)', | 32 './source', |
| 39 '../..', | 33 '../..', |
| 40 '../../testing/gtest/include', | 34 '../../testing/gtest/include', |
| 41 '../../third_party', | 35 '../../third_party', |
| 42 '../../third_party/libyuv/include', | 36 '../../third_party/libyuv/include', |
| 43 '../../third_party/usrsctp/usrsctplib', | 37 '../../third_party/usrsctp/usrsctplib', |
| 44 ], | 38 ], |
| 45 # These dependencies have been translated into :jingle_deps in the GN build. | 39 # These dependencies have been translated into :jingle_deps in the GN build. |
| 46 'dependencies': [ | 40 'dependencies': [ |
| 47 '<(DEPTH)/base/base.gyp:base', | 41 '<(DEPTH)/base/base.gyp:base', |
| 48 '<(DEPTH)/net/net.gyp:net', | 42 '<(DEPTH)/net/net.gyp:net', |
| 49 '<(DEPTH)/third_party/boringssl/boringssl.gyp:boringssl', | 43 '<(DEPTH)/third_party/boringssl/boringssl.gyp:boringssl', |
| 50 '<(DEPTH)/third_party/expat/expat.gyp:expat', | 44 '<(DEPTH)/third_party/expat/expat.gyp:expat', |
| 51 ], | 45 ], |
| 52 'export_dependent_settings': [ | 46 'export_dependent_settings': [ |
| 53 '<(DEPTH)/third_party/expat/expat.gyp:expat', | 47 '<(DEPTH)/third_party/expat/expat.gyp:expat', |
| 54 ], | 48 ], |
| 55 'direct_dependent_settings': { | 49 'direct_dependent_settings': { |
| 56 'include_dirs': [ | 50 'include_dirs': [ |
| 57 '../../third_party/webrtc_overrides', | 51 '../../third_party/webrtc_overrides', |
| 58 './overrides', | 52 './overrides', |
| 59 './<(libjingle_source)', | 53 './source', |
| 60 '../..', | 54 '../..', |
| 61 '../../testing/gtest/include', | 55 '../../testing/gtest/include', |
| 62 '../../third_party', | 56 '../../third_party', |
| 63 ], | 57 ], |
| 64 'defines': [ | 58 'defines': [ |
| 65 'FEATURE_ENABLE_SSL', | 59 'FEATURE_ENABLE_SSL', |
| 66 'FEATURE_ENABLE_VOICEMAIL', | 60 'FEATURE_ENABLE_VOICEMAIL', |
| 67 'EXPAT_RELATIVE_PATH', | 61 'EXPAT_RELATIVE_PATH', |
| 68 'GTEST_RELATIVE_PATH', | 62 'GTEST_RELATIVE_PATH', |
| 69 'NO_MAIN_THREAD_WRAPPING', | 63 'NO_MAIN_THREAD_WRAPPING', |
| (...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 212 }, | 206 }, |
| 213 'targets': [ | 207 'targets': [ |
| 214 # GN version: //third_party/libjingle | 208 # GN version: //third_party/libjingle |
| 215 { | 209 { |
| 216 'target_name': 'libjingle', | 210 'target_name': 'libjingle', |
| 217 'type': 'static_library', | 211 'type': 'static_library', |
| 218 'includes': [ 'libjingle_common.gypi' ], | 212 'includes': [ 'libjingle_common.gypi' ], |
| 219 'dependencies': [ | 213 'dependencies': [ |
| 220 '<(DEPTH)/third_party/webrtc/base/base.gyp:rtc_base', | 214 '<(DEPTH)/third_party/webrtc/base/base.gyp:rtc_base', |
| 221 '<(DEPTH)/third_party/webrtc/libjingle/xmllite/xmllite.gyp:rtc_xmllite', | 215 '<(DEPTH)/third_party/webrtc/libjingle/xmllite/xmllite.gyp:rtc_xmllite', |
| 222 '<@(libjingle_additional_deps)', | |
| 223 ], | 216 ], |
| 224 }, # target libjingle | 217 }, # target libjingle |
| 225 ], | 218 ], |
| 226 'conditions': [ | 219 'conditions': [ |
| 227 ['enable_webrtc==1', { | 220 ['enable_webrtc==1', { |
| 228 'targets': [ | 221 'targets': [ |
| 229 { | 222 { |
| 230 # GN version: //third_party/libjingle:libjingle_webrtc_common | 223 # GN version: //third_party/libjingle:libjingle_webrtc_common |
| 231 'target_name': 'libjingle_webrtc_common', | 224 'target_name': 'libjingle_webrtc_common', |
| 232 'type': 'static_library', | 225 'type': 'static_library', |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 334 '<(DEPTH)/third_party/webrtc/media/base/videocapturer.cc', | 327 '<(DEPTH)/third_party/webrtc/media/base/videocapturer.cc', |
| 335 '<(DEPTH)/third_party/webrtc/media/base/videocapturer.h', | 328 '<(DEPTH)/third_party/webrtc/media/base/videocapturer.h', |
| 336 '<(DEPTH)/third_party/webrtc/media/base/videocommon.cc', | 329 '<(DEPTH)/third_party/webrtc/media/base/videocommon.cc', |
| 337 '<(DEPTH)/third_party/webrtc/media/base/videocommon.h', | 330 '<(DEPTH)/third_party/webrtc/media/base/videocommon.h', |
| 338 '<(DEPTH)/third_party/webrtc/media/base/videoframe.cc', | 331 '<(DEPTH)/third_party/webrtc/media/base/videoframe.cc', |
| 339 '<(DEPTH)/third_party/webrtc/media/base/videoframe.h', | 332 '<(DEPTH)/third_party/webrtc/media/base/videoframe.h', |
| 340 '<(DEPTH)/third_party/webrtc/media/base/videoframefactory.cc', | 333 '<(DEPTH)/third_party/webrtc/media/base/videoframefactory.cc', |
| 341 '<(DEPTH)/third_party/webrtc/media/base/videoframefactory.h', | 334 '<(DEPTH)/third_party/webrtc/media/base/videoframefactory.h', |
| 342 '<(DEPTH)/third_party/webrtc/media/base/videosourcebase.cc', | 335 '<(DEPTH)/third_party/webrtc/media/base/videosourcebase.cc', |
| 343 '<(DEPTH)/third_party/webrtc/media/base/videosourcebase.h', | 336 '<(DEPTH)/third_party/webrtc/media/base/videosourcebase.h', |
| 337 '<(DEPTH)/third_party/webrtc/media/engine/simulcast.cc', | |
| 338 '<(DEPTH)/third_party/webrtc/media/engine/simulcast.h', | |
| 344 '<(DEPTH)/third_party/webrtc/media/engine/webrtccommon.h', | 339 '<(DEPTH)/third_party/webrtc/media/engine/webrtccommon.h', |
| 340 '<(DEPTH)/third_party/webrtc/media/engine/webrtcmediaengine.cc', | |
| 341 '<(DEPTH)/third_party/webrtc/media/engine/webrtcmediaengine.h', | |
| 342 '<(DEPTH)/third_party/webrtc/media/engine/webrtcvideoengine2.cc', | |
| 343 '<(DEPTH)/third_party/webrtc/media/engine/webrtcvideoengine2.h', | |
| 345 '<(DEPTH)/third_party/webrtc/media/engine/webrtcvideoframe.cc', | 344 '<(DEPTH)/third_party/webrtc/media/engine/webrtcvideoframe.cc', |
| 346 '<(DEPTH)/third_party/webrtc/media/engine/webrtcvideoframe.h', | 345 '<(DEPTH)/third_party/webrtc/media/engine/webrtcvideoframe.h', |
| 347 '<(DEPTH)/third_party/webrtc/media/engine/webrtcvideoframefactory.cc ', | 346 '<(DEPTH)/third_party/webrtc/media/engine/webrtcvideoframefactory.cc ', |
| 348 '<(DEPTH)/third_party/webrtc/media/engine/webrtcvideoframefactory.h' , | 347 '<(DEPTH)/third_party/webrtc/media/engine/webrtcvideoframefactory.h' , |
| 349 '<(DEPTH)/third_party/webrtc/media/engine/webrtcvoe.h', | 348 '<(DEPTH)/third_party/webrtc/media/engine/webrtcvoe.h', |
| 349 '<(DEPTH)/third_party/webrtc/media/engine/webrtcvoiceengine.cc', | |
| 350 '<(DEPTH)/third_party/webrtc/media/engine/webrtcvoiceengine.h', | |
| 350 '<(DEPTH)/third_party/webrtc/pc/audiomonitor.cc', | 351 '<(DEPTH)/third_party/webrtc/pc/audiomonitor.cc', |
| 351 '<(DEPTH)/third_party/webrtc/pc/audiomonitor.h', | 352 '<(DEPTH)/third_party/webrtc/pc/audiomonitor.h', |
| 352 '<(DEPTH)/third_party/webrtc/pc/bundlefilter.cc', | 353 '<(DEPTH)/third_party/webrtc/pc/bundlefilter.cc', |
| 353 '<(DEPTH)/third_party/webrtc/pc/bundlefilter.h', | 354 '<(DEPTH)/third_party/webrtc/pc/bundlefilter.h', |
| 354 '<(DEPTH)/third_party/webrtc/pc/channel.cc', | 355 '<(DEPTH)/third_party/webrtc/pc/channel.cc', |
| 355 '<(DEPTH)/third_party/webrtc/pc/channel.h', | 356 '<(DEPTH)/third_party/webrtc/pc/channel.h', |
| 356 '<(DEPTH)/third_party/webrtc/pc/channelmanager.cc', | 357 '<(DEPTH)/third_party/webrtc/pc/channelmanager.cc', |
| 357 '<(DEPTH)/third_party/webrtc/pc/channelmanager.h', | 358 '<(DEPTH)/third_party/webrtc/pc/channelmanager.h', |
| 358 '<(DEPTH)/third_party/webrtc/pc/currentspeakermonitor.cc', | 359 '<(DEPTH)/third_party/webrtc/pc/currentspeakermonitor.cc', |
| 359 '<(DEPTH)/third_party/webrtc/pc/currentspeakermonitor.h', | 360 '<(DEPTH)/third_party/webrtc/pc/currentspeakermonitor.h', |
| 360 '<(DEPTH)/third_party/webrtc/pc/externalhmac.cc', | 361 '<(DEPTH)/third_party/webrtc/pc/externalhmac.cc', |
| 361 '<(DEPTH)/third_party/webrtc/pc/externalhmac.h', | 362 '<(DEPTH)/third_party/webrtc/pc/externalhmac.h', |
| 362 '<(DEPTH)/third_party/webrtc/pc/mediamonitor.cc', | 363 '<(DEPTH)/third_party/webrtc/pc/mediamonitor.cc', |
| 363 '<(DEPTH)/third_party/webrtc/pc/mediamonitor.h', | 364 '<(DEPTH)/third_party/webrtc/pc/mediamonitor.h', |
| 364 '<(DEPTH)/third_party/webrtc/pc/mediasession.cc', | 365 '<(DEPTH)/third_party/webrtc/pc/mediasession.cc', |
| 365 '<(DEPTH)/third_party/webrtc/pc/mediasession.h', | 366 '<(DEPTH)/third_party/webrtc/pc/mediasession.h', |
| 366 '<(DEPTH)/third_party/webrtc/pc/mediasink.h', | 367 '<(DEPTH)/third_party/webrtc/pc/mediasink.h', |
| 367 '<(DEPTH)/third_party/webrtc/pc/rtcpmuxfilter.cc', | 368 '<(DEPTH)/third_party/webrtc/pc/rtcpmuxfilter.cc', |
| 368 '<(DEPTH)/third_party/webrtc/pc/rtcpmuxfilter.h', | 369 '<(DEPTH)/third_party/webrtc/pc/rtcpmuxfilter.h', |
| 369 '<(DEPTH)/third_party/webrtc/pc/srtpfilter.cc', | 370 '<(DEPTH)/third_party/webrtc/pc/srtpfilter.cc', |
| 370 '<(DEPTH)/third_party/webrtc/pc/srtpfilter.h', | 371 '<(DEPTH)/third_party/webrtc/pc/srtpfilter.h', |
| 371 '<(DEPTH)/third_party/webrtc/pc/voicechannel.h', | 372 '<(DEPTH)/third_party/webrtc/pc/voicechannel.h', |
| 373 | |
|
tommi (sloooow) - chröme
2016/03/17 20:49:17
nit: remove
kjellander_chromium
2016/03/17 20:55:15
Oops, done in PS#2.
| |
| 372 ], | 374 ], |
| 373 'conditions': [ | 375 'conditions': [ |
| 374 # TODO(mallinath) - Enable SCTP for iOS. | 376 # TODO(mallinath) - Enable SCTP for iOS. |
| 375 ['OS!="ios"', { | 377 ['OS!="ios"', { |
| 376 'defines': [ | 378 'defines': [ |
| 377 'HAVE_SCTP', | 379 'HAVE_SCTP', |
| 378 ], | 380 ], |
| 379 'sources': [ | 381 'sources': [ |
| 380 '<(DEPTH)/third_party/webrtc/media/sctp/sctpdataengine.cc', | 382 '<(DEPTH)/third_party/webrtc/media/sctp/sctpdataengine.cc', |
| 381 '<(DEPTH)/third_party/webrtc/media/sctp/sctpdataengine.h', | 383 '<(DEPTH)/third_party/webrtc/media/sctp/sctpdataengine.h', |
| 382 ], | 384 ], |
| 383 'dependencies': [ | 385 'dependencies': [ |
| 384 '<(DEPTH)/third_party/usrsctp/usrsctp.gyp:usrsctplib', | 386 '<(DEPTH)/third_party/usrsctp/usrsctp.gyp:usrsctplib', |
| 385 ], | 387 ], |
| 386 }], | 388 }], |
| 387 ], | 389 ], |
| 388 'dependencies': [ | 390 'dependencies': [ |
| 389 '<(DEPTH)/third_party/libsrtp/libsrtp.gyp:libsrtp', | 391 '<(DEPTH)/third_party/libsrtp/libsrtp.gyp:libsrtp', |
| 390 '<(DEPTH)/third_party/webrtc/modules/modules.gyp:media_file', | 392 '<(DEPTH)/third_party/webrtc/modules/modules.gyp:media_file', |
| 391 '<(DEPTH)/third_party/webrtc/modules/modules.gyp:video_capture', | 393 '<(DEPTH)/third_party/webrtc/modules/modules.gyp:video_capture', |
| 392 '<(DEPTH)/third_party/webrtc/modules/modules.gyp:video_render', | 394 '<(DEPTH)/third_party/webrtc/modules/modules.gyp:video_render', |
| 395 '<(DEPTH)/third_party/webrtc/voice_engine/voice_engine.gyp:voice_eng ine', | |
| 396 '<(DEPTH)/third_party/webrtc/webrtc.gyp:webrtc', | |
| 393 'libjingle', | 397 'libjingle', |
| 394 ], | 398 ], |
| 395 }, # target libjingle_webrtc_common | 399 }, # target libjingle_webrtc_common |
| 396 { | 400 { |
| 397 # GN version: //third_party/libjingle:libjingle_webrtc | 401 # GN version: //third_party/libjingle:libjingle_webrtc |
| 398 'target_name': 'libjingle_webrtc', | 402 'target_name': 'libjingle_webrtc', |
| 399 'type': 'static_library', | 403 'type': 'static_library', |
| 400 'sources': [ | 404 'sources': [ |
| 401 'overrides/init_webrtc.cc', | 405 'overrides/init_webrtc.cc', |
| 402 'overrides/init_webrtc.h', | 406 'overrides/init_webrtc.h', |
| 403 ], | 407 ], |
| 404 'dependencies': [ | 408 'dependencies': [ |
| 405 '<(DEPTH)/third_party/webrtc/modules/modules.gyp:audio_processing', | 409 '<(DEPTH)/third_party/webrtc/modules/modules.gyp:audio_processing', |
| 406 'libjingle_webrtc_common', | 410 'libjingle_webrtc_common', |
| 407 ], | 411 ], |
| 408 }, | 412 }, |
| 409 { | |
| 410 # GN version: //third_party/libjingle:libpeerconnection | |
| 411 'target_name': 'libpeerconnection', | |
| 412 'type': 'static_library', | |
| 413 'sources': [ | |
| 414 # Note: sources list duplicated in GN build. | |
| 415 '<(DEPTH)/third_party/webrtc/media/engine/simulcast.cc', | |
| 416 '<(DEPTH)/third_party/webrtc/media/engine/simulcast.h', | |
| 417 '<(DEPTH)/third_party/webrtc/media/engine/webrtcmediaengine.cc', | |
| 418 '<(DEPTH)/third_party/webrtc/media/engine/webrtcmediaengine.h', | |
| 419 '<(DEPTH)/third_party/webrtc/media/engine/webrtcvideoengine2.cc', | |
| 420 '<(DEPTH)/third_party/webrtc/media/engine/webrtcvideoengine2.h', | |
| 421 '<(DEPTH)/third_party/webrtc/media/engine/webrtcvoiceengine.cc', | |
| 422 '<(DEPTH)/third_party/webrtc/media/engine/webrtcvoiceengine.h', | |
| 423 ], | |
| 424 'dependencies': [ | |
| 425 '<(DEPTH)/third_party/webrtc/voice_engine/voice_engine.gyp:voice_eng ine', | |
| 426 '<(DEPTH)/third_party/webrtc/webrtc.gyp:webrtc', | |
| 427 '<@(libjingle_peerconnection_additional_deps)', | |
| 428 'libjingle_webrtc_common', | |
| 429 ], | |
| 430 }, # target libpeerconnection | |
| 431 ], | 413 ], |
| 432 }], | 414 }], |
| 433 ], | 415 ], |
| 434 } | 416 } |
| OLD | NEW |