kjellander | fb11424 | 2016-06-13 00:19:48 -0700 | [diff] [blame] | 1 | # Copyright (c) 2016 The WebRTC project authors. All Rights Reserved. |
| 2 | # |
| 3 | # Use of this source code is governed by a BSD-style license |
| 4 | # that can be found in the LICENSE file in the root of the source |
| 5 | # tree. An additional intellectual property rights grant can be found |
| 6 | # in the file PATENTS. All contributing project authors may |
| 7 | # be found in the AUTHORS file in the root of the source tree. |
| 8 | |
| 9 | import("../build/webrtc.gni") |
| 10 | import("audio_coding/audio_coding.gni") |
kjellander | fb11424 | 2016-06-13 00:19:48 -0700 | [diff] [blame] | 11 | |
| 12 | declare_args() { |
| 13 | # Desktop capturer is supported only on Windows, OSX and Linux. |
zijiehe | 98903d2 | 2016-11-10 21:57:10 -0800 | [diff] [blame] | 14 | rtc_desktop_capture_supported = is_win || is_mac || is_linux |
kjellander | fb11424 | 2016-06-13 00:19:48 -0700 | [diff] [blame] | 15 | } |
| 16 | |
| 17 | group("modules") { |
kjellander | 705ecc5 | 2016-09-15 00:53:26 -0700 | [diff] [blame] | 18 | public_deps = [ |
kjellander | fb11424 | 2016-06-13 00:19:48 -0700 | [diff] [blame] | 19 | "audio_coding", |
| 20 | "audio_conference_mixer", |
| 21 | "audio_device", |
kjellander | 6ceab08 | 2016-10-28 05:44:03 -0700 | [diff] [blame] | 22 | "audio_mixer", |
kjellander | fb11424 | 2016-06-13 00:19:48 -0700 | [diff] [blame] | 23 | "audio_processing", |
| 24 | "bitrate_controller", |
kjellander | 6ceab08 | 2016-10-28 05:44:03 -0700 | [diff] [blame] | 25 | "congestion_controller", |
kjellander | fb11424 | 2016-06-13 00:19:48 -0700 | [diff] [blame] | 26 | "desktop_capture", |
| 27 | "media_file", |
kjellander | 6ceab08 | 2016-10-28 05:44:03 -0700 | [diff] [blame] | 28 | "pacing", |
| 29 | "remote_bitrate_estimator", |
kjellander | fb11424 | 2016-06-13 00:19:48 -0700 | [diff] [blame] | 30 | "rtp_rtcp", |
| 31 | "utility", |
kjellander | 6ceab08 | 2016-10-28 05:44:03 -0700 | [diff] [blame] | 32 | "video_capture", |
kjellander | fb11424 | 2016-06-13 00:19:48 -0700 | [diff] [blame] | 33 | "video_coding", |
| 34 | "video_processing", |
| 35 | ] |
| 36 | } |
| 37 | |
| 38 | if (rtc_include_tests) { |
ehmaldonado | 3a7f35b | 2016-09-14 05:10:01 -0700 | [diff] [blame] | 39 | modules_tests_resources = [ |
| 40 | "//resources/audio_coding/testfile32kHz.pcm", |
| 41 | "//resources/audio_coding/teststereo32kHz.pcm", |
| 42 | "//resources/foreman_cif.yuv", |
| 43 | "//resources/paris_qcif.yuv", |
| 44 | ] |
kjellander | 32c4a20 | 2016-08-30 02:53:49 -0700 | [diff] [blame] | 45 | |
| 46 | if (is_ios) { |
| 47 | bundle_data("modules_tests_bundle_data") { |
| 48 | testonly = true |
| 49 | sources = modules_tests_resources |
| 50 | outputs = [ |
| 51 | "{{bundle_resources_dir}}/{{source_file_part}}", |
| 52 | ] |
| 53 | } |
| 54 | } |
| 55 | |
ehmaldonado | 38a2132 | 2016-09-02 04:10:34 -0700 | [diff] [blame] | 56 | rtc_test("modules_tests") { |
ehmaldonado | f98dc10 | 2016-08-03 10:46:47 -0700 | [diff] [blame] | 57 | testonly = true |
| 58 | |
ehmaldonado | f98dc10 | 2016-08-03 10:46:47 -0700 | [diff] [blame] | 59 | videoprocessor_defines = [] |
| 60 | if (rtc_use_h264) { |
| 61 | videoprocessor_defines += [ "WEBRTC_VIDEOPROCESSOR_H264_TESTS" ] |
| 62 | } |
| 63 | |
| 64 | defines = audio_coding_defines + videoprocessor_defines |
| 65 | |
| 66 | deps = [ |
| 67 | "..:webrtc_common", |
| 68 | "../common_video", |
magjed | ceecea4 | 2016-11-28 07:20:21 -0800 | [diff] [blame] | 69 | "../media:rtc_media_base", |
ehmaldonado | f98dc10 | 2016-08-03 10:46:47 -0700 | [diff] [blame] | 70 | "../modules/audio_coding", |
kwiberg | da2bf4e | 2016-10-24 13:47:09 -0700 | [diff] [blame] | 71 | "../modules/audio_coding:audio_format_conversion", |
ehmaldonado | f98dc10 | 2016-08-03 10:46:47 -0700 | [diff] [blame] | 72 | "../modules/rtp_rtcp", |
| 73 | "../modules/utility", |
| 74 | "../modules/video_coding", |
| 75 | "../modules/video_coding:video_codecs_test_framework", |
| 76 | "../system_wrappers", |
ehmaldonado | 26bddb9 | 2016-11-30 06:12:01 -0800 | [diff] [blame] | 77 | "../test:test_main", |
ehmaldonado | f98dc10 | 2016-08-03 10:46:47 -0700 | [diff] [blame] | 78 | "../test:test_support", |
zijiehe | 6be0a65 | 2016-10-27 16:50:35 -0700 | [diff] [blame] | 79 | "//testing/gmock", |
ehmaldonado | f98dc10 | 2016-08-03 10:46:47 -0700 | [diff] [blame] | 80 | "//testing/gtest", |
| 81 | ] |
| 82 | |
| 83 | sources = [ |
| 84 | "audio_coding/test/APITest.cc", |
| 85 | "audio_coding/test/Channel.cc", |
| 86 | "audio_coding/test/EncodeDecodeTest.cc", |
| 87 | "audio_coding/test/PCMFile.cc", |
| 88 | "audio_coding/test/PacketLossTest.cc", |
| 89 | "audio_coding/test/RTPFile.cc", |
| 90 | "audio_coding/test/TestAllCodecs.cc", |
| 91 | "audio_coding/test/TestRedFec.cc", |
| 92 | "audio_coding/test/TestStereo.cc", |
| 93 | "audio_coding/test/TestVADDTX.cc", |
| 94 | "audio_coding/test/Tester.cc", |
| 95 | "audio_coding/test/TwoWayCommunication.cc", |
| 96 | "audio_coding/test/iSACTest.cc", |
| 97 | "audio_coding/test/opus_test.cc", |
| 98 | "audio_coding/test/target_delay_unittest.cc", |
| 99 | "audio_coding/test/utility.cc", |
| 100 | "rtp_rtcp/test/testFec/test_fec.cc", |
| 101 | "video_coding/codecs/test/videoprocessor_integrationtest.cc", |
| 102 | "video_coding/codecs/vp8/test/vp8_impl_unittest.cc", |
| 103 | ] |
| 104 | |
zijiehe | 6be0a65 | 2016-10-27 16:50:35 -0700 | [diff] [blame] | 105 | if (rtc_desktop_capture_supported) { |
zijiehe | 372719b | 2016-11-11 17:18:34 -0800 | [diff] [blame] | 106 | deps += [ |
| 107 | "desktop_capture:desktop_capture_mock", |
| 108 | "desktop_capture:screen_drawer", |
| 109 | ] |
zijiehe | 54fd579 | 2016-11-02 14:49:35 -0700 | [diff] [blame] | 110 | sources += [ |
| 111 | "desktop_capture/screen_capturer_integration_test.cc", |
| 112 | "desktop_capture/screen_drawer_unittest.cc", |
| 113 | ] |
zijiehe | 6be0a65 | 2016-10-27 16:50:35 -0700 | [diff] [blame] | 114 | } |
| 115 | |
ehmaldonado | 3a7f35b | 2016-09-14 05:10:01 -0700 | [diff] [blame] | 116 | data = modules_tests_resources |
| 117 | |
ehmaldonado | f98dc10 | 2016-08-03 10:46:47 -0700 | [diff] [blame] | 118 | if (is_android) { |
| 119 | deps += [ "//testing/android/native_test:native_test_native_code" ] |
sakal | 714dd4e | 2016-08-15 02:29:11 -0700 | [diff] [blame] | 120 | shard_timeout = 900 |
ehmaldonado | f98dc10 | 2016-08-03 10:46:47 -0700 | [diff] [blame] | 121 | } |
kjellander | 32c4a20 | 2016-08-30 02:53:49 -0700 | [diff] [blame] | 122 | |
| 123 | if (is_ios) { |
| 124 | deps += [ ":modules_tests_bundle_data" ] |
ehmaldonado | f98dc10 | 2016-08-03 10:46:47 -0700 | [diff] [blame] | 125 | } |
| 126 | |
kjellander | e40a7ee | 2016-10-16 23:56:12 -0700 | [diff] [blame] | 127 | if (!build_with_chromium && is_clang) { |
ehmaldonado | f98dc10 | 2016-08-03 10:46:47 -0700 | [diff] [blame] | 128 | # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
ehmaldonado | 38a2132 | 2016-09-02 04:10:34 -0700 | [diff] [blame] | 129 | suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
ehmaldonado | f98dc10 | 2016-08-03 10:46:47 -0700 | [diff] [blame] | 130 | } |
| 131 | if (is_win) { |
| 132 | cflags = [ |
| 133 | # TODO(phoglund): get rid of 4373 supression when |
| 134 | # http://code.google.com/p/webrtc/issues/detail?id=261 is solved. |
| 135 | # legacy warning for ignoring const / volatile in signatures. |
| 136 | "/wd4373", |
| 137 | ] |
| 138 | } |
| 139 | } |
| 140 | |
ehmaldonado | 3a7f35b | 2016-09-14 05:10:01 -0700 | [diff] [blame] | 141 | modules_unittests_resources = [ |
ehmaldonado | 3a7f35b | 2016-09-14 05:10:01 -0700 | [diff] [blame] | 142 | "//resources/att-downlink.rx", |
| 143 | "//resources/att-uplink.rx", |
| 144 | "//resources/audio_coding/neteq_opus.rtp", |
| 145 | "//resources/audio_coding/neteq_universal_new.rtp", |
| 146 | "//resources/audio_coding/speech_mono_16kHz.pcm", |
| 147 | "//resources/audio_coding/speech_mono_32_48kHz.pcm", |
| 148 | "//resources/audio_coding/testfile32kHz.pcm", |
| 149 | "//resources/audio_coding/teststereo32kHz.pcm", |
| 150 | "//resources/audio_device/audio_short16.pcm", |
| 151 | "//resources/audio_device/audio_short44.pcm", |
| 152 | "//resources/audio_device/audio_short48.pcm", |
| 153 | "//resources/audio_processing/agc/agc_audio.pcm", |
| 154 | "//resources/audio_processing/agc/agc_no_circular_buffer.dat", |
| 155 | "//resources/audio_processing/agc/agc_pitch_gain.dat", |
| 156 | "//resources/audio_processing/agc/agc_pitch_lag.dat", |
| 157 | "//resources/audio_processing/agc/agc_spectral_peak.dat", |
| 158 | "//resources/audio_processing/agc/agc_vad.dat", |
| 159 | "//resources/audio_processing/agc/agc_voicing_prob.dat", |
| 160 | "//resources/audio_processing/agc/agc_with_circular_buffer.dat", |
ehmaldonado | dedaf1c | 2016-11-18 04:52:22 -0800 | [diff] [blame] | 161 | "//resources/audio_processing/output_data_fixed.pb", |
| 162 | "//resources/audio_processing/output_data_float.pb", |
| 163 | "//resources/audio_processing/output_data_mac.pb", |
ehmaldonado | 3a7f35b | 2016-09-14 05:10:01 -0700 | [diff] [blame] | 164 | "//resources/audio_processing/transient/ajm-macbook-1-spke16m.pcm", |
| 165 | "//resources/audio_processing/transient/audio16kHz.pcm", |
| 166 | "//resources/audio_processing/transient/audio32kHz.pcm", |
| 167 | "//resources/audio_processing/transient/audio48kHz.pcm", |
| 168 | "//resources/audio_processing/transient/audio8kHz.pcm", |
| 169 | "//resources/audio_processing/transient/detect16kHz.dat", |
| 170 | "//resources/audio_processing/transient/detect32kHz.dat", |
| 171 | "//resources/audio_processing/transient/detect48kHz.dat", |
| 172 | "//resources/audio_processing/transient/detect8kHz.dat", |
| 173 | "//resources/audio_processing/transient/double-utils.dat", |
| 174 | "//resources/audio_processing/transient/float-utils.dat", |
| 175 | "//resources/audio_processing/transient/suppressed16kHz.pcm", |
| 176 | "//resources/audio_processing/transient/suppressed32kHz.pcm", |
| 177 | "//resources/audio_processing/transient/suppressed8kHz.pcm", |
| 178 | "//resources/audio_processing/transient/wpd0.dat", |
| 179 | "//resources/audio_processing/transient/wpd1.dat", |
| 180 | "//resources/audio_processing/transient/wpd2.dat", |
| 181 | "//resources/audio_processing/transient/wpd3.dat", |
| 182 | "//resources/audio_processing/transient/wpd4.dat", |
| 183 | "//resources/audio_processing/transient/wpd5.dat", |
| 184 | "//resources/audio_processing/transient/wpd6.dat", |
| 185 | "//resources/audio_processing/transient/wpd7.dat", |
| 186 | "//resources/deflicker_before_cif_short.yuv", |
| 187 | "//resources/far16_stereo.pcm", |
| 188 | "//resources/far32_stereo.pcm", |
| 189 | "//resources/far44_stereo.pcm", |
| 190 | "//resources/far48_stereo.pcm", |
| 191 | "//resources/far8_stereo.pcm", |
| 192 | "//resources/foremanColorEnhanced_cif_short.yuv", |
| 193 | "//resources/foreman_cif.yuv", |
| 194 | "//resources/foreman_cif_short.yuv", |
| 195 | "//resources/near16_stereo.pcm", |
| 196 | "//resources/near32_stereo.pcm", |
| 197 | "//resources/near44_stereo.pcm", |
| 198 | "//resources/near48_stereo.pcm", |
| 199 | "//resources/near8_stereo.pcm", |
| 200 | "//resources/ref03.aecdump", |
| 201 | "//resources/remote_bitrate_estimator/VideoSendersTest_BweTest_IncreasingChoke1_0_AST.bin", |
| 202 | "//resources/remote_bitrate_estimator/VideoSendersTest_BweTest_IncreasingChoke1_0_TOF.bin", |
| 203 | "//resources/remote_bitrate_estimator/VideoSendersTest_BweTest_IncreasingChoke1_1_AST.bin", |
| 204 | "//resources/remote_bitrate_estimator/VideoSendersTest_BweTest_IncreasingChoke1_1_TOF.bin", |
| 205 | "//resources/remote_bitrate_estimator/VideoSendersTest_BweTest_IncreasingChoke2_0_AST.bin", |
| 206 | "//resources/remote_bitrate_estimator/VideoSendersTest_BweTest_IncreasingChoke2_0_TOF.bin", |
| 207 | "//resources/remote_bitrate_estimator/VideoSendersTest_BweTest_IncreasingChoke2_1_AST.bin", |
| 208 | "//resources/remote_bitrate_estimator/VideoSendersTest_BweTest_IncreasingChoke2_1_TOF.bin", |
| 209 | "//resources/remote_bitrate_estimator/VideoSendersTest_BweTest_IncreasingDelay1_0_AST.bin", |
| 210 | "//resources/remote_bitrate_estimator/VideoSendersTest_BweTest_IncreasingDelay1_0_TOF.bin", |
| 211 | "//resources/remote_bitrate_estimator/VideoSendersTest_BweTest_IncreasingLoss1_0_AST.bin", |
| 212 | "//resources/remote_bitrate_estimator/VideoSendersTest_BweTest_IncreasingLoss1_0_TOF.bin", |
| 213 | "//resources/remote_bitrate_estimator/VideoSendersTest_BweTest_Multi1_1_AST.bin", |
| 214 | "//resources/remote_bitrate_estimator/VideoSendersTest_BweTest_Multi1_1_TOF.bin", |
| 215 | "//resources/remote_bitrate_estimator/VideoSendersTest_BweTest_SteadyChoke_0_AST.bin", |
| 216 | "//resources/remote_bitrate_estimator/VideoSendersTest_BweTest_SteadyChoke_0_TOF.bin", |
| 217 | "//resources/remote_bitrate_estimator/VideoSendersTest_BweTest_SteadyChoke_1_AST.bin", |
| 218 | "//resources/remote_bitrate_estimator/VideoSendersTest_BweTest_SteadyChoke_1_TOF.bin", |
| 219 | "//resources/remote_bitrate_estimator/VideoSendersTest_BweTest_SteadyDelay_0_AST.bin", |
| 220 | "//resources/remote_bitrate_estimator/VideoSendersTest_BweTest_SteadyDelay_0_TOF.bin", |
| 221 | "//resources/remote_bitrate_estimator/VideoSendersTest_BweTest_SteadyLoss_0_AST.bin", |
| 222 | "//resources/remote_bitrate_estimator/VideoSendersTest_BweTest_SteadyLoss_0_TOF.bin", |
| 223 | "//resources/remote_bitrate_estimator/VideoSendersTest_BweTest_UnlimitedSpeed_0_AST.bin", |
| 224 | "//resources/remote_bitrate_estimator/VideoSendersTest_BweTest_UnlimitedSpeed_0_TOF.bin", |
| 225 | "//resources/short_mixed_mono_48.dat", |
| 226 | "//resources/short_mixed_mono_48_arm.dat", |
| 227 | "//resources/short_mixed_mono_48.pcm", |
| 228 | "//resources/short_mixed_stereo_48.dat", |
| 229 | "//resources/short_mixed_stereo_48.pcm", |
| 230 | "//resources/sprint-downlink.rx", |
| 231 | "//resources/sprint-uplink.rx", |
| 232 | "//resources/synthetic-trace.rx", |
| 233 | "//resources/tmobile-downlink.rx", |
| 234 | "//resources/tmobile-uplink.rx", |
| 235 | "//resources/utility/encapsulated_pcm16b_8khz.wav", |
| 236 | "//resources/utility/encapsulated_pcmu_8khz.wav", |
| 237 | "//resources/verizon3g-downlink.rx", |
| 238 | "//resources/verizon3g-uplink.rx", |
| 239 | "//resources/verizon4g-downlink.rx", |
| 240 | "//resources/verizon4g-uplink.rx", |
ehmaldonado | d661e9c | 2016-11-22 10:42:59 -0800 | [diff] [blame] | 241 | "//resources/voice_engine/audio_tiny48.wav", |
ehmaldonado | 3a7f35b | 2016-09-14 05:10:01 -0700 | [diff] [blame] | 242 | ] |
kjellander | 32c4a20 | 2016-08-30 02:53:49 -0700 | [diff] [blame] | 243 | |
| 244 | if (is_ios) { |
| 245 | bundle_data("modules_unittests_bundle_data") { |
| 246 | testonly = true |
| 247 | sources = modules_unittests_resources |
| 248 | outputs = [ |
| 249 | "{{bundle_resources_dir}}/{{source_file_part}}", |
| 250 | ] |
| 251 | } |
| 252 | } |
| 253 | |
minyue | 4aec1d4 | 2016-09-21 23:01:26 -0700 | [diff] [blame] | 254 | rtc_source_set("audio_network_adaptor_unittests") { |
| 255 | # Put sources for unittests of audio network adaptor in a separate |
| 256 | # rtc_source_set to solve name collision on bitrate_controller_unittest.cc. |
| 257 | testonly = true |
| 258 | sources = [ |
| 259 | "audio_coding/audio_network_adaptor/audio_network_adaptor_impl_unittest.cc", |
| 260 | "audio_coding/audio_network_adaptor/bitrate_controller_unittest.cc", |
| 261 | "audio_coding/audio_network_adaptor/channel_controller_unittest.cc", |
| 262 | "audio_coding/audio_network_adaptor/controller_manager_unittest.cc", |
| 263 | "audio_coding/audio_network_adaptor/dtx_controller_unittest.cc", |
minyue | d0ede44 | 2016-09-22 06:20:50 -0700 | [diff] [blame] | 264 | "audio_coding/audio_network_adaptor/fec_controller_unittest.cc", |
minyue | 4aec1d4 | 2016-09-21 23:01:26 -0700 | [diff] [blame] | 265 | "audio_coding/audio_network_adaptor/frame_length_controller_unittest.cc", |
| 266 | "audio_coding/audio_network_adaptor/mock/mock_controller.h", |
| 267 | "audio_coding/audio_network_adaptor/mock/mock_controller_manager.h", |
minyue | 4aec1d4 | 2016-09-21 23:01:26 -0700 | [diff] [blame] | 268 | ] |
| 269 | deps = [ |
| 270 | "audio_coding:audio_network_adaptor", |
| 271 | "//testing/gmock", |
| 272 | "//testing/gtest", |
| 273 | ] |
minyue | a1d9ad0 | 2016-10-02 14:53:37 -0700 | [diff] [blame] | 274 | if (rtc_enable_protobuf) { |
| 275 | deps += [ "audio_coding:ana_config_proto" ] |
| 276 | defines = [ "WEBRTC_AUDIO_NETWORK_ADAPTOR_DEBUG_DUMP" ] |
| 277 | } |
kjellander | e40a7ee | 2016-10-16 23:56:12 -0700 | [diff] [blame] | 278 | if (!build_with_chromium && is_clang) { |
minyue | 4aec1d4 | 2016-09-21 23:01:26 -0700 | [diff] [blame] | 279 | # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
| 280 | suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 281 | } |
| 282 | } |
| 283 | |
ehmaldonado | 38a2132 | 2016-09-02 04:10:34 -0700 | [diff] [blame] | 284 | rtc_test("modules_unittests") { |
kjellander | fb11424 | 2016-06-13 00:19:48 -0700 | [diff] [blame] | 285 | testonly = true |
| 286 | |
| 287 | defines = audio_coding_defines |
ossu | 7f40ba4 | 2016-09-21 05:50:37 -0700 | [diff] [blame] | 288 | deps = [] |
kjellander | fb11424 | 2016-06-13 00:19:48 -0700 | [diff] [blame] | 289 | sources = [ |
henrik.lundin | 2504c0a | 2016-10-06 01:31:32 -0700 | [diff] [blame] | 290 | "audio_coding/acm2/acm_receiver_unittest.cc", |
| 291 | "audio_coding/acm2/audio_coding_module_unittest.cc", |
kjellander | fb11424 | 2016-06-13 00:19:48 -0700 | [diff] [blame] | 292 | "audio_coding/acm2/call_statistics_unittest.cc", |
| 293 | "audio_coding/acm2/codec_manager_unittest.cc", |
kjellander | fb11424 | 2016-06-13 00:19:48 -0700 | [diff] [blame] | 294 | "audio_coding/acm2/rent_a_codec_unittest.cc", |
| 295 | "audio_coding/codecs/audio_decoder_factory_unittest.cc", |
| 296 | "audio_coding/codecs/cng/audio_encoder_cng_unittest.cc", |
| 297 | "audio_coding/codecs/cng/cng_unittest.cc", |
kwiberg | 619a211 | 2016-08-24 02:46:44 -0700 | [diff] [blame] | 298 | "audio_coding/codecs/ilbc/ilbc_unittest.cc", |
kjellander | fb11424 | 2016-06-13 00:19:48 -0700 | [diff] [blame] | 299 | "audio_coding/codecs/isac/fix/source/filterbanks_unittest.cc", |
| 300 | "audio_coding/codecs/isac/fix/source/filters_unittest.cc", |
| 301 | "audio_coding/codecs/isac/fix/source/lpc_masking_model_unittest.cc", |
| 302 | "audio_coding/codecs/isac/fix/source/transform_unittest.cc", |
| 303 | "audio_coding/codecs/isac/main/source/audio_encoder_isac_unittest.cc", |
| 304 | "audio_coding/codecs/isac/main/source/isac_unittest.cc", |
| 305 | "audio_coding/codecs/isac/unittest.cc", |
ossu | 0d526d5 | 2016-09-21 01:57:31 -0700 | [diff] [blame] | 306 | "audio_coding/codecs/legacy_encoded_audio_frame_unittest.cc", |
kjellander | fb11424 | 2016-06-13 00:19:48 -0700 | [diff] [blame] | 307 | "audio_coding/codecs/mock/mock_audio_encoder.cc", |
| 308 | "audio_coding/codecs/opus/audio_encoder_opus_unittest.cc", |
| 309 | "audio_coding/codecs/opus/opus_unittest.cc", |
| 310 | "audio_coding/codecs/red/audio_encoder_copy_red_unittest.cc", |
| 311 | "audio_coding/neteq/audio_classifier_unittest.cc", |
| 312 | "audio_coding/neteq/audio_multi_vector_unittest.cc", |
| 313 | "audio_coding/neteq/audio_vector_unittest.cc", |
| 314 | "audio_coding/neteq/background_noise_unittest.cc", |
| 315 | "audio_coding/neteq/buffer_level_filter_unittest.cc", |
| 316 | "audio_coding/neteq/comfort_noise_unittest.cc", |
| 317 | "audio_coding/neteq/decision_logic_unittest.cc", |
| 318 | "audio_coding/neteq/decoder_database_unittest.cc", |
| 319 | "audio_coding/neteq/delay_manager_unittest.cc", |
| 320 | "audio_coding/neteq/delay_peak_detector_unittest.cc", |
| 321 | "audio_coding/neteq/dsp_helper_unittest.cc", |
| 322 | "audio_coding/neteq/dtmf_buffer_unittest.cc", |
| 323 | "audio_coding/neteq/dtmf_tone_generator_unittest.cc", |
| 324 | "audio_coding/neteq/expand_unittest.cc", |
| 325 | "audio_coding/neteq/merge_unittest.cc", |
| 326 | "audio_coding/neteq/mock/mock_audio_decoder.h", |
kjellander | fb11424 | 2016-06-13 00:19:48 -0700 | [diff] [blame] | 327 | "audio_coding/neteq/mock/mock_buffer_level_filter.h", |
| 328 | "audio_coding/neteq/mock/mock_decoder_database.h", |
| 329 | "audio_coding/neteq/mock/mock_delay_manager.h", |
| 330 | "audio_coding/neteq/mock/mock_delay_peak_detector.h", |
| 331 | "audio_coding/neteq/mock/mock_dtmf_buffer.h", |
| 332 | "audio_coding/neteq/mock/mock_dtmf_tone_generator.h", |
| 333 | "audio_coding/neteq/mock/mock_expand.h", |
| 334 | "audio_coding/neteq/mock/mock_external_decoder_pcm16b.h", |
| 335 | "audio_coding/neteq/mock/mock_packet_buffer.h", |
ossu | a70695a | 2016-09-22 02:06:28 -0700 | [diff] [blame] | 336 | "audio_coding/neteq/mock/mock_red_payload_splitter.h", |
kjellander | fb11424 | 2016-06-13 00:19:48 -0700 | [diff] [blame] | 337 | "audio_coding/neteq/nack_tracker_unittest.cc", |
| 338 | "audio_coding/neteq/neteq_external_decoder_unittest.cc", |
| 339 | "audio_coding/neteq/neteq_impl_unittest.cc", |
| 340 | "audio_coding/neteq/neteq_network_stats_unittest.cc", |
| 341 | "audio_coding/neteq/neteq_stereo_unittest.cc", |
| 342 | "audio_coding/neteq/neteq_unittest.cc", |
| 343 | "audio_coding/neteq/normal_unittest.cc", |
| 344 | "audio_coding/neteq/packet_buffer_unittest.cc", |
kjellander | fb11424 | 2016-06-13 00:19:48 -0700 | [diff] [blame] | 345 | "audio_coding/neteq/post_decode_vad_unittest.cc", |
| 346 | "audio_coding/neteq/random_vector_unittest.cc", |
ossu | a70695a | 2016-09-22 02:06:28 -0700 | [diff] [blame] | 347 | "audio_coding/neteq/red_payload_splitter_unittest.cc", |
kjellander | fb11424 | 2016-06-13 00:19:48 -0700 | [diff] [blame] | 348 | "audio_coding/neteq/sync_buffer_unittest.cc", |
| 349 | "audio_coding/neteq/tick_timer_unittest.cc", |
| 350 | "audio_coding/neteq/time_stretch_unittest.cc", |
| 351 | "audio_coding/neteq/timestamp_scaler_unittest.cc", |
| 352 | "audio_coding/neteq/tools/input_audio_file_unittest.cc", |
| 353 | "audio_coding/neteq/tools/packet_unittest.cc", |
| 354 | "audio_conference_mixer/test/audio_conference_mixer_unittest.cc", |
| 355 | "audio_device/fine_audio_buffer_unittest.cc", |
aleloi | 4b8bfb8 | 2016-10-12 02:14:59 -0700 | [diff] [blame] | 356 | "audio_mixer/audio_frame_manipulator_unittest.cc", |
aleloi | 116ec6d | 2016-10-12 06:07:07 -0700 | [diff] [blame] | 357 | "audio_mixer/audio_mixer_impl_unittest.cc", |
kjellander | fb11424 | 2016-06-13 00:19:48 -0700 | [diff] [blame] | 358 | "audio_processing/aec/echo_cancellation_unittest.cc", |
| 359 | "audio_processing/aec/system_delay_unittest.cc", |
| 360 | "audio_processing/agc/agc_manager_direct_unittest.cc", |
kjellander | fb11424 | 2016-06-13 00:19:48 -0700 | [diff] [blame] | 361 | "audio_processing/agc/loudness_histogram_unittest.cc", |
| 362 | "audio_processing/agc/mock_agc.h", |
Alejandro Luebs | a181c9a | 2016-06-30 15:33:37 -0700 | [diff] [blame] | 363 | "audio_processing/audio_buffer_unittest.cc", |
kjellander | fb11424 | 2016-06-13 00:19:48 -0700 | [diff] [blame] | 364 | "audio_processing/beamformer/array_util_unittest.cc", |
| 365 | "audio_processing/beamformer/complex_matrix_unittest.cc", |
| 366 | "audio_processing/beamformer/covariance_matrix_generator_unittest.cc", |
| 367 | "audio_processing/beamformer/matrix_unittest.cc", |
| 368 | "audio_processing/beamformer/mock_nonlinear_beamformer.h", |
| 369 | "audio_processing/beamformer/nonlinear_beamformer_unittest.cc", |
solenberg | 88499ec | 2016-09-07 07:34:41 -0700 | [diff] [blame] | 370 | "audio_processing/config_unittest.cc", |
kjellander | fb11424 | 2016-06-13 00:19:48 -0700 | [diff] [blame] | 371 | "audio_processing/echo_cancellation_impl_unittest.cc", |
kjellander | fb11424 | 2016-06-13 00:19:48 -0700 | [diff] [blame] | 372 | "audio_processing/splitting_filter_unittest.cc", |
| 373 | "audio_processing/transient/dyadic_decimator_unittest.cc", |
| 374 | "audio_processing/transient/file_utils.cc", |
| 375 | "audio_processing/transient/file_utils.h", |
| 376 | "audio_processing/transient/file_utils_unittest.cc", |
| 377 | "audio_processing/transient/moving_moments_unittest.cc", |
| 378 | "audio_processing/transient/transient_detector_unittest.cc", |
| 379 | "audio_processing/transient/transient_suppressor_unittest.cc", |
| 380 | "audio_processing/transient/wpd_node_unittest.cc", |
| 381 | "audio_processing/transient/wpd_tree_unittest.cc", |
| 382 | "audio_processing/utility/block_mean_calculator_unittest.cc", |
| 383 | "audio_processing/utility/delay_estimator_unittest.cc", |
| 384 | "audio_processing/vad/gmm_unittest.cc", |
| 385 | "audio_processing/vad/pitch_based_vad_unittest.cc", |
| 386 | "audio_processing/vad/pitch_internal_unittest.cc", |
| 387 | "audio_processing/vad/pole_zero_filter_unittest.cc", |
| 388 | "audio_processing/vad/standalone_vad_unittest.cc", |
| 389 | "audio_processing/vad/vad_audio_proc_unittest.cc", |
| 390 | "audio_processing/vad/vad_circular_buffer_unittest.cc", |
| 391 | "audio_processing/vad/voice_activity_detector_unittest.cc", |
| 392 | "bitrate_controller/bitrate_controller_unittest.cc", |
| 393 | "bitrate_controller/send_side_bandwidth_estimation_unittest.cc", |
| 394 | "congestion_controller/congestion_controller_unittest.cc", |
stefan | 5e12d36 | 2016-07-11 01:44:02 -0700 | [diff] [blame] | 395 | "congestion_controller/delay_based_bwe_unittest.cc", |
| 396 | "congestion_controller/delay_based_bwe_unittest_helper.cc", |
| 397 | "congestion_controller/delay_based_bwe_unittest_helper.h", |
philipel | bf8a2c9 | 2016-08-10 19:00:39 +0200 | [diff] [blame] | 398 | "congestion_controller/probe_bitrate_estimator_unittest.cc", |
Irfan Sheriff | b2540bb | 2016-09-12 12:28:54 -0700 | [diff] [blame] | 399 | "congestion_controller/probe_controller_unittest.cc", |
michaelt | 4a4b3cf | 2016-11-17 01:18:43 -0800 | [diff] [blame] | 400 | "congestion_controller/probing_interval_estimator_unittest.cc", |
Stefan Holmer | 280de9e | 2016-09-30 10:06:51 +0200 | [diff] [blame] | 401 | "congestion_controller/transport_feedback_adapter_unittest.cc", |
terelius | afaef8b | 2016-11-17 03:48:18 -0800 | [diff] [blame] | 402 | "congestion_controller/trendline_estimator_unittest.cc", |
kjellander | fb11424 | 2016-06-13 00:19:48 -0700 | [diff] [blame] | 403 | "media_file/media_file_unittest.cc", |
| 404 | "module_common_types_unittest.cc", |
isheriff | 3168781 | 2016-10-04 08:43:09 -0700 | [diff] [blame] | 405 | "pacing/alr_detector_unittest.cc", |
kjellander | fb11424 | 2016-06-13 00:19:48 -0700 | [diff] [blame] | 406 | "pacing/bitrate_prober_unittest.cc", |
| 407 | "pacing/paced_sender_unittest.cc", |
| 408 | "pacing/packet_router_unittest.cc", |
michaelt | 4a4b3cf | 2016-11-17 01:18:43 -0800 | [diff] [blame] | 409 | "remote_bitrate_estimator/aimd_rate_control_unittest.cc", |
kjellander | fb11424 | 2016-06-13 00:19:48 -0700 | [diff] [blame] | 410 | "remote_bitrate_estimator/include/mock/mock_remote_bitrate_estimator.h", |
| 411 | "remote_bitrate_estimator/include/mock/mock_remote_bitrate_observer.h", |
| 412 | "remote_bitrate_estimator/inter_arrival_unittest.cc", |
| 413 | "remote_bitrate_estimator/overuse_detector_unittest.cc", |
| 414 | "remote_bitrate_estimator/remote_bitrate_estimator_abs_send_time_unittest.cc", |
| 415 | "remote_bitrate_estimator/remote_bitrate_estimator_single_stream_unittest.cc", |
| 416 | "remote_bitrate_estimator/remote_bitrate_estimator_unittest_helper.cc", |
| 417 | "remote_bitrate_estimator/remote_bitrate_estimator_unittest_helper.h", |
| 418 | "remote_bitrate_estimator/remote_estimator_proxy_unittest.cc", |
| 419 | "remote_bitrate_estimator/send_time_history_unittest.cc", |
| 420 | "remote_bitrate_estimator/test/bwe_test_framework_unittest.cc", |
| 421 | "remote_bitrate_estimator/test/bwe_unittest.cc", |
| 422 | "remote_bitrate_estimator/test/estimators/nada_unittest.cc", |
| 423 | "remote_bitrate_estimator/test/metric_recorder_unittest.cc", |
kjellander | fb11424 | 2016-06-13 00:19:48 -0700 | [diff] [blame] | 424 | "rtp_rtcp/source/byte_io_unittest.cc", |
kjellander | fb11424 | 2016-06-13 00:19:48 -0700 | [diff] [blame] | 425 | "rtp_rtcp/source/fec_test_helper.cc", |
| 426 | "rtp_rtcp/source/fec_test_helper.h", |
brandtr | 0496de2 | 2016-10-03 00:43:25 -0700 | [diff] [blame] | 427 | "rtp_rtcp/source/flexfec_header_reader_writer_unittest.cc", |
brandtr | a8b3855 | 2016-10-10 16:44:57 -0700 | [diff] [blame] | 428 | "rtp_rtcp/source/flexfec_receiver_unittest.cc", |
brandtr | c295e00 | 2016-11-03 09:22:33 -0700 | [diff] [blame] | 429 | "rtp_rtcp/source/flexfec_sender_unittest.cc", |
kjellander | fb11424 | 2016-06-13 00:19:48 -0700 | [diff] [blame] | 430 | "rtp_rtcp/source/nack_rtx_unittest.cc", |
| 431 | "rtp_rtcp/source/packet_loss_stats_unittest.cc", |
isheriff | 8df4d0e | 2016-08-18 07:53:36 -0700 | [diff] [blame] | 432 | "rtp_rtcp/source/playout_delay_oracle_unittest.cc", |
kjellander | fb11424 | 2016-06-13 00:19:48 -0700 | [diff] [blame] | 433 | "rtp_rtcp/source/receive_statistics_unittest.cc", |
| 434 | "rtp_rtcp/source/remote_ntp_time_estimator_unittest.cc", |
kjellander | fb11424 | 2016-06-13 00:19:48 -0700 | [diff] [blame] | 435 | "rtp_rtcp/source/rtcp_packet/app_unittest.cc", |
| 436 | "rtp_rtcp/source/rtcp_packet/bye_unittest.cc", |
| 437 | "rtp_rtcp/source/rtcp_packet/common_header_unittest.cc", |
| 438 | "rtp_rtcp/source/rtcp_packet/compound_packet_unittest.cc", |
| 439 | "rtp_rtcp/source/rtcp_packet/dlrr_unittest.cc", |
| 440 | "rtp_rtcp/source/rtcp_packet/extended_jitter_report_unittest.cc", |
| 441 | "rtp_rtcp/source/rtcp_packet/extended_reports_unittest.cc", |
| 442 | "rtp_rtcp/source/rtcp_packet/fir_unittest.cc", |
| 443 | "rtp_rtcp/source/rtcp_packet/nack_unittest.cc", |
| 444 | "rtp_rtcp/source/rtcp_packet/pli_unittest.cc", |
| 445 | "rtp_rtcp/source/rtcp_packet/rapid_resync_request_unittest.cc", |
| 446 | "rtp_rtcp/source/rtcp_packet/receiver_report_unittest.cc", |
| 447 | "rtp_rtcp/source/rtcp_packet/remb_unittest.cc", |
| 448 | "rtp_rtcp/source/rtcp_packet/report_block_unittest.cc", |
| 449 | "rtp_rtcp/source/rtcp_packet/rpsi_unittest.cc", |
| 450 | "rtp_rtcp/source/rtcp_packet/rrtr_unittest.cc", |
| 451 | "rtp_rtcp/source/rtcp_packet/sdes_unittest.cc", |
| 452 | "rtp_rtcp/source/rtcp_packet/sender_report_unittest.cc", |
| 453 | "rtp_rtcp/source/rtcp_packet/sli_unittest.cc", |
sprang | b84ad63 | 2016-11-01 02:50:12 -0700 | [diff] [blame] | 454 | "rtp_rtcp/source/rtcp_packet/target_bitrate_unittest.cc", |
kjellander | fb11424 | 2016-06-13 00:19:48 -0700 | [diff] [blame] | 455 | "rtp_rtcp/source/rtcp_packet/tmmbn_unittest.cc", |
| 456 | "rtp_rtcp/source/rtcp_packet/tmmbr_unittest.cc", |
| 457 | "rtp_rtcp/source/rtcp_packet/transport_feedback_unittest.cc", |
| 458 | "rtp_rtcp/source/rtcp_packet/voip_metric_unittest.cc", |
| 459 | "rtp_rtcp/source/rtcp_packet_unittest.cc", |
| 460 | "rtp_rtcp/source/rtcp_receiver_unittest.cc", |
| 461 | "rtp_rtcp/source/rtcp_sender_unittest.cc", |
| 462 | "rtp_rtcp/source/rtcp_utility_unittest.cc", |
| 463 | "rtp_rtcp/source/rtp_fec_unittest.cc", |
| 464 | "rtp_rtcp/source/rtp_format_h264_unittest.cc", |
| 465 | "rtp_rtcp/source/rtp_format_vp8_test_helper.cc", |
| 466 | "rtp_rtcp/source/rtp_format_vp8_test_helper.h", |
| 467 | "rtp_rtcp/source/rtp_format_vp8_unittest.cc", |
| 468 | "rtp_rtcp/source/rtp_format_vp9_unittest.cc", |
| 469 | "rtp_rtcp/source/rtp_header_extension_unittest.cc", |
| 470 | "rtp_rtcp/source/rtp_packet_history_unittest.cc", |
| 471 | "rtp_rtcp/source/rtp_packet_unittest.cc", |
| 472 | "rtp_rtcp/source/rtp_payload_registry_unittest.cc", |
| 473 | "rtp_rtcp/source/rtp_rtcp_impl_unittest.cc", |
| 474 | "rtp_rtcp/source/rtp_sender_unittest.cc", |
danilchap | b7374db | 2016-11-24 09:06:05 -0800 | [diff] [blame] | 475 | "rtp_rtcp/source/rtp_utility_unittest.cc", |
kjellander | fb11424 | 2016-06-13 00:19:48 -0700 | [diff] [blame] | 476 | "rtp_rtcp/source/time_util_unittest.cc", |
brandtr | 869e7cd | 2016-10-31 05:27:07 -0700 | [diff] [blame] | 477 | "rtp_rtcp/source/ulpfec_generator_unittest.cc", |
Rasmus Brandt | 78db158 | 2016-09-21 09:19:34 +0200 | [diff] [blame] | 478 | "rtp_rtcp/source/ulpfec_header_reader_writer_unittest.cc", |
brandtr | d55c3f6 | 2016-10-31 04:51:33 -0700 | [diff] [blame] | 479 | "rtp_rtcp/source/ulpfec_receiver_unittest.cc", |
kjellander | fb11424 | 2016-06-13 00:19:48 -0700 | [diff] [blame] | 480 | "rtp_rtcp/source/vp8_partition_aggregator_unittest.cc", |
| 481 | "rtp_rtcp/test/testAPI/test_api.cc", |
| 482 | "rtp_rtcp/test/testAPI/test_api.h", |
| 483 | "rtp_rtcp/test/testAPI/test_api_audio.cc", |
| 484 | "rtp_rtcp/test/testAPI/test_api_rtcp.cc", |
| 485 | "rtp_rtcp/test/testAPI/test_api_video.cc", |
kwiberg | 9d7eb13 | 2016-08-16 04:08:30 -0700 | [diff] [blame] | 486 | "utility/source/file_player_unittests.cc", |
kjellander | fb11424 | 2016-06-13 00:19:48 -0700 | [diff] [blame] | 487 | "utility/source/process_thread_impl_unittest.cc", |
| 488 | "video_coding/codecs/test/packet_manipulator_unittest.cc", |
| 489 | "video_coding/codecs/test/stats_unittest.cc", |
| 490 | "video_coding/codecs/test/videoprocessor_unittest.cc", |
| 491 | "video_coding/codecs/vp8/default_temporal_layers_unittest.cc", |
| 492 | "video_coding/codecs/vp8/reference_picture_selection_unittest.cc", |
| 493 | "video_coding/codecs/vp8/screenshare_layers_unittest.cc", |
| 494 | "video_coding/codecs/vp8/simulcast_encoder_adapter_unittest.cc", |
| 495 | "video_coding/codecs/vp8/simulcast_unittest.cc", |
| 496 | "video_coding/codecs/vp8/simulcast_unittest.h", |
| 497 | "video_coding/decoding_state_unittest.cc", |
| 498 | "video_coding/frame_buffer2_unittest.cc", |
philipel | 34852cf | 2016-11-03 04:03:01 -0700 | [diff] [blame] | 499 | "video_coding/h264_sps_pps_tracker_unittest.cc", |
kjellander | fb11424 | 2016-06-13 00:19:48 -0700 | [diff] [blame] | 500 | "video_coding/histogram_unittest.cc", |
| 501 | "video_coding/include/mock/mock_vcm_callbacks.h", |
| 502 | "video_coding/jitter_buffer_unittest.cc", |
| 503 | "video_coding/jitter_estimator_tests.cc", |
kjellander | fb11424 | 2016-06-13 00:19:48 -0700 | [diff] [blame] | 504 | "video_coding/nack_module_unittest.cc", |
kjellander | fb11424 | 2016-06-13 00:19:48 -0700 | [diff] [blame] | 505 | "video_coding/protection_bitrate_calculator_unittest.cc", |
| 506 | "video_coding/receiver_unittest.cc", |
philipel | 17deeb4 | 2016-08-11 15:09:26 +0200 | [diff] [blame] | 507 | "video_coding/rtp_frame_reference_finder_unittest.cc", |
kjellander | fb11424 | 2016-06-13 00:19:48 -0700 | [diff] [blame] | 508 | "video_coding/sequence_number_util_unittest.cc", |
| 509 | "video_coding/session_info_unittest.cc", |
| 510 | "video_coding/test/stream_generator.cc", |
| 511 | "video_coding/test/stream_generator.h", |
| 512 | "video_coding/timing_unittest.cc", |
Erik Språng | 08127a9 | 2016-11-16 16:41:30 +0100 | [diff] [blame] | 513 | "video_coding/utility/default_video_bitrate_allocator_unittest.cc", |
kjellander | fb11424 | 2016-06-13 00:19:48 -0700 | [diff] [blame] | 514 | "video_coding/utility/frame_dropper_unittest.cc", |
kjellander | fb11424 | 2016-06-13 00:19:48 -0700 | [diff] [blame] | 515 | "video_coding/utility/ivf_file_writer_unittest.cc", |
kthelgason | 194f40a | 2016-09-14 02:14:58 -0700 | [diff] [blame] | 516 | "video_coding/utility/moving_average_unittest.cc", |
kjellander | fb11424 | 2016-06-13 00:19:48 -0700 | [diff] [blame] | 517 | "video_coding/utility/quality_scaler_unittest.cc", |
Erik Språng | 78ce619 | 2016-09-12 16:04:43 +0200 | [diff] [blame] | 518 | "video_coding/utility/simulcast_rate_allocator_unittest.cc", |
kjellander | fb11424 | 2016-06-13 00:19:48 -0700 | [diff] [blame] | 519 | "video_coding/video_coding_robustness_unittest.cc", |
| 520 | "video_coding/video_packet_buffer_unittest.cc", |
| 521 | "video_coding/video_receiver_unittest.cc", |
| 522 | "video_coding/video_sender_unittest.cc", |
| 523 | "video_processing/test/denoiser_test.cc", |
kjellander | fb11424 | 2016-06-13 00:19:48 -0700 | [diff] [blame] | 524 | ] |
| 525 | |
peah | c435946 | 2016-09-01 22:03:23 -0700 | [diff] [blame] | 526 | if (apm_debug_dump) { |
| 527 | defines += [ "WEBRTC_APM_DEBUG_DUMP=1" ] |
| 528 | } else { |
| 529 | defines += [ "WEBRTC_APM_DEBUG_DUMP=0" ] |
| 530 | } |
| 531 | |
peah | 1bcfce5 | 2016-08-26 07:16:04 -0700 | [diff] [blame] | 532 | if (rtc_enable_intelligibility_enhancer) { |
| 533 | defines += [ "WEBRTC_INTELLIGIBILITY_ENHANCER=1" ] |
| 534 | sources += [ |
| 535 | "audio_processing/intelligibility/intelligibility_enhancer_unittest.cc", |
| 536 | "audio_processing/intelligibility/intelligibility_utils_unittest.cc", |
| 537 | ] |
| 538 | } else { |
| 539 | defines += [ "WEBRTC_INTELLIGIBILITY_ENHANCER=0" ] |
| 540 | } |
| 541 | |
kjellander | fb11424 | 2016-06-13 00:19:48 -0700 | [diff] [blame] | 542 | if (rtc_libvpx_build_vp9) { |
| 543 | sources += |
| 544 | [ "video_coding/codecs/vp9/vp9_screenshare_layers_unittest.cc" ] |
| 545 | } |
| 546 | |
| 547 | if (rtc_desktop_capture_supported || is_android) { |
| 548 | deps += [ "desktop_capture" ] |
| 549 | sources += [ |
| 550 | "desktop_capture/desktop_region_unittest.cc", |
| 551 | "desktop_capture/differ_block_unittest.cc", |
kjellander | fb11424 | 2016-06-13 00:19:48 -0700 | [diff] [blame] | 552 | ] |
| 553 | } |
| 554 | |
| 555 | if (rtc_desktop_capture_supported) { |
zijiehe | 54fd579 | 2016-11-02 14:49:35 -0700 | [diff] [blame] | 556 | deps += [ "desktop_capture:desktop_capture_mock" ] |
kjellander | fb11424 | 2016-06-13 00:19:48 -0700 | [diff] [blame] | 557 | sources += [ |
| 558 | "desktop_capture/desktop_and_cursor_composer_unittest.cc", |
zijiehe | 54fd579 | 2016-11-02 14:49:35 -0700 | [diff] [blame] | 559 | "desktop_capture/desktop_capturer_differ_wrapper_unittest.cc", |
zijiehe | 90ea736 | 2016-11-22 17:17:09 -0800 | [diff] [blame] | 560 | "desktop_capture/desktop_frame_rotation_unittest.cc", |
kjellander | fb11424 | 2016-06-13 00:19:48 -0700 | [diff] [blame] | 561 | "desktop_capture/mouse_cursor_monitor_unittest.cc", |
zijiehe | acc39c4 | 2016-09-21 12:23:15 -0700 | [diff] [blame] | 562 | "desktop_capture/rgba_color_unittest.cc", |
kjellander | fb11424 | 2016-06-13 00:19:48 -0700 | [diff] [blame] | 563 | "desktop_capture/screen_capturer_helper_unittest.cc", |
| 564 | "desktop_capture/screen_capturer_mac_unittest.cc", |
| 565 | "desktop_capture/screen_capturer_mock_objects.h", |
| 566 | "desktop_capture/screen_capturer_unittest.cc", |
zijiehe | 90ea736 | 2016-11-22 17:17:09 -0800 | [diff] [blame] | 567 | "desktop_capture/test_utils.cc", |
| 568 | "desktop_capture/test_utils.h", |
| 569 | "desktop_capture/test_utils_unittest.cc", |
kjellander | fb11424 | 2016-06-13 00:19:48 -0700 | [diff] [blame] | 570 | "desktop_capture/win/cursor_unittest.cc", |
| 571 | "desktop_capture/win/cursor_unittest_resources.h", |
| 572 | "desktop_capture/win/cursor_unittest_resources.rc", |
| 573 | "desktop_capture/window_capturer_unittest.cc", |
| 574 | ] |
| 575 | } |
| 576 | |
| 577 | if (rtc_prefer_fixed_point) { |
| 578 | defines += [ "WEBRTC_AUDIOPROC_FIXED_PROFILE" ] |
| 579 | } else { |
| 580 | defines += [ "WEBRTC_AUDIOPROC_FLOAT_PROFILE" ] |
| 581 | } |
| 582 | |
| 583 | if (rtc_enable_protobuf) { |
| 584 | defines += [ |
| 585 | "WEBRTC_AUDIOPROC_DEBUG_DUMP", |
| 586 | "WEBRTC_NETEQ_UNITTEST_BITEXACT", |
| 587 | ] |
| 588 | deps += [ |
| 589 | "audio_coding:neteq_unittest_proto", |
| 590 | "audio_processing:audioproc_protobuf_utils", |
| 591 | "audio_processing:audioproc_unittest_proto", |
| 592 | ] |
| 593 | sources += [ |
| 594 | "audio_processing/audio_processing_impl_locking_unittest.cc", |
| 595 | "audio_processing/audio_processing_impl_unittest.cc", |
| 596 | "audio_processing/audio_processing_unittest.cc", |
| 597 | "audio_processing/echo_cancellation_bit_exact_unittest.cc", |
| 598 | "audio_processing/echo_control_mobile_unittest.cc", |
ivoc | af27ed0 | 2016-10-28 07:04:03 -0700 | [diff] [blame] | 599 | "audio_processing/echo_detector/circular_buffer_unittest.cc", |
| 600 | "audio_processing/echo_detector/mean_variance_estimator_unittest.cc", |
| 601 | "audio_processing/echo_detector/normalized_covariance_estimator_unittest.cc", |
kjellander | fb11424 | 2016-06-13 00:19:48 -0700 | [diff] [blame] | 602 | "audio_processing/gain_control_unittest.cc", |
peah | e9a6acf | 2016-08-18 02:41:48 -0700 | [diff] [blame] | 603 | "audio_processing/level_controller/level_controller_unittest.cc", |
kjellander | fb11424 | 2016-06-13 00:19:48 -0700 | [diff] [blame] | 604 | "audio_processing/level_estimator_unittest.cc", |
peah | 8271d04 | 2016-11-22 07:24:52 -0800 | [diff] [blame] | 605 | "audio_processing/low_cut_filter_unittest.cc", |
kjellander | fb11424 | 2016-06-13 00:19:48 -0700 | [diff] [blame] | 606 | "audio_processing/noise_suppression_unittest.cc", |
ivoc | af27ed0 | 2016-10-28 07:04:03 -0700 | [diff] [blame] | 607 | "audio_processing/residual_echo_detector_unittest.cc", |
henrik.lundin | 76622ce | 2016-11-25 05:30:47 -0800 | [diff] [blame] | 608 | "audio_processing/rms_level_unittest.cc", |
kjellander | fb11424 | 2016-06-13 00:19:48 -0700 | [diff] [blame] | 609 | "audio_processing/test/bitexactness_tools.cc", |
| 610 | "audio_processing/test/bitexactness_tools.h", |
| 611 | "audio_processing/test/debug_dump_replayer.cc", |
| 612 | "audio_processing/test/debug_dump_replayer.h", |
| 613 | "audio_processing/test/debug_dump_test.cc", |
| 614 | "audio_processing/test/test_utils.h", |
| 615 | "audio_processing/voice_detection_unittest.cc", |
| 616 | ] |
| 617 | } |
| 618 | |
| 619 | if (rtc_build_libvpx) { |
| 620 | deps += [ rtc_libvpx_dir ] |
| 621 | } |
| 622 | |
kjellander | fb11424 | 2016-06-13 00:19:48 -0700 | [diff] [blame] | 623 | # TODO(jschuh): bugs.webrtc.org/1348: fix this warning. |
| 624 | configs += [ "//build/config/compiler:no_size_t_to_int_warning" ] |
| 625 | |
kjellander | e40a7ee | 2016-10-16 23:56:12 -0700 | [diff] [blame] | 626 | if (!build_with_chromium && is_clang) { |
kjellander | fb11424 | 2016-06-13 00:19:48 -0700 | [diff] [blame] | 627 | # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
ehmaldonado | 38a2132 | 2016-09-02 04:10:34 -0700 | [diff] [blame] | 628 | suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
kjellander | fb11424 | 2016-06-13 00:19:48 -0700 | [diff] [blame] | 629 | } |
| 630 | |
| 631 | if (is_win) { |
| 632 | cflags = [ |
| 633 | # TODO(kjellander): bugs.webrtc.org/261: Fix this warning. |
| 634 | "/wd4373", # virtual function override. |
| 635 | ] |
| 636 | } |
| 637 | |
| 638 | deps += [ |
minyue | 4aec1d4 | 2016-09-21 23:01:26 -0700 | [diff] [blame] | 639 | ":audio_network_adaptor_unittests", |
kjellander | fb11424 | 2016-06-13 00:19:48 -0700 | [diff] [blame] | 640 | "..:webrtc_common", |
aleloi | a8eb756 | 2016-11-28 07:02:13 -0800 | [diff] [blame] | 641 | "../api:transport_api", |
kjellander | fb11424 | 2016-06-13 00:19:48 -0700 | [diff] [blame] | 642 | "../base:rtc_base", # TODO(kjellander): Cleanup in bugs.webrtc.org/3806. |
| 643 | "../common_audio", |
| 644 | "../common_video", |
kjellander | 6ceab08 | 2016-10-28 05:44:03 -0700 | [diff] [blame] | 645 | "../system_wrappers", |
kjellander | fb11424 | 2016-06-13 00:19:48 -0700 | [diff] [blame] | 646 | "../test:rtp_test_utils", |
| 647 | "../test:test_common", |
ehmaldonado | 26bddb9 | 2016-11-30 06:12:01 -0800 | [diff] [blame] | 648 | "../test:test_main", |
aleloi | 201dfe9 | 2016-10-20 05:06:39 -0700 | [diff] [blame] | 649 | "../test:test_support", |
kjellander | fb11424 | 2016-06-13 00:19:48 -0700 | [diff] [blame] | 650 | "../test:video_test_common", |
kjellander | fb11424 | 2016-06-13 00:19:48 -0700 | [diff] [blame] | 651 | "audio_coding", |
| 652 | "audio_coding:acm_receive_test", |
| 653 | "audio_coding:acm_send_test", |
| 654 | "audio_coding:builtin_audio_decoder_factory", |
| 655 | "audio_coding:cng", |
| 656 | "audio_coding:isac_fix", |
| 657 | "audio_coding:neteq", |
| 658 | "audio_coding:neteq_test_support", |
| 659 | "audio_coding:neteq_unittest_tools", |
| 660 | "audio_coding:pcm16b", |
| 661 | "audio_coding:red", |
| 662 | "audio_coding:webrtc_opus", |
| 663 | "audio_conference_mixer", |
| 664 | "audio_device", |
kjellander | 6ceab08 | 2016-10-28 05:44:03 -0700 | [diff] [blame] | 665 | "audio_mixer", |
kjellander | fb11424 | 2016-06-13 00:19:48 -0700 | [diff] [blame] | 666 | "audio_processing", |
| 667 | "audio_processing:audioproc_test_utils", |
| 668 | "bitrate_controller", |
| 669 | "media_file", |
| 670 | "pacing", |
| 671 | "remote_bitrate_estimator", |
terelius | 3dcfd64 | 2016-10-07 00:39:56 -0700 | [diff] [blame] | 672 | "remote_bitrate_estimator:bwe_simulator_lib", |
kjellander | fb11424 | 2016-06-13 00:19:48 -0700 | [diff] [blame] | 673 | "rtp_rtcp", |
| 674 | "utility", |
| 675 | "video_capture", |
| 676 | "video_coding", |
| 677 | "video_coding:video_codecs_test_framework", |
| 678 | "video_coding:webrtc_vp8", |
| 679 | "video_coding:webrtc_vp9", |
| 680 | "video_processing", |
| 681 | "//testing/gmock", |
| 682 | "//testing/gtest", |
| 683 | "//third_party/gflags", |
| 684 | ] |
| 685 | |
ehmaldonado | 3a7f35b | 2016-09-14 05:10:01 -0700 | [diff] [blame] | 686 | data = modules_unittests_resources |
| 687 | |
kjellander | fb11424 | 2016-06-13 00:19:48 -0700 | [diff] [blame] | 688 | if (is_android) { |
sakal | bd59c71 | 2016-08-11 00:59:15 -0700 | [diff] [blame] | 689 | deps += [ |
| 690 | "//testing/android/native_test:native_test_support", |
| 691 | "//webrtc/api:libjingle_peerconnection_java", |
| 692 | ] |
kjellander | fb11424 | 2016-06-13 00:19:48 -0700 | [diff] [blame] | 693 | |
| 694 | # Need to disable error due to the line in |
| 695 | # base/android/jni_android.h triggering it: |
| 696 | # const BASE_EXPORT jobject GetApplicationContext() |
| 697 | # error: type qualifiers ignored on function return type |
| 698 | cflags = [ "-Wno-ignored-qualifiers" ] |
| 699 | sources += [ |
| 700 | "audio_device/android/audio_device_unittest.cc", |
| 701 | "audio_device/android/audio_manager_unittest.cc", |
| 702 | "audio_device/android/ensure_initialized.cc", |
| 703 | "audio_device/android/ensure_initialized.h", |
| 704 | ] |
kjellander | 28a0ffd | 2016-08-24 07:48:42 -0700 | [diff] [blame] | 705 | shard_timeout = 900 |
| 706 | } |
kjellander | fb11424 | 2016-06-13 00:19:48 -0700 | [diff] [blame] | 707 | if (is_ios) { |
kthelgason | c37e983 | 2016-09-22 08:00:52 -0700 | [diff] [blame] | 708 | info_plist = "//webrtc/test/ios/Info.plist" |
kjellander | 32c4a20 | 2016-08-30 02:53:49 -0700 | [diff] [blame] | 709 | deps += [ ":modules_unittests_bundle_data" ] |
kjellander | fb11424 | 2016-06-13 00:19:48 -0700 | [diff] [blame] | 710 | configs += [ |
| 711 | "..:common_objc", |
| 712 | "//build/config/compiler:enable_arc", |
| 713 | ] |
| 714 | |
Kári Tristan Helgason | cbe7435 | 2016-11-09 10:43:26 +0100 | [diff] [blame] | 715 | sources += [ "audio_device/ios/objc/RTCAudioSessionTest.mm" ] |
kjellander | fb11424 | 2016-06-13 00:19:48 -0700 | [diff] [blame] | 716 | |
Kári Tristan Helgason | 470c088 | 2016-10-03 13:13:29 +0200 | [diff] [blame] | 717 | if (target_cpu != "x64") { |
| 718 | sources += [ "audio_device/ios/audio_device_unittest_ios.cc" ] |
| 719 | } |
| 720 | |
kjellander | fb11424 | 2016-06-13 00:19:48 -0700 | [diff] [blame] | 721 | ldflags = [ "-ObjC" ] |
kjellander | fb11424 | 2016-06-13 00:19:48 -0700 | [diff] [blame] | 722 | } |
| 723 | } |
terelius | 3dcfd64 | 2016-10-07 00:39:56 -0700 | [diff] [blame] | 724 | |
| 725 | rtc_test("bwe_simulator") { |
| 726 | testonly = true |
| 727 | |
| 728 | deps = [] |
| 729 | sources = [ |
| 730 | "remote_bitrate_estimator/bwe_simulations.cc", |
| 731 | ] |
| 732 | |
kjellander | e40a7ee | 2016-10-16 23:56:12 -0700 | [diff] [blame] | 733 | if (!build_with_chromium && is_clang) { |
terelius | 3dcfd64 | 2016-10-07 00:39:56 -0700 | [diff] [blame] | 734 | # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
| 735 | suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
| 736 | } |
| 737 | |
| 738 | if (is_win) { |
| 739 | cflags = [ |
| 740 | # TODO(kjellander): bugs.webrtc.org/261: Fix this warning. |
| 741 | "/wd4373", # virtual function override. |
| 742 | ] |
| 743 | } |
| 744 | |
| 745 | deps += [ |
| 746 | "..:webrtc_common", |
| 747 | "../base:rtc_base_approved", |
| 748 | "../test:test_common", |
ehmaldonado | 26bddb9 | 2016-11-30 06:12:01 -0800 | [diff] [blame] | 749 | "../test:test_main", |
terelius | 3dcfd64 | 2016-10-07 00:39:56 -0700 | [diff] [blame] | 750 | "remote_bitrate_estimator:bwe_simulator_lib", |
| 751 | "video_capture", |
| 752 | "//testing/gmock", |
| 753 | "//testing/gtest", |
| 754 | "//third_party/gflags", |
| 755 | ] |
| 756 | } |
kjellander | fb11424 | 2016-06-13 00:19:48 -0700 | [diff] [blame] | 757 | } |