Files
platform-external-webrtc/test/pc/e2e/api/BUILD.gn
Mirko Bonadei 12ae4f4d50 Introduce possibility to poll stats and notify analyzers.
This CL introduces the possibility to poll the 2 peer connections
at constant intervals.

It also introduces a dummy AudioQualityAnalyzer that will have to
be implemented in a follow-up CL and it moves every type of the
test framework inside the webrtc::test namespace.

Bug: webrtc:10138
Change-Id: I40acf7894bd67ea5229baba2d2cf18cd8ef65e67
Reviewed-on: https://webrtc-review.googlesource.com/c/123441
Commit-Queue: Mirko Bonadei <mbonadei@webrtc.org>
Reviewed-by: Artem Titov <titovartem@webrtc.org>
Cr-Commit-Position: refs/heads/master@{#26854}
2019-02-26 14:43:31 +00:00

95 lines
2.7 KiB
Plaintext

# Copyright (c) 2018 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.
import("../../../../webrtc.gni")
rtc_source_set("video_quality_analyzer_api") {
visibility = [ "*" ]
sources = [
"video_quality_analyzer_interface.h",
]
deps = [
":stats_observer_interface",
"../../../../api/video:encoded_image",
"../../../../api/video:video_frame",
"../../../../api/video_codecs:video_codecs_api",
"//third_party/abseil-cpp/absl/strings",
"//third_party/abseil-cpp/absl/types:optional",
]
}
rtc_source_set("audio_quality_analyzer_api") {
visibility = [ "*" ]
sources = [
"audio_quality_analyzer_interface.h",
]
deps = [
":stats_observer_interface",
]
}
rtc_source_set("stats_observer_interface") {
visibility = [ "*" ]
sources = [
"stats_observer_interface.h",
]
deps = [
"../../../../api:libjingle_peerconnection_api",
"//third_party/abseil-cpp/absl/strings",
]
}
rtc_source_set("peer_connection_quality_test_fixture_api") {
visibility = [ "*" ]
sources = [
"peerconnection_quality_test_fixture.h",
]
deps = [
":audio_quality_analyzer_api",
":video_quality_analyzer_api",
"../../../../api:callfactory_api",
"../../../../api:fec_controller_api",
"../../../../api:libjingle_peerconnection_api",
"../../../../api:simulated_network_api",
"../../../../api/transport:network_control",
"../../../../api/units:time_delta",
"../../../../api/video_codecs:video_codecs_api",
"../../../../logging:rtc_event_log_api",
"../../../../rtc_base:rtc_base",
"//third_party/abseil-cpp/absl/memory:memory",
"//third_party/abseil-cpp/absl/types:optional",
]
}
if (rtc_include_tests) {
rtc_source_set("create_peerconnection_quality_test_fixture") {
visibility = [ "*" ]
testonly = true
sources = [
"create_peerconnection_quality_test_fixture.cc",
"create_peerconnection_quality_test_fixture.h",
]
deps = [
":audio_quality_analyzer_api",
":peer_connection_quality_test_fixture_api",
":video_quality_analyzer_api",
"../:peerconnection_quality_test",
"//third_party/abseil-cpp/absl/memory:memory",
]
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" ]
}
}
}