1*d9f75844SAndroid Build Coastguard Worker# Copyright (c) 2019 The WebRTC project authors. All Rights Reserved. 2*d9f75844SAndroid Build Coastguard Worker# 3*d9f75844SAndroid Build Coastguard Worker# Use of this source code is governed by a BSD-style license 4*d9f75844SAndroid Build Coastguard Worker# that can be found in the LICENSE file in the root of the source 5*d9f75844SAndroid Build Coastguard Worker# tree. An additional intellectual property rights grant can be found 6*d9f75844SAndroid Build Coastguard Worker# in the file PATENTS. All contributing project authors may 7*d9f75844SAndroid Build Coastguard Worker# be found in the AUTHORS file in the root of the source tree. 8*d9f75844SAndroid Build Coastguard Worker 9*d9f75844SAndroid Build Coastguard Workerimport("../../../webrtc.gni") 10*d9f75844SAndroid Build Coastguard Worker 11*d9f75844SAndroid Build Coastguard Workerrtc_library("metric_metadata_keys") { 12*d9f75844SAndroid Build Coastguard Worker testonly = true 13*d9f75844SAndroid Build Coastguard Worker sources = [ "metric_metadata_keys.h" ] 14*d9f75844SAndroid Build Coastguard Worker} 15*d9f75844SAndroid Build Coastguard Worker 16*d9f75844SAndroid Build Coastguard Workerif (!build_with_chromium) { 17*d9f75844SAndroid Build Coastguard Worker group("e2e") { 18*d9f75844SAndroid Build Coastguard Worker testonly = true 19*d9f75844SAndroid Build Coastguard Worker 20*d9f75844SAndroid Build Coastguard Worker deps = [ ":metric_metadata_keys" ] 21*d9f75844SAndroid Build Coastguard Worker if (rtc_include_tests) { 22*d9f75844SAndroid Build Coastguard Worker deps += [ 23*d9f75844SAndroid Build Coastguard Worker ":peerconnection_quality_test", 24*d9f75844SAndroid Build Coastguard Worker ":test_peer", 25*d9f75844SAndroid Build Coastguard Worker ] 26*d9f75844SAndroid Build Coastguard Worker } 27*d9f75844SAndroid Build Coastguard Worker } 28*d9f75844SAndroid Build Coastguard Worker 29*d9f75844SAndroid Build Coastguard Worker if (rtc_include_tests) { 30*d9f75844SAndroid Build Coastguard Worker group("e2e_unittests") { 31*d9f75844SAndroid Build Coastguard Worker testonly = true 32*d9f75844SAndroid Build Coastguard Worker 33*d9f75844SAndroid Build Coastguard Worker deps = [ 34*d9f75844SAndroid Build Coastguard Worker ":peer_connection_e2e_smoke_test", 35*d9f75844SAndroid Build Coastguard Worker ":peer_connection_quality_test_metric_names_test", 36*d9f75844SAndroid Build Coastguard Worker ":peer_connection_quality_test_test", 37*d9f75844SAndroid Build Coastguard Worker ":stats_based_network_quality_metrics_reporter_test", 38*d9f75844SAndroid Build Coastguard Worker ":stats_poller_test", 39*d9f75844SAndroid Build Coastguard Worker ] 40*d9f75844SAndroid Build Coastguard Worker } 41*d9f75844SAndroid Build Coastguard Worker } 42*d9f75844SAndroid Build Coastguard Worker 43*d9f75844SAndroid Build Coastguard Worker if (rtc_include_tests) { 44*d9f75844SAndroid Build Coastguard Worker rtc_library("echo_emulation") { 45*d9f75844SAndroid Build Coastguard Worker testonly = true 46*d9f75844SAndroid Build Coastguard Worker sources = [ 47*d9f75844SAndroid Build Coastguard Worker "echo/echo_emulation.cc", 48*d9f75844SAndroid Build Coastguard Worker "echo/echo_emulation.h", 49*d9f75844SAndroid Build Coastguard Worker ] 50*d9f75844SAndroid Build Coastguard Worker deps = [ 51*d9f75844SAndroid Build Coastguard Worker "../../../api/test/pclf:media_configuration", 52*d9f75844SAndroid Build Coastguard Worker "../../../modules/audio_device:audio_device_impl", 53*d9f75844SAndroid Build Coastguard Worker "../../../rtc_base:swap_queue", 54*d9f75844SAndroid Build Coastguard Worker ] 55*d9f75844SAndroid Build Coastguard Worker } 56*d9f75844SAndroid Build Coastguard Worker 57*d9f75844SAndroid Build Coastguard Worker rtc_library("test_peer") { 58*d9f75844SAndroid Build Coastguard Worker testonly = true 59*d9f75844SAndroid Build Coastguard Worker sources = [ 60*d9f75844SAndroid Build Coastguard Worker "test_peer.cc", 61*d9f75844SAndroid Build Coastguard Worker "test_peer.h", 62*d9f75844SAndroid Build Coastguard Worker ] 63*d9f75844SAndroid Build Coastguard Worker deps = [ 64*d9f75844SAndroid Build Coastguard Worker ":stats_provider", 65*d9f75844SAndroid Build Coastguard Worker "../../../api:frame_generator_api", 66*d9f75844SAndroid Build Coastguard Worker "../../../api:function_view", 67*d9f75844SAndroid Build Coastguard Worker "../../../api:libjingle_peerconnection_api", 68*d9f75844SAndroid Build Coastguard Worker "../../../api:scoped_refptr", 69*d9f75844SAndroid Build Coastguard Worker "../../../api:sequence_checker", 70*d9f75844SAndroid Build Coastguard Worker "../../../api/task_queue:pending_task_safety_flag", 71*d9f75844SAndroid Build Coastguard Worker "../../../api/test/pclf:media_configuration", 72*d9f75844SAndroid Build Coastguard Worker "../../../api/test/pclf:media_quality_test_params", 73*d9f75844SAndroid Build Coastguard Worker "../../../api/test/pclf:peer_configurer", 74*d9f75844SAndroid Build Coastguard Worker "../../../modules/audio_processing:api", 75*d9f75844SAndroid Build Coastguard Worker "../../../pc:peerconnection_wrapper", 76*d9f75844SAndroid Build Coastguard Worker "../../../rtc_base:logging", 77*d9f75844SAndroid Build Coastguard Worker "../../../rtc_base:refcount", 78*d9f75844SAndroid Build Coastguard Worker "../../../rtc_base/synchronization:mutex", 79*d9f75844SAndroid Build Coastguard Worker ] 80*d9f75844SAndroid Build Coastguard Worker absl_deps = [ 81*d9f75844SAndroid Build Coastguard Worker "//third_party/abseil-cpp/absl/memory", 82*d9f75844SAndroid Build Coastguard Worker "//third_party/abseil-cpp/absl/strings", 83*d9f75844SAndroid Build Coastguard Worker "//third_party/abseil-cpp/absl/types:variant", 84*d9f75844SAndroid Build Coastguard Worker ] 85*d9f75844SAndroid Build Coastguard Worker } 86*d9f75844SAndroid Build Coastguard Worker 87*d9f75844SAndroid Build Coastguard Worker rtc_library("test_peer_factory") { 88*d9f75844SAndroid Build Coastguard Worker testonly = true 89*d9f75844SAndroid Build Coastguard Worker sources = [ 90*d9f75844SAndroid Build Coastguard Worker "test_peer_factory.cc", 91*d9f75844SAndroid Build Coastguard Worker "test_peer_factory.h", 92*d9f75844SAndroid Build Coastguard Worker ] 93*d9f75844SAndroid Build Coastguard Worker deps = [ 94*d9f75844SAndroid Build Coastguard Worker ":echo_emulation", 95*d9f75844SAndroid Build Coastguard Worker ":test_peer", 96*d9f75844SAndroid Build Coastguard Worker "../..:copy_to_file_audio_capturer", 97*d9f75844SAndroid Build Coastguard Worker "../../../api:create_time_controller", 98*d9f75844SAndroid Build Coastguard Worker "../../../api:time_controller", 99*d9f75844SAndroid Build Coastguard Worker "../../../api/rtc_event_log:rtc_event_log_factory", 100*d9f75844SAndroid Build Coastguard Worker "../../../api/task_queue:default_task_queue_factory", 101*d9f75844SAndroid Build Coastguard Worker "../../../api/test/pclf:media_configuration", 102*d9f75844SAndroid Build Coastguard Worker "../../../api/test/pclf:media_quality_test_params", 103*d9f75844SAndroid Build Coastguard Worker "../../../api/test/pclf:peer_configurer", 104*d9f75844SAndroid Build Coastguard Worker "../../../api/transport:field_trial_based_config", 105*d9f75844SAndroid Build Coastguard Worker "../../../api/video_codecs:builtin_video_decoder_factory", 106*d9f75844SAndroid Build Coastguard Worker "../../../api/video_codecs:builtin_video_encoder_factory", 107*d9f75844SAndroid Build Coastguard Worker "../../../media:rtc_audio_video", 108*d9f75844SAndroid Build Coastguard Worker "../../../media:rtc_media_engine_defaults", 109*d9f75844SAndroid Build Coastguard Worker "../../../modules/audio_device:audio_device_impl", 110*d9f75844SAndroid Build Coastguard Worker "../../../modules/audio_processing/aec_dump", 111*d9f75844SAndroid Build Coastguard Worker "../../../p2p:rtc_p2p", 112*d9f75844SAndroid Build Coastguard Worker "../../../rtc_base:rtc_task_queue", 113*d9f75844SAndroid Build Coastguard Worker "../../../rtc_base:threading", 114*d9f75844SAndroid Build Coastguard Worker "analyzer/video:quality_analyzing_video_encoder", 115*d9f75844SAndroid Build Coastguard Worker "analyzer/video:video_quality_analyzer_injection_helper", 116*d9f75844SAndroid Build Coastguard Worker ] 117*d9f75844SAndroid Build Coastguard Worker absl_deps = [ 118*d9f75844SAndroid Build Coastguard Worker "//third_party/abseil-cpp/absl/memory", 119*d9f75844SAndroid Build Coastguard Worker "//third_party/abseil-cpp/absl/strings", 120*d9f75844SAndroid Build Coastguard Worker ] 121*d9f75844SAndroid Build Coastguard Worker } 122*d9f75844SAndroid Build Coastguard Worker 123*d9f75844SAndroid Build Coastguard Worker rtc_library("media_helper") { 124*d9f75844SAndroid Build Coastguard Worker testonly = true 125*d9f75844SAndroid Build Coastguard Worker sources = [ 126*d9f75844SAndroid Build Coastguard Worker "media/media_helper.cc", 127*d9f75844SAndroid Build Coastguard Worker "media/media_helper.h", 128*d9f75844SAndroid Build Coastguard Worker "media/test_video_capturer_video_track_source.h", 129*d9f75844SAndroid Build Coastguard Worker ] 130*d9f75844SAndroid Build Coastguard Worker deps = [ 131*d9f75844SAndroid Build Coastguard Worker ":test_peer", 132*d9f75844SAndroid Build Coastguard Worker "../..:fileutils", 133*d9f75844SAndroid Build Coastguard Worker "../..:platform_video_capturer", 134*d9f75844SAndroid Build Coastguard Worker "../..:video_test_common", 135*d9f75844SAndroid Build Coastguard Worker "../../../api:create_frame_generator", 136*d9f75844SAndroid Build Coastguard Worker "../../../api:frame_generator_api", 137*d9f75844SAndroid Build Coastguard Worker "../../../api:media_stream_interface", 138*d9f75844SAndroid Build Coastguard Worker "../../../api/test/pclf:media_configuration", 139*d9f75844SAndroid Build Coastguard Worker "../../../api/test/pclf:peer_configurer", 140*d9f75844SAndroid Build Coastguard Worker "../../../api/video:video_frame", 141*d9f75844SAndroid Build Coastguard Worker "../../../pc:session_description", 142*d9f75844SAndroid Build Coastguard Worker "../../../pc:video_track_source", 143*d9f75844SAndroid Build Coastguard Worker "analyzer/video:video_quality_analyzer_injection_helper", 144*d9f75844SAndroid Build Coastguard Worker ] 145*d9f75844SAndroid Build Coastguard Worker absl_deps = [ "//third_party/abseil-cpp/absl/types:variant" ] 146*d9f75844SAndroid Build Coastguard Worker } 147*d9f75844SAndroid Build Coastguard Worker 148*d9f75844SAndroid Build Coastguard Worker rtc_library("peer_params_preprocessor") { 149*d9f75844SAndroid Build Coastguard Worker visibility = [ "*" ] 150*d9f75844SAndroid Build Coastguard Worker testonly = true 151*d9f75844SAndroid Build Coastguard Worker sources = [ 152*d9f75844SAndroid Build Coastguard Worker "peer_params_preprocessor.cc", 153*d9f75844SAndroid Build Coastguard Worker "peer_params_preprocessor.h", 154*d9f75844SAndroid Build Coastguard Worker ] 155*d9f75844SAndroid Build Coastguard Worker deps = [ 156*d9f75844SAndroid Build Coastguard Worker "../..:fileutils", 157*d9f75844SAndroid Build Coastguard Worker "../../../api:peer_network_dependencies", 158*d9f75844SAndroid Build Coastguard Worker "../../../api/test/pclf:media_configuration", 159*d9f75844SAndroid Build Coastguard Worker "../../../api/test/pclf:media_quality_test_params", 160*d9f75844SAndroid Build Coastguard Worker "../../../api/test/pclf:peer_configurer", 161*d9f75844SAndroid Build Coastguard Worker "../../../modules/video_coding/svc:scalability_mode_util", 162*d9f75844SAndroid Build Coastguard Worker "../../../modules/video_coding/svc:scalability_structures", 163*d9f75844SAndroid Build Coastguard Worker "../../../rtc_base:macromagic", 164*d9f75844SAndroid Build Coastguard Worker ] 165*d9f75844SAndroid Build Coastguard Worker absl_deps = [ "//third_party/abseil-cpp/absl/strings" ] 166*d9f75844SAndroid Build Coastguard Worker } 167*d9f75844SAndroid Build Coastguard Worker 168*d9f75844SAndroid Build Coastguard Worker rtc_library("test_activities_executor") { 169*d9f75844SAndroid Build Coastguard Worker testonly = true 170*d9f75844SAndroid Build Coastguard Worker sources = [ 171*d9f75844SAndroid Build Coastguard Worker "test_activities_executor.cc", 172*d9f75844SAndroid Build Coastguard Worker "test_activities_executor.h", 173*d9f75844SAndroid Build Coastguard Worker ] 174*d9f75844SAndroid Build Coastguard Worker deps = [ 175*d9f75844SAndroid Build Coastguard Worker "../../../api/task_queue", 176*d9f75844SAndroid Build Coastguard Worker "../../../api/units:time_delta", 177*d9f75844SAndroid Build Coastguard Worker "../../../api/units:timestamp", 178*d9f75844SAndroid Build Coastguard Worker "../../../rtc_base:checks", 179*d9f75844SAndroid Build Coastguard Worker "../../../rtc_base:criticalsection", 180*d9f75844SAndroid Build Coastguard Worker "../../../rtc_base:logging", 181*d9f75844SAndroid Build Coastguard Worker "../../../rtc_base:task_queue_for_test", 182*d9f75844SAndroid Build Coastguard Worker "../../../rtc_base/synchronization:mutex", 183*d9f75844SAndroid Build Coastguard Worker "../../../rtc_base/task_utils:repeating_task", 184*d9f75844SAndroid Build Coastguard Worker "../../../system_wrappers", 185*d9f75844SAndroid Build Coastguard Worker ] 186*d9f75844SAndroid Build Coastguard Worker absl_deps = [ 187*d9f75844SAndroid Build Coastguard Worker "//third_party/abseil-cpp/absl/memory", 188*d9f75844SAndroid Build Coastguard Worker "//third_party/abseil-cpp/absl/types:optional", 189*d9f75844SAndroid Build Coastguard Worker ] 190*d9f75844SAndroid Build Coastguard Worker } 191*d9f75844SAndroid Build Coastguard Worker 192*d9f75844SAndroid Build Coastguard Worker rtc_library("peerconnection_quality_test") { 193*d9f75844SAndroid Build Coastguard Worker testonly = true 194*d9f75844SAndroid Build Coastguard Worker 195*d9f75844SAndroid Build Coastguard Worker sources = [ 196*d9f75844SAndroid Build Coastguard Worker "peer_connection_quality_test.cc", 197*d9f75844SAndroid Build Coastguard Worker "peer_connection_quality_test.h", 198*d9f75844SAndroid Build Coastguard Worker ] 199*d9f75844SAndroid Build Coastguard Worker deps = [ 200*d9f75844SAndroid Build Coastguard Worker ":analyzer_helper", 201*d9f75844SAndroid Build Coastguard Worker ":cross_media_metrics_reporter", 202*d9f75844SAndroid Build Coastguard Worker ":default_audio_quality_analyzer", 203*d9f75844SAndroid Build Coastguard Worker ":media_helper", 204*d9f75844SAndroid Build Coastguard Worker ":metric_metadata_keys", 205*d9f75844SAndroid Build Coastguard Worker ":peer_params_preprocessor", 206*d9f75844SAndroid Build Coastguard Worker ":sdp_changer", 207*d9f75844SAndroid Build Coastguard Worker ":stats_poller", 208*d9f75844SAndroid Build Coastguard Worker ":test_activities_executor", 209*d9f75844SAndroid Build Coastguard Worker ":test_peer", 210*d9f75844SAndroid Build Coastguard Worker ":test_peer_factory", 211*d9f75844SAndroid Build Coastguard Worker "../..:field_trial", 212*d9f75844SAndroid Build Coastguard Worker "../..:fileutils", 213*d9f75844SAndroid Build Coastguard Worker "../..:perf_test", 214*d9f75844SAndroid Build Coastguard Worker "../../../api:audio_quality_analyzer_api", 215*d9f75844SAndroid Build Coastguard Worker "../../../api:libjingle_peerconnection_api", 216*d9f75844SAndroid Build Coastguard Worker "../../../api:media_stream_interface", 217*d9f75844SAndroid Build Coastguard Worker "../../../api:peer_connection_quality_test_fixture_api", 218*d9f75844SAndroid Build Coastguard Worker "../../../api:rtc_event_log_output_file", 219*d9f75844SAndroid Build Coastguard Worker "../../../api:scoped_refptr", 220*d9f75844SAndroid Build Coastguard Worker "../../../api:time_controller", 221*d9f75844SAndroid Build Coastguard Worker "../../../api:video_quality_analyzer_api", 222*d9f75844SAndroid Build Coastguard Worker "../../../api/rtc_event_log", 223*d9f75844SAndroid Build Coastguard Worker "../../../api/task_queue", 224*d9f75844SAndroid Build Coastguard Worker "../../../api/test/metrics:metric", 225*d9f75844SAndroid Build Coastguard Worker "../../../api/test/metrics:metrics_logger", 226*d9f75844SAndroid Build Coastguard Worker "../../../api/test/pclf:media_configuration", 227*d9f75844SAndroid Build Coastguard Worker "../../../api/test/pclf:media_quality_test_params", 228*d9f75844SAndroid Build Coastguard Worker "../../../api/test/pclf:peer_configurer", 229*d9f75844SAndroid Build Coastguard Worker "../../../api/units:time_delta", 230*d9f75844SAndroid Build Coastguard Worker "../../../api/units:timestamp", 231*d9f75844SAndroid Build Coastguard Worker "../../../pc:pc_test_utils", 232*d9f75844SAndroid Build Coastguard Worker "../../../pc:sdp_utils", 233*d9f75844SAndroid Build Coastguard Worker "../../../rtc_base", 234*d9f75844SAndroid Build Coastguard Worker "../../../rtc_base:gunit_helpers", 235*d9f75844SAndroid Build Coastguard Worker "../../../rtc_base:macromagic", 236*d9f75844SAndroid Build Coastguard Worker "../../../rtc_base:safe_conversions", 237*d9f75844SAndroid Build Coastguard Worker "../../../rtc_base:stringutils", 238*d9f75844SAndroid Build Coastguard Worker "../../../rtc_base:task_queue_for_test", 239*d9f75844SAndroid Build Coastguard Worker "../../../rtc_base:threading", 240*d9f75844SAndroid Build Coastguard Worker "../../../rtc_base/synchronization:mutex", 241*d9f75844SAndroid Build Coastguard Worker "../../../system_wrappers", 242*d9f75844SAndroid Build Coastguard Worker "../../../system_wrappers:field_trial", 243*d9f75844SAndroid Build Coastguard Worker "analyzer/video:default_video_quality_analyzer", 244*d9f75844SAndroid Build Coastguard Worker "analyzer/video:single_process_encoded_image_data_injector", 245*d9f75844SAndroid Build Coastguard Worker "analyzer/video:video_frame_tracking_id_injector", 246*d9f75844SAndroid Build Coastguard Worker "analyzer/video:video_quality_analyzer_injection_helper", 247*d9f75844SAndroid Build Coastguard Worker "analyzer/video:video_quality_metrics_reporter", 248*d9f75844SAndroid Build Coastguard Worker ] 249*d9f75844SAndroid Build Coastguard Worker absl_deps = [ "//third_party/abseil-cpp/absl/strings" ] 250*d9f75844SAndroid Build Coastguard Worker } 251*d9f75844SAndroid Build Coastguard Worker 252*d9f75844SAndroid Build Coastguard Worker peer_connection_e2e_smoke_test_resources = [ 253*d9f75844SAndroid Build Coastguard Worker "../../../resources/pc_quality_smoke_test_alice_source.wav", 254*d9f75844SAndroid Build Coastguard Worker "../../../resources/pc_quality_smoke_test_bob_source.wav", 255*d9f75844SAndroid Build Coastguard Worker ] 256*d9f75844SAndroid Build Coastguard Worker if (is_ios) { 257*d9f75844SAndroid Build Coastguard Worker bundle_data("peer_connection_e2e_smoke_test_resources_bundle_data") { 258*d9f75844SAndroid Build Coastguard Worker testonly = true 259*d9f75844SAndroid Build Coastguard Worker sources = peer_connection_e2e_smoke_test_resources 260*d9f75844SAndroid Build Coastguard Worker outputs = [ "{{bundle_resources_dir}}/{{source_file_part}}" ] 261*d9f75844SAndroid Build Coastguard Worker } 262*d9f75844SAndroid Build Coastguard Worker } 263*d9f75844SAndroid Build Coastguard Worker 264*d9f75844SAndroid Build Coastguard Worker rtc_library("peer_connection_e2e_smoke_test") { 265*d9f75844SAndroid Build Coastguard Worker testonly = true 266*d9f75844SAndroid Build Coastguard Worker 267*d9f75844SAndroid Build Coastguard Worker sources = [ "peer_connection_e2e_smoke_test.cc" ] 268*d9f75844SAndroid Build Coastguard Worker deps = [ 269*d9f75844SAndroid Build Coastguard Worker ":default_audio_quality_analyzer", 270*d9f75844SAndroid Build Coastguard Worker ":network_quality_metrics_reporter", 271*d9f75844SAndroid Build Coastguard Worker ":stats_based_network_quality_metrics_reporter", 272*d9f75844SAndroid Build Coastguard Worker "../../../api:callfactory_api", 273*d9f75844SAndroid Build Coastguard Worker "../../../api:create_network_emulation_manager", 274*d9f75844SAndroid Build Coastguard Worker "../../../api:create_peer_connection_quality_test_frame_generator", 275*d9f75844SAndroid Build Coastguard Worker "../../../api:create_peerconnection_quality_test_fixture", 276*d9f75844SAndroid Build Coastguard Worker "../../../api:libjingle_peerconnection_api", 277*d9f75844SAndroid Build Coastguard Worker "../../../api:media_stream_interface", 278*d9f75844SAndroid Build Coastguard Worker "../../../api:network_emulation_manager_api", 279*d9f75844SAndroid Build Coastguard Worker "../../../api:peer_connection_quality_test_fixture_api", 280*d9f75844SAndroid Build Coastguard Worker "../../../api:scoped_refptr", 281*d9f75844SAndroid Build Coastguard Worker "../../../api:simulated_network_api", 282*d9f75844SAndroid Build Coastguard Worker "../../../api/audio_codecs:builtin_audio_decoder_factory", 283*d9f75844SAndroid Build Coastguard Worker "../../../api/audio_codecs:builtin_audio_encoder_factory", 284*d9f75844SAndroid Build Coastguard Worker "../../../api/test/metrics:global_metrics_logger_and_exporter", 285*d9f75844SAndroid Build Coastguard Worker "../../../api/test/pclf:media_configuration", 286*d9f75844SAndroid Build Coastguard Worker "../../../api/test/pclf:media_quality_test_params", 287*d9f75844SAndroid Build Coastguard Worker "../../../api/test/pclf:peer_configurer", 288*d9f75844SAndroid Build Coastguard Worker "../../../api/video_codecs:builtin_video_decoder_factory", 289*d9f75844SAndroid Build Coastguard Worker "../../../api/video_codecs:builtin_video_encoder_factory", 290*d9f75844SAndroid Build Coastguard Worker "../../../call:simulated_network", 291*d9f75844SAndroid Build Coastguard Worker "../../../media:rtc_audio_video", 292*d9f75844SAndroid Build Coastguard Worker "../../../modules/audio_device:audio_device_impl", 293*d9f75844SAndroid Build Coastguard Worker "../../../p2p:rtc_p2p", 294*d9f75844SAndroid Build Coastguard Worker "../../../pc:pc_test_utils", 295*d9f75844SAndroid Build Coastguard Worker "../../../pc:peerconnection_wrapper", 296*d9f75844SAndroid Build Coastguard Worker "../../../rtc_base", 297*d9f75844SAndroid Build Coastguard Worker "../../../rtc_base:gunit_helpers", 298*d9f75844SAndroid Build Coastguard Worker "../../../rtc_base:logging", 299*d9f75844SAndroid Build Coastguard Worker "../../../rtc_base:rtc_event", 300*d9f75844SAndroid Build Coastguard Worker "../../../system_wrappers:field_trial", 301*d9f75844SAndroid Build Coastguard Worker "../../../test:field_trial", 302*d9f75844SAndroid Build Coastguard Worker "../../../test:fileutils", 303*d9f75844SAndroid Build Coastguard Worker "../../../test:test_support", 304*d9f75844SAndroid Build Coastguard Worker "analyzer/video:default_video_quality_analyzer", 305*d9f75844SAndroid Build Coastguard Worker "analyzer/video:default_video_quality_analyzer_shared", 306*d9f75844SAndroid Build Coastguard Worker ] 307*d9f75844SAndroid Build Coastguard Worker data = peer_connection_e2e_smoke_test_resources 308*d9f75844SAndroid Build Coastguard Worker if (is_mac || is_ios) { 309*d9f75844SAndroid Build Coastguard Worker deps += [ "../../../modules/video_coding:objc_codec_factory_helper" ] 310*d9f75844SAndroid Build Coastguard Worker } 311*d9f75844SAndroid Build Coastguard Worker if (is_ios) { 312*d9f75844SAndroid Build Coastguard Worker deps += [ ":peer_connection_e2e_smoke_test_resources_bundle_data" ] 313*d9f75844SAndroid Build Coastguard Worker } 314*d9f75844SAndroid Build Coastguard Worker } 315*d9f75844SAndroid Build Coastguard Worker 316*d9f75844SAndroid Build Coastguard Worker rtc_library("peer_connection_quality_test_metric_names_test") { 317*d9f75844SAndroid Build Coastguard Worker testonly = true 318*d9f75844SAndroid Build Coastguard Worker sources = [ "peer_connection_quality_test_metric_names_test.cc" ] 319*d9f75844SAndroid Build Coastguard Worker deps = [ 320*d9f75844SAndroid Build Coastguard Worker ":metric_metadata_keys", 321*d9f75844SAndroid Build Coastguard Worker ":peerconnection_quality_test", 322*d9f75844SAndroid Build Coastguard Worker ":stats_based_network_quality_metrics_reporter", 323*d9f75844SAndroid Build Coastguard Worker "../..:test_support", 324*d9f75844SAndroid Build Coastguard Worker "../../../api:create_network_emulation_manager", 325*d9f75844SAndroid Build Coastguard Worker "../../../api:create_peer_connection_quality_test_frame_generator", 326*d9f75844SAndroid Build Coastguard Worker "../../../api:network_emulation_manager_api", 327*d9f75844SAndroid Build Coastguard Worker "../../../api:peer_connection_quality_test_fixture_api", 328*d9f75844SAndroid Build Coastguard Worker "../../../api/test/metrics:metrics_logger", 329*d9f75844SAndroid Build Coastguard Worker "../../../api/test/metrics:stdout_metrics_exporter", 330*d9f75844SAndroid Build Coastguard Worker "../../../api/test/pclf:media_configuration", 331*d9f75844SAndroid Build Coastguard Worker "../../../api/test/pclf:media_quality_test_params", 332*d9f75844SAndroid Build Coastguard Worker "../../../api/test/pclf:peer_configurer", 333*d9f75844SAndroid Build Coastguard Worker "../../../api/units:time_delta", 334*d9f75844SAndroid Build Coastguard Worker ] 335*d9f75844SAndroid Build Coastguard Worker } 336*d9f75844SAndroid Build Coastguard Worker 337*d9f75844SAndroid Build Coastguard Worker rtc_library("stats_based_network_quality_metrics_reporter_test") { 338*d9f75844SAndroid Build Coastguard Worker testonly = true 339*d9f75844SAndroid Build Coastguard Worker sources = [ "stats_based_network_quality_metrics_reporter_test.cc" ] 340*d9f75844SAndroid Build Coastguard Worker deps = [ 341*d9f75844SAndroid Build Coastguard Worker ":metric_metadata_keys", 342*d9f75844SAndroid Build Coastguard Worker ":peerconnection_quality_test", 343*d9f75844SAndroid Build Coastguard Worker ":stats_based_network_quality_metrics_reporter", 344*d9f75844SAndroid Build Coastguard Worker "../..:test_support", 345*d9f75844SAndroid Build Coastguard Worker "../../../api:array_view", 346*d9f75844SAndroid Build Coastguard Worker "../../../api:create_network_emulation_manager", 347*d9f75844SAndroid Build Coastguard Worker "../../../api:create_peer_connection_quality_test_frame_generator", 348*d9f75844SAndroid Build Coastguard Worker "../../../api:network_emulation_manager_api", 349*d9f75844SAndroid Build Coastguard Worker "../../../api:peer_connection_quality_test_fixture_api", 350*d9f75844SAndroid Build Coastguard Worker "../../../api/test/metrics:metrics_logger", 351*d9f75844SAndroid Build Coastguard Worker "../../../api/test/metrics:stdout_metrics_exporter", 352*d9f75844SAndroid Build Coastguard Worker "../../../api/test/pclf:media_configuration", 353*d9f75844SAndroid Build Coastguard Worker "../../../api/test/pclf:media_quality_test_params", 354*d9f75844SAndroid Build Coastguard Worker "../../../api/test/pclf:peer_configurer", 355*d9f75844SAndroid Build Coastguard Worker "../../../api/units:time_delta", 356*d9f75844SAndroid Build Coastguard Worker ] 357*d9f75844SAndroid Build Coastguard Worker absl_deps = [ 358*d9f75844SAndroid Build Coastguard Worker "//third_party/abseil-cpp/absl/strings", 359*d9f75844SAndroid Build Coastguard Worker "//third_party/abseil-cpp/absl/types:optional", 360*d9f75844SAndroid Build Coastguard Worker ] 361*d9f75844SAndroid Build Coastguard Worker } 362*d9f75844SAndroid Build Coastguard Worker 363*d9f75844SAndroid Build Coastguard Worker rtc_library("peer_connection_quality_test_test") { 364*d9f75844SAndroid Build Coastguard Worker testonly = true 365*d9f75844SAndroid Build Coastguard Worker sources = [ "peer_connection_quality_test_test.cc" ] 366*d9f75844SAndroid Build Coastguard Worker deps = [ 367*d9f75844SAndroid Build Coastguard Worker ":peerconnection_quality_test", 368*d9f75844SAndroid Build Coastguard Worker "../..:fileutils", 369*d9f75844SAndroid Build Coastguard Worker "../..:test_support", 370*d9f75844SAndroid Build Coastguard Worker "../..:video_test_support", 371*d9f75844SAndroid Build Coastguard Worker "../../../api:create_network_emulation_manager", 372*d9f75844SAndroid Build Coastguard Worker "../../../api:network_emulation_manager_api", 373*d9f75844SAndroid Build Coastguard Worker "../../../api:peer_connection_quality_test_fixture_api", 374*d9f75844SAndroid Build Coastguard Worker "../../../api/test/metrics:global_metrics_logger_and_exporter", 375*d9f75844SAndroid Build Coastguard Worker "../../../api/test/pclf:media_configuration", 376*d9f75844SAndroid Build Coastguard Worker "../../../api/test/pclf:media_quality_test_params", 377*d9f75844SAndroid Build Coastguard Worker "../../../api/test/pclf:peer_configurer", 378*d9f75844SAndroid Build Coastguard Worker "../../../api/units:time_delta", 379*d9f75844SAndroid Build Coastguard Worker "../../../rtc_base:timeutils", 380*d9f75844SAndroid Build Coastguard Worker ] 381*d9f75844SAndroid Build Coastguard Worker } 382*d9f75844SAndroid Build Coastguard Worker 383*d9f75844SAndroid Build Coastguard Worker rtc_library("stats_provider") { 384*d9f75844SAndroid Build Coastguard Worker testonly = true 385*d9f75844SAndroid Build Coastguard Worker sources = [ "stats_provider.h" ] 386*d9f75844SAndroid Build Coastguard Worker deps = [ "../../../api:rtc_stats_api" ] 387*d9f75844SAndroid Build Coastguard Worker } 388*d9f75844SAndroid Build Coastguard Worker 389*d9f75844SAndroid Build Coastguard Worker rtc_library("stats_poller") { 390*d9f75844SAndroid Build Coastguard Worker testonly = true 391*d9f75844SAndroid Build Coastguard Worker sources = [ 392*d9f75844SAndroid Build Coastguard Worker "stats_poller.cc", 393*d9f75844SAndroid Build Coastguard Worker "stats_poller.h", 394*d9f75844SAndroid Build Coastguard Worker ] 395*d9f75844SAndroid Build Coastguard Worker deps = [ 396*d9f75844SAndroid Build Coastguard Worker ":stats_provider", 397*d9f75844SAndroid Build Coastguard Worker ":test_peer", 398*d9f75844SAndroid Build Coastguard Worker "../../../api:libjingle_peerconnection_api", 399*d9f75844SAndroid Build Coastguard Worker "../../../api:rtc_stats_api", 400*d9f75844SAndroid Build Coastguard Worker "../../../api:stats_observer_interface", 401*d9f75844SAndroid Build Coastguard Worker "../../../rtc_base:logging", 402*d9f75844SAndroid Build Coastguard Worker "../../../rtc_base:macromagic", 403*d9f75844SAndroid Build Coastguard Worker "../../../rtc_base/synchronization:mutex", 404*d9f75844SAndroid Build Coastguard Worker ] 405*d9f75844SAndroid Build Coastguard Worker } 406*d9f75844SAndroid Build Coastguard Worker 407*d9f75844SAndroid Build Coastguard Worker rtc_library("stats_poller_test") { 408*d9f75844SAndroid Build Coastguard Worker testonly = true 409*d9f75844SAndroid Build Coastguard Worker sources = [ "stats_poller_test.cc" ] 410*d9f75844SAndroid Build Coastguard Worker deps = [ 411*d9f75844SAndroid Build Coastguard Worker ":stats_poller", 412*d9f75844SAndroid Build Coastguard Worker "../..:test_support", 413*d9f75844SAndroid Build Coastguard Worker "../../../api:rtc_stats_api", 414*d9f75844SAndroid Build Coastguard Worker ] 415*d9f75844SAndroid Build Coastguard Worker } 416*d9f75844SAndroid Build Coastguard Worker } 417*d9f75844SAndroid Build Coastguard Worker 418*d9f75844SAndroid Build Coastguard Worker rtc_library("analyzer_helper") { 419*d9f75844SAndroid Build Coastguard Worker sources = [ 420*d9f75844SAndroid Build Coastguard Worker "analyzer_helper.cc", 421*d9f75844SAndroid Build Coastguard Worker "analyzer_helper.h", 422*d9f75844SAndroid Build Coastguard Worker ] 423*d9f75844SAndroid Build Coastguard Worker deps = [ 424*d9f75844SAndroid Build Coastguard Worker "../../../api:sequence_checker", 425*d9f75844SAndroid Build Coastguard Worker "../../../api:track_id_stream_info_map", 426*d9f75844SAndroid Build Coastguard Worker "../../../rtc_base:macromagic", 427*d9f75844SAndroid Build Coastguard Worker ] 428*d9f75844SAndroid Build Coastguard Worker absl_deps = [ 429*d9f75844SAndroid Build Coastguard Worker "//third_party/abseil-cpp/absl/strings", 430*d9f75844SAndroid Build Coastguard Worker "//third_party/abseil-cpp/absl/types:optional", 431*d9f75844SAndroid Build Coastguard Worker ] 432*d9f75844SAndroid Build Coastguard Worker } 433*d9f75844SAndroid Build Coastguard Worker 434*d9f75844SAndroid Build Coastguard Worker rtc_library("default_audio_quality_analyzer") { 435*d9f75844SAndroid Build Coastguard Worker testonly = true 436*d9f75844SAndroid Build Coastguard Worker sources = [ 437*d9f75844SAndroid Build Coastguard Worker "analyzer/audio/default_audio_quality_analyzer.cc", 438*d9f75844SAndroid Build Coastguard Worker "analyzer/audio/default_audio_quality_analyzer.h", 439*d9f75844SAndroid Build Coastguard Worker ] 440*d9f75844SAndroid Build Coastguard Worker 441*d9f75844SAndroid Build Coastguard Worker deps = [ 442*d9f75844SAndroid Build Coastguard Worker ":metric_metadata_keys", 443*d9f75844SAndroid Build Coastguard Worker "../..:perf_test", 444*d9f75844SAndroid Build Coastguard Worker "../../../api:audio_quality_analyzer_api", 445*d9f75844SAndroid Build Coastguard Worker "../../../api:rtc_stats_api", 446*d9f75844SAndroid Build Coastguard Worker "../../../api:stats_observer_interface", 447*d9f75844SAndroid Build Coastguard Worker "../../../api:track_id_stream_info_map", 448*d9f75844SAndroid Build Coastguard Worker "../../../api/numerics", 449*d9f75844SAndroid Build Coastguard Worker "../../../api/test/metrics:metric", 450*d9f75844SAndroid Build Coastguard Worker "../../../api/test/metrics:metrics_logger", 451*d9f75844SAndroid Build Coastguard Worker "../../../api/units:time_delta", 452*d9f75844SAndroid Build Coastguard Worker "../../../api/units:timestamp", 453*d9f75844SAndroid Build Coastguard Worker "../../../rtc_base:checks", 454*d9f75844SAndroid Build Coastguard Worker "../../../rtc_base:criticalsection", 455*d9f75844SAndroid Build Coastguard Worker "../../../rtc_base:logging", 456*d9f75844SAndroid Build Coastguard Worker "../../../rtc_base:rtc_numerics", 457*d9f75844SAndroid Build Coastguard Worker "../../../rtc_base/synchronization:mutex", 458*d9f75844SAndroid Build Coastguard Worker ] 459*d9f75844SAndroid Build Coastguard Worker absl_deps = [ "//third_party/abseil-cpp/absl/strings" ] 460*d9f75844SAndroid Build Coastguard Worker } 461*d9f75844SAndroid Build Coastguard Worker 462*d9f75844SAndroid Build Coastguard Worker rtc_library("network_quality_metrics_reporter") { 463*d9f75844SAndroid Build Coastguard Worker testonly = true 464*d9f75844SAndroid Build Coastguard Worker sources = [ 465*d9f75844SAndroid Build Coastguard Worker "network_quality_metrics_reporter.cc", 466*d9f75844SAndroid Build Coastguard Worker "network_quality_metrics_reporter.h", 467*d9f75844SAndroid Build Coastguard Worker ] 468*d9f75844SAndroid Build Coastguard Worker deps = [ 469*d9f75844SAndroid Build Coastguard Worker "../..:perf_test", 470*d9f75844SAndroid Build Coastguard Worker "../../../api:network_emulation_manager_api", 471*d9f75844SAndroid Build Coastguard Worker "../../../api:peer_connection_quality_test_fixture_api", 472*d9f75844SAndroid Build Coastguard Worker "../../../api:rtc_stats_api", 473*d9f75844SAndroid Build Coastguard Worker "../../../api:track_id_stream_info_map", 474*d9f75844SAndroid Build Coastguard Worker "../../../api/test/metrics:metric", 475*d9f75844SAndroid Build Coastguard Worker "../../../api/test/metrics:metrics_logger", 476*d9f75844SAndroid Build Coastguard Worker "../../../api/units:data_size", 477*d9f75844SAndroid Build Coastguard Worker "../../../rtc_base:checks", 478*d9f75844SAndroid Build Coastguard Worker "../../../rtc_base:criticalsection", 479*d9f75844SAndroid Build Coastguard Worker "../../../rtc_base:rtc_event", 480*d9f75844SAndroid Build Coastguard Worker "../../../rtc_base/synchronization:mutex", 481*d9f75844SAndroid Build Coastguard Worker "../../../system_wrappers:field_trial", 482*d9f75844SAndroid Build Coastguard Worker ] 483*d9f75844SAndroid Build Coastguard Worker absl_deps = [ "//third_party/abseil-cpp/absl/strings" ] 484*d9f75844SAndroid Build Coastguard Worker } 485*d9f75844SAndroid Build Coastguard Worker 486*d9f75844SAndroid Build Coastguard Worker rtc_library("stats_based_network_quality_metrics_reporter") { 487*d9f75844SAndroid Build Coastguard Worker testonly = true 488*d9f75844SAndroid Build Coastguard Worker sources = [ 489*d9f75844SAndroid Build Coastguard Worker "stats_based_network_quality_metrics_reporter.cc", 490*d9f75844SAndroid Build Coastguard Worker "stats_based_network_quality_metrics_reporter.h", 491*d9f75844SAndroid Build Coastguard Worker ] 492*d9f75844SAndroid Build Coastguard Worker deps = [ 493*d9f75844SAndroid Build Coastguard Worker ":metric_metadata_keys", 494*d9f75844SAndroid Build Coastguard Worker "../..:perf_test", 495*d9f75844SAndroid Build Coastguard Worker "../../../api:array_view", 496*d9f75844SAndroid Build Coastguard Worker "../../../api:network_emulation_manager_api", 497*d9f75844SAndroid Build Coastguard Worker "../../../api:peer_connection_quality_test_fixture_api", 498*d9f75844SAndroid Build Coastguard Worker "../../../api:rtc_stats_api", 499*d9f75844SAndroid Build Coastguard Worker "../../../api:scoped_refptr", 500*d9f75844SAndroid Build Coastguard Worker "../../../api:sequence_checker", 501*d9f75844SAndroid Build Coastguard Worker "../../../api/numerics", 502*d9f75844SAndroid Build Coastguard Worker "../../../api/test/metrics:metric", 503*d9f75844SAndroid Build Coastguard Worker "../../../api/test/metrics:metrics_logger", 504*d9f75844SAndroid Build Coastguard Worker "../../../api/test/network_emulation", 505*d9f75844SAndroid Build Coastguard Worker "../../../api/units:data_rate", 506*d9f75844SAndroid Build Coastguard Worker "../../../api/units:data_size", 507*d9f75844SAndroid Build Coastguard Worker "../../../api/units:timestamp", 508*d9f75844SAndroid Build Coastguard Worker "../../../rtc_base", 509*d9f75844SAndroid Build Coastguard Worker "../../../rtc_base:checks", 510*d9f75844SAndroid Build Coastguard Worker "../../../rtc_base:ip_address", 511*d9f75844SAndroid Build Coastguard Worker "../../../rtc_base:rtc_event", 512*d9f75844SAndroid Build Coastguard Worker "../../../rtc_base:stringutils", 513*d9f75844SAndroid Build Coastguard Worker "../../../rtc_base/synchronization:mutex", 514*d9f75844SAndroid Build Coastguard Worker "../../../rtc_base/system:no_unique_address", 515*d9f75844SAndroid Build Coastguard Worker "../../../system_wrappers:field_trial", 516*d9f75844SAndroid Build Coastguard Worker ] 517*d9f75844SAndroid Build Coastguard Worker absl_deps = [ "//third_party/abseil-cpp/absl/strings" ] 518*d9f75844SAndroid Build Coastguard Worker } 519*d9f75844SAndroid Build Coastguard Worker 520*d9f75844SAndroid Build Coastguard Worker rtc_library("cross_media_metrics_reporter") { 521*d9f75844SAndroid Build Coastguard Worker testonly = true 522*d9f75844SAndroid Build Coastguard Worker sources = [ 523*d9f75844SAndroid Build Coastguard Worker "cross_media_metrics_reporter.cc", 524*d9f75844SAndroid Build Coastguard Worker "cross_media_metrics_reporter.h", 525*d9f75844SAndroid Build Coastguard Worker ] 526*d9f75844SAndroid Build Coastguard Worker deps = [ 527*d9f75844SAndroid Build Coastguard Worker ":metric_metadata_keys", 528*d9f75844SAndroid Build Coastguard Worker "../..:perf_test", 529*d9f75844SAndroid Build Coastguard Worker "../../../api:network_emulation_manager_api", 530*d9f75844SAndroid Build Coastguard Worker "../../../api:peer_connection_quality_test_fixture_api", 531*d9f75844SAndroid Build Coastguard Worker "../../../api:rtc_stats_api", 532*d9f75844SAndroid Build Coastguard Worker "../../../api:track_id_stream_info_map", 533*d9f75844SAndroid Build Coastguard Worker "../../../api/numerics", 534*d9f75844SAndroid Build Coastguard Worker "../../../api/test/metrics:metric", 535*d9f75844SAndroid Build Coastguard Worker "../../../api/test/metrics:metrics_logger", 536*d9f75844SAndroid Build Coastguard Worker "../../../api/units:timestamp", 537*d9f75844SAndroid Build Coastguard Worker "../../../rtc_base:checks", 538*d9f75844SAndroid Build Coastguard Worker "../../../rtc_base:criticalsection", 539*d9f75844SAndroid Build Coastguard Worker "../../../rtc_base:rtc_event", 540*d9f75844SAndroid Build Coastguard Worker "../../../rtc_base:rtc_numerics", 541*d9f75844SAndroid Build Coastguard Worker "../../../rtc_base/synchronization:mutex", 542*d9f75844SAndroid Build Coastguard Worker "../../../system_wrappers:field_trial", 543*d9f75844SAndroid Build Coastguard Worker ] 544*d9f75844SAndroid Build Coastguard Worker absl_deps = [ 545*d9f75844SAndroid Build Coastguard Worker "//third_party/abseil-cpp/absl/strings", 546*d9f75844SAndroid Build Coastguard Worker "//third_party/abseil-cpp/absl/types:optional", 547*d9f75844SAndroid Build Coastguard Worker ] 548*d9f75844SAndroid Build Coastguard Worker } 549*d9f75844SAndroid Build Coastguard Worker 550*d9f75844SAndroid Build Coastguard Worker rtc_library("sdp_changer") { 551*d9f75844SAndroid Build Coastguard Worker testonly = true 552*d9f75844SAndroid Build Coastguard Worker sources = [ 553*d9f75844SAndroid Build Coastguard Worker "sdp/sdp_changer.cc", 554*d9f75844SAndroid Build Coastguard Worker "sdp/sdp_changer.h", 555*d9f75844SAndroid Build Coastguard Worker ] 556*d9f75844SAndroid Build Coastguard Worker deps = [ 557*d9f75844SAndroid Build Coastguard Worker "../../../api:array_view", 558*d9f75844SAndroid Build Coastguard Worker "../../../api:libjingle_peerconnection_api", 559*d9f75844SAndroid Build Coastguard Worker "../../../api:rtp_parameters", 560*d9f75844SAndroid Build Coastguard Worker "../../../api/test/pclf:media_configuration", 561*d9f75844SAndroid Build Coastguard Worker "../../../media:rtc_media_base", 562*d9f75844SAndroid Build Coastguard Worker "../../../p2p:rtc_p2p", 563*d9f75844SAndroid Build Coastguard Worker "../../../pc:sdp_utils", 564*d9f75844SAndroid Build Coastguard Worker "../../../pc:session_description", 565*d9f75844SAndroid Build Coastguard Worker "../../../pc:simulcast_description", 566*d9f75844SAndroid Build Coastguard Worker "../../../rtc_base:stringutils", 567*d9f75844SAndroid Build Coastguard Worker ] 568*d9f75844SAndroid Build Coastguard Worker absl_deps = [ 569*d9f75844SAndroid Build Coastguard Worker "//third_party/abseil-cpp/absl/memory", 570*d9f75844SAndroid Build Coastguard Worker "//third_party/abseil-cpp/absl/strings:strings", 571*d9f75844SAndroid Build Coastguard Worker "//third_party/abseil-cpp/absl/types:optional", 572*d9f75844SAndroid Build Coastguard Worker ] 573*d9f75844SAndroid Build Coastguard Worker } 574*d9f75844SAndroid Build Coastguard Worker} 575