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