1*d9f75844SAndroid Build Coastguard Worker# Copyright(c) 2020 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 Workerif (rtc_include_tests) { 12*d9f75844SAndroid Build Coastguard Worker rtc_source_set("mock_task_queue") { 13*d9f75844SAndroid Build Coastguard Worker testonly = true 14*d9f75844SAndroid Build Coastguard Worker visibility = [ "*" ] 15*d9f75844SAndroid Build Coastguard Worker sources = [ "mock_task_queue.h" ] 16*d9f75844SAndroid Build Coastguard Worker deps = [ 17*d9f75844SAndroid Build Coastguard Worker "../../../api/task_queue:task_queue", 18*d9f75844SAndroid Build Coastguard Worker "../../../api/task_queue/test:mock_task_queue_base", 19*d9f75844SAndroid Build Coastguard Worker "../../../test:test_support", 20*d9f75844SAndroid Build Coastguard Worker ] 21*d9f75844SAndroid Build Coastguard Worker } 22*d9f75844SAndroid Build Coastguard Worker 23*d9f75844SAndroid Build Coastguard Worker if (!build_with_chromium) { 24*d9f75844SAndroid Build Coastguard Worker rtc_library("voip_core_unittests") { 25*d9f75844SAndroid Build Coastguard Worker testonly = true 26*d9f75844SAndroid Build Coastguard Worker sources = [ "voip_core_unittest.cc" ] 27*d9f75844SAndroid Build Coastguard Worker deps = [ 28*d9f75844SAndroid Build Coastguard Worker "..:voip_core", 29*d9f75844SAndroid Build Coastguard Worker "../../../api/audio_codecs:builtin_audio_decoder_factory", 30*d9f75844SAndroid Build Coastguard Worker "../../../api/audio_codecs:builtin_audio_encoder_factory", 31*d9f75844SAndroid Build Coastguard Worker "../../../api/task_queue:default_task_queue_factory", 32*d9f75844SAndroid Build Coastguard Worker "../../../modules/audio_device:mock_audio_device", 33*d9f75844SAndroid Build Coastguard Worker "../../../modules/audio_processing:mocks", 34*d9f75844SAndroid Build Coastguard Worker "../../../test:audio_codec_mocks", 35*d9f75844SAndroid Build Coastguard Worker "../../../test:mock_transport", 36*d9f75844SAndroid Build Coastguard Worker "../../../test:run_loop", 37*d9f75844SAndroid Build Coastguard Worker "../../../test:test_support", 38*d9f75844SAndroid Build Coastguard Worker ] 39*d9f75844SAndroid Build Coastguard Worker } 40*d9f75844SAndroid Build Coastguard Worker } 41*d9f75844SAndroid Build Coastguard Worker 42*d9f75844SAndroid Build Coastguard Worker rtc_library("audio_channel_unittests") { 43*d9f75844SAndroid Build Coastguard Worker testonly = true 44*d9f75844SAndroid Build Coastguard Worker sources = [ "audio_channel_unittest.cc" ] 45*d9f75844SAndroid Build Coastguard Worker deps = [ 46*d9f75844SAndroid Build Coastguard Worker ":mock_task_queue", 47*d9f75844SAndroid Build Coastguard Worker "..:audio_channel", 48*d9f75844SAndroid Build Coastguard Worker "../../../api:transport_api", 49*d9f75844SAndroid Build Coastguard Worker "../../../api/audio_codecs:builtin_audio_decoder_factory", 50*d9f75844SAndroid Build Coastguard Worker "../../../api/audio_codecs:builtin_audio_encoder_factory", 51*d9f75844SAndroid Build Coastguard Worker "../../../api/task_queue:task_queue", 52*d9f75844SAndroid Build Coastguard Worker "../../../modules/audio_mixer:audio_mixer_impl", 53*d9f75844SAndroid Build Coastguard Worker "../../../modules/audio_mixer:audio_mixer_test_utils", 54*d9f75844SAndroid Build Coastguard Worker "../../../modules/rtp_rtcp:rtp_rtcp", 55*d9f75844SAndroid Build Coastguard Worker "../../../modules/rtp_rtcp:rtp_rtcp_format", 56*d9f75844SAndroid Build Coastguard Worker "../../../rtc_base:logging", 57*d9f75844SAndroid Build Coastguard Worker "../../../test:mock_transport", 58*d9f75844SAndroid Build Coastguard Worker "../../../test:test_support", 59*d9f75844SAndroid Build Coastguard Worker ] 60*d9f75844SAndroid Build Coastguard Worker absl_deps = [ "//third_party/abseil-cpp/absl/functional:any_invocable" ] 61*d9f75844SAndroid Build Coastguard Worker } 62*d9f75844SAndroid Build Coastguard Worker 63*d9f75844SAndroid Build Coastguard Worker rtc_library("audio_ingress_unittests") { 64*d9f75844SAndroid Build Coastguard Worker testonly = true 65*d9f75844SAndroid Build Coastguard Worker sources = [ "audio_ingress_unittest.cc" ] 66*d9f75844SAndroid Build Coastguard Worker deps = [ 67*d9f75844SAndroid Build Coastguard Worker "..:audio_egress", 68*d9f75844SAndroid Build Coastguard Worker "..:audio_ingress", 69*d9f75844SAndroid Build Coastguard Worker "../../../api:transport_api", 70*d9f75844SAndroid Build Coastguard Worker "../../../api/audio_codecs:builtin_audio_decoder_factory", 71*d9f75844SAndroid Build Coastguard Worker "../../../api/audio_codecs:builtin_audio_encoder_factory", 72*d9f75844SAndroid Build Coastguard Worker "../../../api/task_queue:default_task_queue_factory", 73*d9f75844SAndroid Build Coastguard Worker "../../../modules/audio_mixer:audio_mixer_test_utils", 74*d9f75844SAndroid Build Coastguard Worker "../../../modules/rtp_rtcp:rtp_rtcp", 75*d9f75844SAndroid Build Coastguard Worker "../../../rtc_base:logging", 76*d9f75844SAndroid Build Coastguard Worker "../../../rtc_base:rtc_event", 77*d9f75844SAndroid Build Coastguard Worker "../../../test:mock_transport", 78*d9f75844SAndroid Build Coastguard Worker "../../../test:run_loop", 79*d9f75844SAndroid Build Coastguard Worker "../../../test:test_support", 80*d9f75844SAndroid Build Coastguard Worker ] 81*d9f75844SAndroid Build Coastguard Worker } 82*d9f75844SAndroid Build Coastguard Worker 83*d9f75844SAndroid Build Coastguard Worker rtc_library("audio_egress_unittests") { 84*d9f75844SAndroid Build Coastguard Worker testonly = true 85*d9f75844SAndroid Build Coastguard Worker sources = [ "audio_egress_unittest.cc" ] 86*d9f75844SAndroid Build Coastguard Worker deps = [ 87*d9f75844SAndroid Build Coastguard Worker "..:audio_egress", 88*d9f75844SAndroid Build Coastguard Worker "../../../api:transport_api", 89*d9f75844SAndroid Build Coastguard Worker "../../../api/audio_codecs:builtin_audio_encoder_factory", 90*d9f75844SAndroid Build Coastguard Worker "../../../api/task_queue:default_task_queue_factory", 91*d9f75844SAndroid Build Coastguard Worker "../../../modules/audio_mixer:audio_mixer_test_utils", 92*d9f75844SAndroid Build Coastguard Worker "../../../modules/rtp_rtcp:rtp_rtcp", 93*d9f75844SAndroid Build Coastguard Worker "../../../modules/rtp_rtcp:rtp_rtcp_format", 94*d9f75844SAndroid Build Coastguard Worker "../../../rtc_base:logging", 95*d9f75844SAndroid Build Coastguard Worker "../../../rtc_base:rtc_event", 96*d9f75844SAndroid Build Coastguard Worker "../../../test:mock_transport", 97*d9f75844SAndroid Build Coastguard Worker "../../../test:run_loop", 98*d9f75844SAndroid Build Coastguard Worker "../../../test:test_support", 99*d9f75844SAndroid Build Coastguard Worker ] 100*d9f75844SAndroid Build Coastguard Worker } 101*d9f75844SAndroid Build Coastguard Worker} 102