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