OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 import("//build/config/features.gni") | 5 import("//build/config/features.gni") |
6 | 6 |
7 # From third_party/libjingle/libjingle.gyp's target_defaults. | 7 # From third_party/libjingle/libjingle.gyp's target_defaults. |
8 config("jingle_unexported_configs") { | 8 config("jingle_unexported_configs") { |
9 defines = [ | 9 defines = [ |
10 "EXPAT_RELATIVE_PATH", | 10 "EXPAT_RELATIVE_PATH", |
(...skipping 351 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
362 "../webrtc/media/base/videocapturer.cc", | 362 "../webrtc/media/base/videocapturer.cc", |
363 "../webrtc/media/base/videocapturer.h", | 363 "../webrtc/media/base/videocapturer.h", |
364 "../webrtc/media/base/videocommon.cc", | 364 "../webrtc/media/base/videocommon.cc", |
365 "../webrtc/media/base/videocommon.h", | 365 "../webrtc/media/base/videocommon.h", |
366 "../webrtc/media/base/videoframe.cc", | 366 "../webrtc/media/base/videoframe.cc", |
367 "../webrtc/media/base/videoframe.h", | 367 "../webrtc/media/base/videoframe.h", |
368 "../webrtc/media/base/videoframefactory.cc", | 368 "../webrtc/media/base/videoframefactory.cc", |
369 "../webrtc/media/base/videoframefactory.h", | 369 "../webrtc/media/base/videoframefactory.h", |
370 "../webrtc/media/base/videosourcebase.cc", | 370 "../webrtc/media/base/videosourcebase.cc", |
371 "../webrtc/media/base/videosourcebase.h", | 371 "../webrtc/media/base/videosourcebase.h", |
| 372 "../webrtc/media/engine/simulcast.cc", |
| 373 "../webrtc/media/engine/simulcast.h", |
372 "../webrtc/media/engine/webrtccommon.h", | 374 "../webrtc/media/engine/webrtccommon.h", |
| 375 "../webrtc/media/engine/webrtcmediaengine.cc", |
| 376 "../webrtc/media/engine/webrtcmediaengine.h", |
| 377 "../webrtc/media/engine/webrtcvideoengine2.cc", |
| 378 "../webrtc/media/engine/webrtcvideoengine2.h", |
373 "../webrtc/media/engine/webrtcvideoframe.cc", | 379 "../webrtc/media/engine/webrtcvideoframe.cc", |
374 "../webrtc/media/engine/webrtcvideoframe.h", | 380 "../webrtc/media/engine/webrtcvideoframe.h", |
375 "../webrtc/media/engine/webrtcvideoframefactory.cc", | 381 "../webrtc/media/engine/webrtcvideoframefactory.cc", |
376 "../webrtc/media/engine/webrtcvideoframefactory.h", | 382 "../webrtc/media/engine/webrtcvideoframefactory.h", |
377 "../webrtc/media/engine/webrtcvoe.h", | 383 "../webrtc/media/engine/webrtcvoe.h", |
| 384 "../webrtc/media/engine/webrtcvoiceengine.cc", |
| 385 "../webrtc/media/engine/webrtcvoiceengine.h", |
378 "../webrtc/pc/audiomonitor.cc", | 386 "../webrtc/pc/audiomonitor.cc", |
379 "../webrtc/pc/audiomonitor.h", | 387 "../webrtc/pc/audiomonitor.h", |
380 "../webrtc/pc/bundlefilter.cc", | 388 "../webrtc/pc/bundlefilter.cc", |
381 "../webrtc/pc/bundlefilter.h", | 389 "../webrtc/pc/bundlefilter.h", |
382 "../webrtc/pc/channel.cc", | 390 "../webrtc/pc/channel.cc", |
383 "../webrtc/pc/channel.h", | 391 "../webrtc/pc/channel.h", |
384 "../webrtc/pc/channelmanager.cc", | 392 "../webrtc/pc/channelmanager.cc", |
385 "../webrtc/pc/channelmanager.h", | 393 "../webrtc/pc/channelmanager.h", |
386 "../webrtc/pc/currentspeakermonitor.cc", | 394 "../webrtc/pc/currentspeakermonitor.cc", |
387 "../webrtc/pc/currentspeakermonitor.h", | 395 "../webrtc/pc/currentspeakermonitor.h", |
(...skipping 13 matching lines...) Expand all Loading... |
401 | 409 |
402 configs -= [ "//build/config/compiler:chromium_code" ] | 410 configs -= [ "//build/config/compiler:chromium_code" ] |
403 configs += [ "//build/config/compiler:no_chromium_code" ] | 411 configs += [ "//build/config/compiler:no_chromium_code" ] |
404 | 412 |
405 configs += [ ":jingle_unexported_configs" ] | 413 configs += [ ":jingle_unexported_configs" ] |
406 public_configs = [ ":jingle_public_configs" ] | 414 public_configs = [ ":jingle_public_configs" ] |
407 | 415 |
408 deps = [ | 416 deps = [ |
409 ":libjingle", | 417 ":libjingle", |
410 "//third_party/libsrtp", | 418 "//third_party/libsrtp", |
| 419 "//third_party/webrtc", |
411 "//third_party/webrtc/modules/media_file", | 420 "//third_party/webrtc/modules/media_file", |
412 "//third_party/webrtc/modules/video_capture", | 421 "//third_party/webrtc/modules/video_capture", |
413 "//third_party/webrtc/modules/video_render", | 422 "//third_party/webrtc/modules/video_render", |
| 423 "//third_party/webrtc/system_wrappers", |
| 424 "//third_party/webrtc/voice_engine", |
414 ] | 425 ] |
415 | 426 |
416 if (!is_ios) { | 427 if (!is_ios) { |
417 # TODO(mallinath) - Enable SCTP for iOS. | 428 # TODO(mallinath) - Enable SCTP for iOS. |
418 sources += [ | 429 sources += [ |
419 "../webrtc/media/sctp/sctpdataengine.cc", | 430 "../webrtc/media/sctp/sctpdataengine.cc", |
420 "../webrtc/media/sctp/sctpdataengine.h", | 431 "../webrtc/media/sctp/sctpdataengine.h", |
421 ] | 432 ] |
422 defines = [ "HAVE_SCTP" ] | 433 defines = [ "HAVE_SCTP" ] |
423 deps += [ "//third_party/usrsctp" ] | 434 deps += [ "//third_party/usrsctp" ] |
424 } | 435 } |
425 } | 436 } |
426 | 437 |
427 source_set("libpeerconnection") { | |
428 sources = [ | |
429 "../webrtc/media/engine/simulcast.cc", | |
430 "../webrtc/media/engine/simulcast.h", | |
431 "../webrtc/media/engine/webrtcmediaengine.cc", | |
432 "../webrtc/media/engine/webrtcmediaengine.h", | |
433 "../webrtc/media/engine/webrtcvideoengine2.cc", | |
434 "../webrtc/media/engine/webrtcvideoengine2.h", | |
435 "../webrtc/media/engine/webrtcvoiceengine.cc", | |
436 "../webrtc/media/engine/webrtcvoiceengine.h", | |
437 ] | |
438 | |
439 configs += [ ":jingle_unexported_configs" ] | |
440 public_configs = [ ":jingle_public_configs" ] | |
441 configs -= [ "//build/config/compiler:chromium_code" ] | |
442 configs += [ "//build/config/compiler:no_chromium_code" ] | |
443 | |
444 deps = [ | |
445 # TODO(GYP): crbug.com/481633. Consider depending on :libjingle_webrtc | |
446 # instead. | |
447 ":libjingle_webrtc_common", | |
448 "//third_party/webrtc", | |
449 "//third_party/webrtc/system_wrappers", | |
450 "//third_party/webrtc/voice_engine", | |
451 ] | |
452 } | |
453 | |
454 source_set("libstunprober") { | 438 source_set("libstunprober") { |
455 p2p_dir = "../webrtc/p2p" | 439 p2p_dir = "../webrtc/p2p" |
456 sources = [ | 440 sources = [ |
457 "$p2p_dir/stunprober/stunprober.cc", | 441 "$p2p_dir/stunprober/stunprober.cc", |
458 ] | 442 ] |
459 | 443 |
460 deps = [ | 444 deps = [ |
461 ":libjingle_webrtc_common", | 445 ":libjingle_webrtc_common", |
462 "//third_party/webrtc/base:rtc_base", | 446 "//third_party/webrtc/base:rtc_base", |
463 ] | 447 ] |
464 } | 448 } |
465 } # enable_webrtc | 449 } # enable_webrtc |
466 # TODO(GYP): Port libjingle.gyp's enable_webrtc condition block. | 450 # TODO(GYP): Port libjingle.gyp's enable_webrtc condition block. |
OLD | NEW |