2014-06-23 19:21:07 +00:00
|
|
|
# Copyright (c) 2014 The WebRTC project authors. All Rights Reserved.
|
|
|
|
|
#
|
|
|
|
|
# Use of this source code is governed by a BSD-style license
|
|
|
|
|
# that can be found in the LICENSE file in the root of the source
|
|
|
|
|
# tree. An additional intellectual property rights grant can be found
|
|
|
|
|
# in the file PATENTS. All contributing project authors may
|
|
|
|
|
# be found in the AUTHORS file in the root of the source tree.
|
|
|
|
|
|
2017-01-24 06:58:22 -08:00
|
|
|
import("../webrtc.gni")
|
2014-06-23 19:21:07 +00:00
|
|
|
|
2017-01-10 01:12:51 -08:00
|
|
|
rtc_static_library("audio_coder") {
|
|
|
|
|
sources = [
|
|
|
|
|
"coder.cc",
|
|
|
|
|
"coder.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
"..:webrtc_common",
|
2017-02-10 08:15:44 -08:00
|
|
|
"../api/audio_codecs:builtin_audio_decoder_factory",
|
2017-04-26 03:38:35 -07:00
|
|
|
"../modules:module_api",
|
2017-01-10 01:12:51 -08:00
|
|
|
"../modules/audio_coding",
|
2017-04-06 10:03:21 -07:00
|
|
|
"../modules/audio_coding:audio_encoder_factory_interface",
|
2017-01-10 01:12:51 -08:00
|
|
|
"../modules/audio_coding:audio_format_conversion",
|
2017-04-06 10:03:21 -07:00
|
|
|
"../modules/audio_coding:builtin_audio_encoder_factory",
|
2017-01-10 01:12:51 -08:00
|
|
|
"../modules/audio_coding:rent_a_codec",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
if (!build_with_chromium && is_clang) {
|
|
|
|
|
# Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
|
|
|
|
|
suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
rtc_static_library("file_player") {
|
|
|
|
|
sources = [
|
|
|
|
|
"file_player.cc",
|
|
|
|
|
"file_player.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
":audio_coder",
|
|
|
|
|
"..:webrtc_common",
|
2017-04-05 05:00:33 -07:00
|
|
|
"../base:rtc_base_approved",
|
2017-01-10 01:12:51 -08:00
|
|
|
"../common_audio",
|
2017-04-26 03:38:35 -07:00
|
|
|
"../modules:module_api",
|
2017-01-10 01:12:51 -08:00
|
|
|
"../modules/media_file",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
if (!build_with_chromium && is_clang) {
|
|
|
|
|
# Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
|
|
|
|
|
suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
rtc_static_library("file_recorder") {
|
|
|
|
|
sources = [
|
|
|
|
|
"file_recorder.cc",
|
|
|
|
|
"file_recorder.h",
|
|
|
|
|
]
|
|
|
|
|
deps = [
|
|
|
|
|
":audio_coder",
|
|
|
|
|
"..:webrtc_common",
|
|
|
|
|
"../base:rtc_base_approved",
|
|
|
|
|
"../common_audio",
|
2017-04-26 03:38:35 -07:00
|
|
|
"../modules:module_api",
|
2017-01-10 01:12:51 -08:00
|
|
|
"../modules/media_file:media_file",
|
|
|
|
|
"../system_wrappers",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
if (!build_with_chromium && is_clang) {
|
|
|
|
|
# Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
|
|
|
|
|
suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2016-09-23 00:38:52 -07:00
|
|
|
rtc_static_library("voice_engine") {
|
2014-08-31 20:32:53 +00:00
|
|
|
sources = [
|
2015-05-25 12:55:39 +02:00
|
|
|
"channel.cc",
|
|
|
|
|
"channel.h",
|
|
|
|
|
"channel_manager.cc",
|
|
|
|
|
"channel_manager.h",
|
2015-11-25 08:16:52 -08:00
|
|
|
"channel_proxy.cc",
|
|
|
|
|
"channel_proxy.h",
|
2014-08-31 20:32:53 +00:00
|
|
|
"include/voe_base.h",
|
|
|
|
|
"include/voe_codec.h",
|
|
|
|
|
"include/voe_errors.h",
|
|
|
|
|
"include/voe_file.h",
|
|
|
|
|
"include/voe_network.h",
|
|
|
|
|
"include/voe_rtp_rtcp.h",
|
|
|
|
|
"monitor_module.h",
|
|
|
|
|
"output_mixer.cc",
|
|
|
|
|
"output_mixer.h",
|
|
|
|
|
"shared_data.cc",
|
|
|
|
|
"shared_data.h",
|
|
|
|
|
"statistics.cc",
|
|
|
|
|
"statistics.h",
|
|
|
|
|
"transmit_mixer.cc",
|
|
|
|
|
"transmit_mixer.h",
|
2017-01-23 08:07:05 -08:00
|
|
|
"transport_feedback_packet_loss_tracker.cc",
|
|
|
|
|
"transport_feedback_packet_loss_tracker.h",
|
2014-08-31 20:32:53 +00:00
|
|
|
"utility.cc",
|
|
|
|
|
"utility.h",
|
|
|
|
|
"voe_base_impl.cc",
|
|
|
|
|
"voe_base_impl.h",
|
|
|
|
|
"voe_codec_impl.cc",
|
|
|
|
|
"voe_codec_impl.h",
|
|
|
|
|
"voe_file_impl.cc",
|
|
|
|
|
"voe_file_impl.h",
|
|
|
|
|
"voe_network_impl.cc",
|
|
|
|
|
"voe_network_impl.h",
|
|
|
|
|
"voe_rtp_rtcp_impl.cc",
|
|
|
|
|
"voe_rtp_rtcp_impl.h",
|
|
|
|
|
"voice_engine_defines.h",
|
|
|
|
|
"voice_engine_impl.cc",
|
|
|
|
|
"voice_engine_impl.h",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
if (is_win) {
|
|
|
|
|
defines = [ "WEBRTC_DRIFT_COMPENSATION_SUPPORTED" ]
|
2015-01-08 21:22:01 +00:00
|
|
|
|
|
|
|
|
cflags = [
|
|
|
|
|
# TODO(kjellander): Bug 261: fix this warning.
|
2016-07-08 02:12:55 -07:00
|
|
|
"/wd4373", # Virtual function override.
|
2015-01-08 21:22:01 +00:00
|
|
|
]
|
2014-08-31 20:32:53 +00:00
|
|
|
}
|
|
|
|
|
|
2016-10-16 23:56:12 -07:00
|
|
|
if (!build_with_chromium && is_clang) {
|
|
|
|
|
# Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
|
2016-09-02 04:10:34 -07:00
|
|
|
suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
|
2014-08-31 20:32:53 +00:00
|
|
|
}
|
|
|
|
|
|
2016-09-09 05:32:14 -07:00
|
|
|
public_deps = [
|
|
|
|
|
"../modules/audio_coding",
|
|
|
|
|
]
|
2014-08-31 20:32:53 +00:00
|
|
|
deps = [
|
2017-03-07 01:58:55 -08:00
|
|
|
":audio_level",
|
2017-01-10 01:12:51 -08:00
|
|
|
":file_player",
|
|
|
|
|
":file_recorder",
|
2015-02-26 13:59:22 +00:00
|
|
|
"..:webrtc_common",
|
2016-10-20 06:32:39 -07:00
|
|
|
"../api:audio_mixer_api",
|
2016-08-31 07:33:05 -07:00
|
|
|
"../api:call_api",
|
Reland of Implemented the GetSources() in native code. (patchset #1 id:1 of https://codereview.webrtc.org/2809613002/ )
Reason for revert:
Re-land, reverting did not fix bug.
https://bugs.chromium.org/p/webrtc/issues/detail?id=7465
Original issue's description:
> Revert of Implemented the GetSources() in native code. (patchset #11 id:510001 of https://codereview.webrtc.org/2770233003/ )
>
> Reason for revert:
> Suspected of WebRtcApprtcBrowserTest.MANUAL_WorksOnApprtc breakage, see
>
> https://bugs.chromium.org/p/webrtc/issues/detail?id=7465
>
> Original issue's description:
> > Added the GetSources() to the RtpReceiverInterface and implemented
> > it for the AudioRtpReceiver.
> >
> > This method returns a vector of RtpSource(both CSRC source and SSRC
> > source) which contains the ID of a source, the timestamp, the source
> > type (SSRC or CSRC) and the audio level.
> >
> > The RtpSource objects are buffered and maintained by the
> > RtpReceiver in webrtc/modules/rtp_rtcp/. When the method is called,
> > the info of the contributing source will be pulled along the object
> > chain:
> > AudioRtpReceiver -> VoiceChannel -> WebRtcVoiceMediaChannel ->
> > AudioReceiveStream -> voe::Channel -> RtpRtcp module
> >
> > Spec:https://w3c.github.io/webrtc-pc/archives/20151006/webrtc.html#widl-RTCRtpReceiver-getContributingSources-sequence-RTCRtpContributingSource
> >
> > BUG=chromium:703122
> > TBR=stefan@webrtc.org, danilchap@webrtc.org
> >
> > Review-Url: https://codereview.webrtc.org/2770233003
> > Cr-Commit-Position: refs/heads/master@{#17591}
> > Committed: https://chromium.googlesource.com/external/webrtc/+/292084c3765d9f3ee406ca2ec86eae206b540053
>
> TBR=deadbeef@webrtc.org,solenberg@webrtc.org,hbos@webrtc.org,philipel@webrtc.org,stefan@webrtc.org,danilchap@webrtc.org,zhihuang@webrtc.org
> # Not skipping CQ checks because original CL landed more than 1 days ago.
> BUG=chromium:703122
>
> Review-Url: https://codereview.webrtc.org/2809613002
> Cr-Commit-Position: refs/heads/master@{#17616}
> Committed: https://chromium.googlesource.com/external/webrtc/+/fbcc5cb3869d1370008e40f24fc03ac8fb69c675
TBR=deadbeef@webrtc.org,solenberg@webrtc.org,philipel@webrtc.org,stefan@webrtc.org,danilchap@webrtc.org,zhihuang@webrtc.org,olka@webrtc.org
# Skipping CQ checks because original CL landed less than 1 days ago.
NOPRESUBMIT=true
NOTREECHECKS=true
NOTRY=true
BUG=chromium:703122
Review-Url: https://codereview.webrtc.org/2810623003
Cr-Commit-Position: refs/heads/master@{#17621}
2017-04-10 07:39:05 -07:00
|
|
|
"../api:libjingle_peerconnection_api",
|
2016-11-28 07:02:13 -08:00
|
|
|
"../api:transport_api",
|
2017-02-10 08:15:44 -08:00
|
|
|
"../api/audio_codecs:audio_codecs_api",
|
|
|
|
|
"../api/audio_codecs:builtin_audio_decoder_factory",
|
2016-12-05 01:46:09 -08:00
|
|
|
"../audio/utility:audio_frame_operations",
|
2016-02-26 22:46:09 +01:00
|
|
|
"../base:rtc_base_approved",
|
2017-03-31 05:43:36 -07:00
|
|
|
"../base:rtc_task_queue",
|
2017-04-26 03:38:35 -07:00
|
|
|
"../modules:module_api",
|
2017-03-27 05:36:15 -07:00
|
|
|
|
|
|
|
|
# TODO(nisse): Delete when declaration of RtpTransportController
|
|
|
|
|
# and related interfaces move to api/.
|
|
|
|
|
"../call:call_interfaces",
|
2014-08-31 20:32:53 +00:00
|
|
|
"../common_audio",
|
Moved RtcEventLog files from call/ to logging/
The RtcEventLog headers need to be accessible from any place which needs
logging, and the implementation needs access to data structures that are
logged.
After a discussion in the code review, we all agreed to move the RtcEventLog implementation into its own top level directory - which I called "logging/" in expectation that other types of logging may have similar requirements. The directory contains two main build targets - "rtc_event_log_api", which is just rtc_event_log.h, that has no external dependencies and can be used from anywhere, and "rtc_event_log_impl" which contains the rest of the implementation and has many dependencies (more in the future).
The "api" target can be referenced from anywhere, while the "impl" target is only needed at the place of instantiation (currently Call, soon to be moved to PeerConnection by https://codereview.webrtc.org/2353033005/).
This change allows using RtcEventLog in the p2p/ directory, so that we
can log STUN pings and ICE state transitions.
BUG=webrtc:6393
R=kjellander@webrtc.org, kwiberg@webrtc.org, solenberg@webrtc.org, stefan@webrtc.org, terelius@webrtc.org
Review URL: https://codereview.webrtc.org/2380683005 .
Cr-Commit-Position: refs/heads/master@{#14485}
2016-10-03 18:31:22 -07:00
|
|
|
"../logging:rtc_event_log_api",
|
2017-04-06 12:05:04 -07:00
|
|
|
"../modules/audio_coding:audio_encoder_interface",
|
2016-10-24 13:47:09 -07:00
|
|
|
"../modules/audio_coding:audio_format_conversion",
|
2016-10-13 06:57:16 -07:00
|
|
|
"../modules/audio_coding:rent_a_codec",
|
2014-08-31 20:32:53 +00:00
|
|
|
"../modules/audio_conference_mixer",
|
|
|
|
|
"../modules/audio_device",
|
|
|
|
|
"../modules/audio_processing",
|
|
|
|
|
"../modules/bitrate_controller",
|
|
|
|
|
"../modules/media_file",
|
2015-12-07 10:26:18 +01:00
|
|
|
"../modules/pacing",
|
2014-08-31 20:32:53 +00:00
|
|
|
"../modules/rtp_rtcp",
|
|
|
|
|
"../modules/utility",
|
|
|
|
|
"../system_wrappers",
|
|
|
|
|
]
|
2014-06-23 19:21:07 +00:00
|
|
|
}
|
2016-07-08 02:12:55 -07:00
|
|
|
|
2017-03-07 01:58:55 -08:00
|
|
|
rtc_static_library("audio_level") {
|
2016-08-10 05:01:51 -07:00
|
|
|
sources = [
|
2017-03-07 01:58:55 -08:00
|
|
|
"audio_level.cc",
|
|
|
|
|
"audio_level.h",
|
2016-08-10 05:01:51 -07:00
|
|
|
]
|
|
|
|
|
|
|
|
|
|
deps = [
|
|
|
|
|
"..:webrtc_common",
|
|
|
|
|
"../base:rtc_base_approved",
|
|
|
|
|
"../common_audio",
|
2017-04-26 03:38:35 -07:00
|
|
|
"../modules:module_api",
|
2016-08-10 05:01:51 -07:00
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2016-07-08 02:12:55 -07:00
|
|
|
if (rtc_include_tests) {
|
2016-09-02 04:10:34 -07:00
|
|
|
rtc_test("voice_engine_unittests") {
|
2016-07-08 02:12:55 -07:00
|
|
|
deps = [
|
2017-03-02 21:28:23 -08:00
|
|
|
":file_player",
|
2016-07-08 02:12:55 -07:00
|
|
|
":voice_engine",
|
2017-03-02 21:28:23 -08:00
|
|
|
"../base:rtc_base_approved",
|
Reland of Enable GN check for webrtc/base (patchset #3 id:230001 of https://codereview.webrtc.org/2838683002/ )
Reason for revert:
Fourth attempt to land.
Waiting for https://codereview.webrtc.org/2845013003 to
avoid conflicts on webrtc/modules/audio_coding:neteq_unittest_tools.
Original issue's description:
> Revert of Enable GN check for webrtc/base (patchset #13 id:240001 of https://codereview.webrtc.org/2717083002/ )
>
> Reason for revert:
> Breaks Chromium because in Chromium we import WebRTC with rtc_include_tests=false (https://bugs.chromium.org/p/chromium/issues/detail?id=713179#c6).
>
> Chromium uses webrtc/test/fuzzers and this CL adds test dependencies to neteq_rtc_fuzzer.
>
> Original issue's description:
> > Enable GN check for webrtc/base
> >
> > It's not possible to enable it for the rtc_base_approved
> > target but since a larger refactoring is ongoing for webrtc/base
> > this CL doesn't attempt to fix that.
> >
> > Changes made:
> > * Move webrtc/system_wrappers/include/stringize_macros.h into
> > webrtc/base:rtc_base_approved_unittests (and corresponding
> > unit test to rtc_base_approved_unittests).
> > * Move md5digest.* from rtc_base_approved to rtc_base_test_utils target.
> > * Move webrtc/system_wrappers/include/stringize_macros.h (+test) into
> > webrtc/base.
> > * Remove unused use include of webrtc/base/fileutils.h in
> > webrtc/base/pathutils.cc
> >
> > BUG=webrtc:6828, webrtc:3806, webrtc:7480
> > NOTRY=True
> >
> > Review-Url: https://codereview.webrtc.org/2717083002
> > Cr-Commit-Position: refs/heads/master@{#17766}
> > Committed: https://chromium.googlesource.com/external/webrtc/+/ed754e71ae8866db641677073274e86fe704eeac
>
> TBR=perkj@webrtc.org,tommi@webrtc.org,nisse@webrtc.org,kjellander@webrtc.org
> # Not skipping CQ checks because original CL landed more than 1 days ago.
> BUG=webrtc:6828, webrtc:3806, webrtc:7480
> NOTRY=True
>
> Review-Url: https://codereview.webrtc.org/2838683002
> Cr-Commit-Position: refs/heads/master@{#17849}
> Committed: https://chromium.googlesource.com/external/webrtc/+/11ed366c487a938815cd52ad2ab5467b0f90e1ae
TBR=perkj@webrtc.org,tommi@webrtc.org,nisse@webrtc.org,kjellander@webrtc.org
# Not skipping CQ checks because original CL landed more than 1 days ago.
BUG=webrtc:6828, webrtc:3806, webrtc:7480
Review-Url: https://codereview.webrtc.org/2852663002
Cr-Commit-Position: refs/heads/master@{#17927}
2017-04-28 05:24:50 -07:00
|
|
|
"../base:rtc_base_tests_utils",
|
2017-04-26 03:38:35 -07:00
|
|
|
"../modules:module_api",
|
2017-03-02 21:28:23 -08:00
|
|
|
"../test:test_common",
|
2016-07-08 02:12:55 -07:00
|
|
|
"//testing/gmock",
|
|
|
|
|
"//testing/gtest",
|
2017-01-10 01:12:51 -08:00
|
|
|
"//third_party/gflags",
|
2016-07-08 02:12:55 -07:00
|
|
|
"//webrtc/common_audio",
|
|
|
|
|
"//webrtc/modules/audio_coding",
|
|
|
|
|
"//webrtc/modules/audio_conference_mixer",
|
|
|
|
|
"//webrtc/modules/audio_device",
|
|
|
|
|
"//webrtc/modules/audio_processing",
|
|
|
|
|
"//webrtc/modules/media_file",
|
|
|
|
|
"//webrtc/modules/rtp_rtcp",
|
2016-11-25 11:45:05 -08:00
|
|
|
"//webrtc/modules/utility",
|
2017-03-02 21:28:23 -08:00
|
|
|
"//webrtc/modules/video_capture:video_capture",
|
2016-07-08 02:12:55 -07:00
|
|
|
"//webrtc/system_wrappers",
|
2016-11-30 06:12:01 -08:00
|
|
|
"//webrtc/test:test_main",
|
2017-03-02 21:28:23 -08:00
|
|
|
"//webrtc/test:video_test_common",
|
2016-07-08 02:12:55 -07:00
|
|
|
]
|
|
|
|
|
|
|
|
|
|
if (is_android) {
|
|
|
|
|
deps += [ "//testing/android/native_test:native_test_native_code" ]
|
2016-08-15 02:29:11 -07:00
|
|
|
shard_timeout = 900
|
2016-07-08 02:12:55 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
sources = [
|
|
|
|
|
"channel_unittest.cc",
|
2017-01-10 01:12:51 -08:00
|
|
|
"file_player_unittests.cc",
|
2017-01-23 08:07:05 -08:00
|
|
|
"transport_feedback_packet_loss_tracker_unittest.cc",
|
2016-07-08 02:12:55 -07:00
|
|
|
"utility_unittest.cc",
|
|
|
|
|
"voe_base_unittest.cc",
|
|
|
|
|
"voe_codec_unittest.cc",
|
|
|
|
|
"voe_network_unittest.cc",
|
|
|
|
|
"voice_engine_fixture.cc",
|
|
|
|
|
"voice_engine_fixture.h",
|
|
|
|
|
]
|
|
|
|
|
|
2017-01-10 01:12:51 -08:00
|
|
|
data = [
|
|
|
|
|
"//resources/utility/encapsulated_pcm16b_8khz.wav",
|
|
|
|
|
"//resources/utility/encapsulated_pcmu_8khz.wav",
|
|
|
|
|
]
|
|
|
|
|
|
2016-07-08 02:12:55 -07:00
|
|
|
if (is_win) {
|
|
|
|
|
defines = [ "WEBRTC_DRIFT_COMPENSATION_SUPPORTED" ]
|
|
|
|
|
|
|
|
|
|
cflags = [
|
|
|
|
|
# TODO(kjellander): Bug 261: fix this warning.
|
|
|
|
|
"/wd4373", # Virtual function override.
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2016-10-16 23:56:12 -07:00
|
|
|
if (!build_with_chromium && is_clang) {
|
|
|
|
|
# Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
|
2016-09-02 04:10:34 -07:00
|
|
|
suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
|
2016-07-08 02:12:55 -07:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (!is_ios) {
|
2016-09-02 04:10:34 -07:00
|
|
|
rtc_executable("voe_auto_test") {
|
2016-07-08 02:12:55 -07:00
|
|
|
testonly = true
|
|
|
|
|
|
|
|
|
|
deps = [
|
|
|
|
|
":voice_engine",
|
2017-03-02 21:28:23 -08:00
|
|
|
"..:webrtc_common",
|
|
|
|
|
"../base:rtc_base_approved",
|
2017-04-26 03:38:35 -07:00
|
|
|
"../modules:module_api",
|
2017-03-02 21:28:23 -08:00
|
|
|
"../modules/audio_device:audio_device",
|
|
|
|
|
"../modules/audio_processing:audio_processing",
|
|
|
|
|
"../modules/rtp_rtcp:rtp_rtcp",
|
2016-07-08 02:12:55 -07:00
|
|
|
"//testing/gmock",
|
|
|
|
|
"//testing/gtest",
|
|
|
|
|
"//third_party/gflags",
|
Moved RtcEventLog files from call/ to logging/
The RtcEventLog headers need to be accessible from any place which needs
logging, and the implementation needs access to data structures that are
logged.
After a discussion in the code review, we all agreed to move the RtcEventLog implementation into its own top level directory - which I called "logging/" in expectation that other types of logging may have similar requirements. The directory contains two main build targets - "rtc_event_log_api", which is just rtc_event_log.h, that has no external dependencies and can be used from anywhere, and "rtc_event_log_impl" which contains the rest of the implementation and has many dependencies (more in the future).
The "api" target can be referenced from anywhere, while the "impl" target is only needed at the place of instantiation (currently Call, soon to be moved to PeerConnection by https://codereview.webrtc.org/2353033005/).
This change allows using RtcEventLog in the p2p/ directory, so that we
can log STUN pings and ICE state transitions.
BUG=webrtc:6393
R=kjellander@webrtc.org, kwiberg@webrtc.org, solenberg@webrtc.org, stefan@webrtc.org, terelius@webrtc.org
Review URL: https://codereview.webrtc.org/2380683005 .
Cr-Commit-Position: refs/heads/master@{#14485}
2016-10-03 18:31:22 -07:00
|
|
|
"//webrtc/logging:rtc_event_log_api",
|
2016-07-08 02:12:55 -07:00
|
|
|
"//webrtc/modules/video_capture",
|
|
|
|
|
"//webrtc/system_wrappers",
|
|
|
|
|
"//webrtc/system_wrappers/:system_wrappers_default",
|
|
|
|
|
"//webrtc/test/:test_common",
|
|
|
|
|
"//webrtc/test/:test_support",
|
2017-02-06 02:21:11 -08:00
|
|
|
"//webrtc/test/:video_test_common",
|
2016-07-08 02:12:55 -07:00
|
|
|
]
|
|
|
|
|
|
|
|
|
|
sources = [
|
|
|
|
|
"test/auto_test/automated_mode.cc",
|
|
|
|
|
"test/auto_test/fakes/conference_transport.cc",
|
|
|
|
|
"test/auto_test/fakes/conference_transport.h",
|
|
|
|
|
"test/auto_test/fakes/loudest_filter.cc",
|
|
|
|
|
"test/auto_test/fakes/loudest_filter.h",
|
|
|
|
|
"test/auto_test/fixtures/after_initialization_fixture.cc",
|
|
|
|
|
"test/auto_test/fixtures/after_initialization_fixture.h",
|
|
|
|
|
"test/auto_test/fixtures/after_streaming_fixture.cc",
|
|
|
|
|
"test/auto_test/fixtures/after_streaming_fixture.h",
|
|
|
|
|
"test/auto_test/fixtures/before_initialization_fixture.cc",
|
|
|
|
|
"test/auto_test/fixtures/before_initialization_fixture.h",
|
|
|
|
|
"test/auto_test/fixtures/before_streaming_fixture.cc",
|
|
|
|
|
"test/auto_test/fixtures/before_streaming_fixture.h",
|
|
|
|
|
"test/auto_test/standard/codec_before_streaming_test.cc",
|
|
|
|
|
"test/auto_test/standard/codec_test.cc",
|
|
|
|
|
"test/auto_test/standard/dtmf_test.cc",
|
|
|
|
|
"test/auto_test/standard/rtp_rtcp_before_streaming_test.cc",
|
|
|
|
|
"test/auto_test/standard/rtp_rtcp_extensions.cc",
|
|
|
|
|
"test/auto_test/standard/rtp_rtcp_test.cc",
|
|
|
|
|
"test/auto_test/voe_conference_test.cc",
|
|
|
|
|
"test/auto_test/voe_standard_test.cc",
|
|
|
|
|
"test/auto_test/voe_standard_test.h",
|
|
|
|
|
"test/auto_test/voe_test_defines.h",
|
|
|
|
|
]
|
|
|
|
|
|
|
|
|
|
defines = []
|
|
|
|
|
|
|
|
|
|
if (rtc_enable_protobuf) {
|
|
|
|
|
defines = [ "ENABLE_RTC_EVENT_LOG" ]
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (is_win) {
|
|
|
|
|
defines += [ "WEBRTC_DRIFT_COMPENSATION_SUPPORTED" ]
|
|
|
|
|
|
|
|
|
|
cflags = [
|
|
|
|
|
"/wd4267", # size_t to int truncation.
|
|
|
|
|
"/wd4373", # Virtual function override.
|
|
|
|
|
# TODO(kjellander): Bug 261: fix this warning.
|
|
|
|
|
]
|
|
|
|
|
}
|
|
|
|
|
|
2016-10-16 23:56:12 -07:00
|
|
|
if (!build_with_chromium && is_clang) {
|
|
|
|
|
# Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
|
2016-09-02 04:10:34 -07:00
|
|
|
suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
|
2016-07-08 02:12:55 -07:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|