xians@google.com | d3185fe | 2011-09-12 12:24:39 +0000 | [diff] [blame] | 1 | # Copyright (c) 2011 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 | { |
| 10 | 'includes': [ |
wjia@google.com | fdaee9c | 2011-09-17 00:06:08 +0000 | [diff] [blame] | 11 | '../build/common.gypi', |
kjellander@webrtc.org | a33f05e | 2015-01-29 14:29:45 +0000 | [diff] [blame] | 12 | 'audio_coding/audio_coding.gypi', |
andresp@webrtc.org | 749c602 | 2015-02-25 11:50:17 +0000 | [diff] [blame] | 13 | 'audio_conference_mixer/audio_conference_mixer.gypi', |
andrew@webrtc.org | 236d5d3 | 2012-09-21 20:46:40 +0000 | [diff] [blame] | 14 | 'audio_device/audio_device.gypi', |
andrew@webrtc.org | 4d5d5c1 | 2011-10-19 01:40:33 +0000 | [diff] [blame] | 15 | 'audio_processing/audio_processing.gypi', |
pwestin@webrtc.org | 1cd1162 | 2012-04-19 12:13:52 +0000 | [diff] [blame] | 16 | 'bitrate_controller/bitrate_controller.gypi', |
sergeyu@chromium.org | 15e32cc | 2013-04-29 20:10:57 +0000 | [diff] [blame] | 17 | 'desktop_capture/desktop_capture.gypi', |
andresp@webrtc.org | 87a592d | 2015-02-25 03:18:23 +0000 | [diff] [blame] | 18 | 'media_file/media_file.gypi', |
pwestin@webrtc.org | b518017 | 2012-11-09 20:56:23 +0000 | [diff] [blame] | 19 | 'pacing/pacing.gypi', |
stefan@webrtc.org | 9354cc9 | 2012-06-07 08:10:14 +0000 | [diff] [blame] | 20 | 'remote_bitrate_estimator/remote_bitrate_estimator.gypi', |
andresp@webrtc.org | 749c602 | 2015-02-25 11:50:17 +0000 | [diff] [blame] | 21 | 'rtp_rtcp/rtp_rtcp.gypi', |
| 22 | 'utility/utility.gypi', |
Zeke Chin | 71f6f44 | 2015-06-29 14:34:58 -0700 | [diff] [blame] | 23 | 'video_coding/codecs/h264/h264.gypi', |
Henrik Kjellander | a74c08d | 2015-10-22 12:23:11 +0200 | [diff] [blame] | 24 | 'video_coding/codecs/i420/i420.gypi', |
andresp@webrtc.org | 749c602 | 2015-02-25 11:50:17 +0000 | [diff] [blame] | 25 | 'video_coding/video_coding.gypi', |
andrew@webrtc.org | 94caca7 | 2012-10-30 21:58:00 +0000 | [diff] [blame] | 26 | 'video_capture/video_capture.gypi', |
andresp@webrtc.org | 749c602 | 2015-02-25 11:50:17 +0000 | [diff] [blame] | 27 | 'video_processing/video_processing.gypi', |
andrew@webrtc.org | 9841d92 | 2012-10-31 05:22:11 +0000 | [diff] [blame] | 28 | 'video_render/video_render.gypi', |
xians@google.com | d3185fe | 2011-09-12 12:24:39 +0000 | [diff] [blame] | 29 | ], |
xians@google.com | d3185fe | 2011-09-12 12:24:39 +0000 | [diff] [blame] | 30 | 'conditions': [ |
mflodman@webrtc.org | 6af9594 | 2012-05-24 13:23:35 +0000 | [diff] [blame] | 31 | ['include_tests==1', { |
xians@google.com | d3185fe | 2011-09-12 12:24:39 +0000 | [diff] [blame] | 32 | 'includes': [ |
kjellander@webrtc.org | a33f05e | 2015-01-29 14:29:45 +0000 | [diff] [blame] | 33 | 'audio_coding/audio_coding_tests.gypi', |
andrew@webrtc.org | c732ca6 | 2012-09-10 16:33:43 +0000 | [diff] [blame] | 34 | 'audio_processing/audio_processing_tests.gypi', |
xians@google.com | d3185fe | 2011-09-12 12:24:39 +0000 | [diff] [blame] | 35 | 'rtp_rtcp/test/testFec/test_fec.gypi', |
andresp@webrtc.org | 749c602 | 2015-02-25 11:50:17 +0000 | [diff] [blame] | 36 | 'video_coding/video_coding_test.gypi', |
kjellander@webrtc.org | 35a1756 | 2011-10-06 06:44:54 +0000 | [diff] [blame] | 37 | 'video_coding/codecs/test/video_codecs_test_framework.gypi', |
| 38 | 'video_coding/codecs/tools/video_codecs_tools.gypi', |
xians@google.com | d3185fe | 2011-09-12 12:24:39 +0000 | [diff] [blame] | 39 | ], # includes |
solenberg@webrtc.org | 86136a0 | 2013-09-09 13:06:52 +0000 | [diff] [blame] | 40 | 'variables': { |
kjellander@webrtc.org | 6c35e0b | 2013-06-11 08:29:17 +0000 | [diff] [blame] | 41 | 'conditions': [ |
| 42 | # Desktop capturer is supported only on Windows, OSX and Linux. |
| 43 | ['OS=="win" or OS=="mac" or OS=="linux"', { |
| 44 | 'desktop_capture_supported%': 1, |
| 45 | }, { |
| 46 | 'desktop_capture_supported%': 0, |
| 47 | }], |
| 48 | ], |
| 49 | }, |
stefan@webrtc.org | 7bc465b | 2013-04-11 17:48:02 +0000 | [diff] [blame] | 50 | 'targets': [ |
| 51 | { |
phoglund@webrtc.org | 32fe90b | 2013-08-19 11:40:19 +0000 | [diff] [blame] | 52 | 'target_name': 'modules_tests', |
henrike@webrtc.org | 89c6740 | 2013-08-02 16:53:47 +0000 | [diff] [blame] | 53 | 'type': '<(gtest_target_type)', |
kjellander@webrtc.org | 63e9888 | 2013-06-14 20:09:44 +0000 | [diff] [blame] | 54 | 'dependencies': [ |
kjellander@webrtc.org | 63e9888 | 2013-06-14 20:09:44 +0000 | [diff] [blame] | 55 | '<(DEPTH)/testing/gtest.gyp:gtest', |
kwiberg@webrtc.org | ac2d27d | 2015-02-26 13:59:22 +0000 | [diff] [blame] | 56 | '<(webrtc_root)/common.gyp:webrtc_common', |
kjellander@webrtc.org | 63e9888 | 2013-06-14 20:09:44 +0000 | [diff] [blame] | 57 | '<(webrtc_root)/common_video/common_video.gyp:common_video', |
| 58 | '<(webrtc_root)/modules/video_coding/codecs/vp8/vp8.gyp:webrtc_vp8', |
marpan@webrtc.org | 5b88317 | 2014-11-01 06:10:48 +0000 | [diff] [blame] | 59 | '<(webrtc_root)/modules/video_coding/codecs/vp9/vp9.gyp:webrtc_vp9', |
andresp@webrtc.org | 86e1e48 | 2015-01-14 09:30:52 +0000 | [diff] [blame] | 60 | '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers', |
kjellander@webrtc.org | 63e9888 | 2013-06-14 20:09:44 +0000 | [diff] [blame] | 61 | '<(webrtc_root)/test/metrics.gyp:metrics', |
| 62 | '<(webrtc_root)/test/test.gyp:test_support', |
| 63 | '<(webrtc_root)/test/test.gyp:test_support_main', |
pbos@webrtc.org | 788acd1 | 2014-12-15 09:41:24 +0000 | [diff] [blame] | 64 | 'audio_coding_module', |
| 65 | 'rtp_rtcp', |
| 66 | 'video_codecs_test_framework', |
| 67 | 'webrtc_utility', |
| 68 | 'webrtc_video_coding', |
kjellander@webrtc.org | 63e9888 | 2013-06-14 20:09:44 +0000 | [diff] [blame] | 69 | ], |
| 70 | 'defines': [ |
| 71 | '<@(audio_coding_defines)', |
| 72 | ], |
| 73 | 'sources': [ |
kjellander | 3e6db23 | 2015-11-26 04:44:54 -0800 | [diff] [blame] | 74 | 'audio_coding/test/APITest.cc', |
| 75 | 'audio_coding/test/Channel.cc', |
| 76 | 'audio_coding/test/EncodeDecodeTest.cc', |
| 77 | 'audio_coding/test/PCMFile.cc', |
| 78 | 'audio_coding/test/PacketLossTest.cc', |
| 79 | 'audio_coding/test/RTPFile.cc', |
| 80 | 'audio_coding/test/SpatialAudio.cc', |
| 81 | 'audio_coding/test/TestAllCodecs.cc', |
| 82 | 'audio_coding/test/TestRedFec.cc', |
| 83 | 'audio_coding/test/TestStereo.cc', |
| 84 | 'audio_coding/test/TestVADDTX.cc', |
| 85 | 'audio_coding/test/Tester.cc', |
| 86 | 'audio_coding/test/TimedTrace.cc', |
| 87 | 'audio_coding/test/TwoWayCommunication.cc', |
| 88 | 'audio_coding/test/iSACTest.cc', |
| 89 | 'audio_coding/test/opus_test.cc', |
| 90 | 'audio_coding/test/target_delay_unittest.cc', |
| 91 | 'audio_coding/test/utility.cc', |
kjellander@webrtc.org | 63e9888 | 2013-06-14 20:09:44 +0000 | [diff] [blame] | 92 | 'rtp_rtcp/test/testFec/test_fec.cc', |
| 93 | 'video_coding/codecs/test/videoprocessor_integrationtest.cc', |
| 94 | 'video_coding/codecs/vp8/test/vp8_impl_unittest.cc', |
| 95 | ], |
henrike@webrtc.org | 89c6740 | 2013-08-02 16:53:47 +0000 | [diff] [blame] | 96 | 'conditions': [ |
kjellander@webrtc.org | 3bd4156 | 2014-09-01 11:06:37 +0000 | [diff] [blame] | 97 | ['OS=="android"', { |
henrike@webrtc.org | 89c6740 | 2013-08-02 16:53:47 +0000 | [diff] [blame] | 98 | 'dependencies': [ |
| 99 | '<(DEPTH)/testing/android/native_test.gyp:native_test_native_code', |
| 100 | ], |
| 101 | }], |
| 102 | ], |
kjellander@webrtc.org | 63e9888 | 2013-06-14 20:09:44 +0000 | [diff] [blame] | 103 | }, |
stefan@webrtc.org | 7bc465b | 2013-04-11 17:48:02 +0000 | [diff] [blame] | 104 | ], |
henrike@webrtc.org | 1303af3 | 2013-07-03 21:50:33 +0000 | [diff] [blame] | 105 | 'conditions': [ |
kjellander@webrtc.org | f22695c | 2015-11-19 15:39:29 +0100 | [diff] [blame] | 106 | # Does not compile on iOS for ia32 or x64: webrtc:4755. |
| 107 | ['OS!="ios" or target_arch=="arm" or target_arch=="arm64"', { |
| 108 | 'targets': [ |
| 109 | { |
| 110 | 'target_name': 'modules_unittests', |
| 111 | 'type': '<(gtest_target_type)', |
| 112 | 'defines': [ |
| 113 | '<@(audio_coding_defines)', |
| 114 | ], |
| 115 | 'dependencies': [ |
| 116 | 'acm_receive_test', |
| 117 | 'acm_send_test', |
| 118 | 'audio_coding_module', |
| 119 | 'audio_conference_mixer', |
| 120 | 'audio_device' , |
| 121 | 'audio_processing', |
| 122 | 'audioproc_test_utils', |
| 123 | 'bitrate_controller', |
| 124 | 'bwe_simulator', |
| 125 | 'cng', |
| 126 | 'desktop_capture', |
| 127 | 'isac_fix', |
| 128 | 'media_file', |
| 129 | 'neteq', |
| 130 | 'neteq_test_support', |
| 131 | 'neteq_unittest_tools', |
| 132 | 'paced_sender', |
| 133 | 'pcm16b', # Needed by NetEq tests. |
| 134 | 'red', |
| 135 | 'remote_bitrate_estimator', |
| 136 | 'rtp_rtcp', |
| 137 | 'video_codecs_test_framework', |
| 138 | 'video_processing', |
| 139 | 'webrtc_utility', |
| 140 | 'webrtc_video_coding', |
| 141 | '<@(neteq_dependencies)', |
| 142 | '<(DEPTH)/testing/gmock.gyp:gmock', |
| 143 | '<(DEPTH)/testing/gtest.gyp:gtest', |
| 144 | '<(DEPTH)/third_party/gflags/gflags.gyp:gflags', |
| 145 | '<(webrtc_root)/common.gyp:webrtc_common', |
| 146 | '<(webrtc_root)/common_audio/common_audio.gyp:common_audio', |
| 147 | '<(webrtc_root)/modules/modules.gyp:video_capture', |
| 148 | '<(webrtc_root)/modules/video_coding/codecs/vp8/vp8.gyp:webrtc_vp8', |
| 149 | '<(webrtc_root)/modules/video_coding/codecs/vp9/vp9.gyp:webrtc_vp9', |
| 150 | '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers', |
| 151 | '<(webrtc_root)/test/test.gyp:frame_generator', |
| 152 | '<(webrtc_root)/test/test.gyp:rtp_test_utils', |
| 153 | '<(webrtc_root)/test/test.gyp:test_support_main', |
| 154 | '<(webrtc_root)/test/webrtc_test_common.gyp:webrtc_test_common', |
| 155 | '<(webrtc_root)/tools/tools.gyp:agc_test_utils', |
| 156 | ], |
| 157 | 'sources': [ |
| 158 | 'audio_coding/codecs/cng/audio_encoder_cng_unittest.cc', |
kjellander | 3e6db23 | 2015-11-26 04:44:54 -0800 | [diff] [blame] | 159 | 'audio_coding/acm2/acm_receiver_unittest_oldapi.cc', |
| 160 | 'audio_coding/acm2/audio_coding_module_unittest_oldapi.cc', |
| 161 | 'audio_coding/acm2/call_statistics_unittest.cc', |
| 162 | 'audio_coding/acm2/codec_manager_unittest.cc', |
| 163 | 'audio_coding/acm2/initial_delay_manager_unittest.cc', |
| 164 | 'audio_coding/acm2/rent_a_codec_unittest.cc', |
kjellander@webrtc.org | f22695c | 2015-11-19 15:39:29 +0100 | [diff] [blame] | 165 | 'audio_coding/codecs/cng/cng_unittest.cc', |
| 166 | 'audio_coding/codecs/isac/fix/source/filters_unittest.cc', |
| 167 | 'audio_coding/codecs/isac/fix/source/filterbanks_unittest.cc', |
| 168 | 'audio_coding/codecs/isac/fix/source/lpc_masking_model_unittest.cc', |
| 169 | 'audio_coding/codecs/isac/fix/source/transform_unittest.cc', |
| 170 | 'audio_coding/codecs/isac/main/source/audio_encoder_isac_unittest.cc', |
| 171 | 'audio_coding/codecs/isac/main/source/isac_unittest.cc', |
| 172 | 'audio_coding/codecs/isac/unittest.cc', |
| 173 | 'audio_coding/codecs/opus/audio_encoder_opus_unittest.cc', |
| 174 | 'audio_coding/codecs/opus/opus_unittest.cc', |
| 175 | 'audio_coding/codecs/red/audio_encoder_copy_red_unittest.cc', |
| 176 | 'audio_coding/neteq/audio_classifier_unittest.cc', |
| 177 | 'audio_coding/neteq/audio_multi_vector_unittest.cc', |
| 178 | 'audio_coding/neteq/audio_vector_unittest.cc', |
| 179 | 'audio_coding/neteq/background_noise_unittest.cc', |
| 180 | 'audio_coding/neteq/buffer_level_filter_unittest.cc', |
| 181 | 'audio_coding/neteq/comfort_noise_unittest.cc', |
| 182 | 'audio_coding/neteq/decision_logic_unittest.cc', |
| 183 | 'audio_coding/neteq/decoder_database_unittest.cc', |
| 184 | 'audio_coding/neteq/delay_manager_unittest.cc', |
| 185 | 'audio_coding/neteq/delay_peak_detector_unittest.cc', |
| 186 | 'audio_coding/neteq/dsp_helper_unittest.cc', |
| 187 | 'audio_coding/neteq/dtmf_buffer_unittest.cc', |
| 188 | 'audio_coding/neteq/dtmf_tone_generator_unittest.cc', |
| 189 | 'audio_coding/neteq/expand_unittest.cc', |
| 190 | 'audio_coding/neteq/merge_unittest.cc', |
| 191 | 'audio_coding/neteq/nack_unittest.cc', |
| 192 | 'audio_coding/neteq/neteq_external_decoder_unittest.cc', |
| 193 | 'audio_coding/neteq/neteq_impl_unittest.cc', |
| 194 | 'audio_coding/neteq/neteq_network_stats_unittest.cc', |
| 195 | 'audio_coding/neteq/neteq_stereo_unittest.cc', |
| 196 | 'audio_coding/neteq/neteq_unittest.cc', |
| 197 | 'audio_coding/neteq/normal_unittest.cc', |
| 198 | 'audio_coding/neteq/packet_buffer_unittest.cc', |
| 199 | 'audio_coding/neteq/payload_splitter_unittest.cc', |
| 200 | 'audio_coding/neteq/post_decode_vad_unittest.cc', |
| 201 | 'audio_coding/neteq/random_vector_unittest.cc', |
| 202 | 'audio_coding/neteq/sync_buffer_unittest.cc', |
| 203 | 'audio_coding/neteq/timestamp_scaler_unittest.cc', |
| 204 | 'audio_coding/neteq/time_stretch_unittest.cc', |
| 205 | 'audio_coding/neteq/mock/mock_audio_decoder.h', |
| 206 | 'audio_coding/neteq/mock/mock_audio_vector.h', |
| 207 | 'audio_coding/neteq/mock/mock_buffer_level_filter.h', |
| 208 | 'audio_coding/neteq/mock/mock_decoder_database.h', |
| 209 | 'audio_coding/neteq/mock/mock_delay_manager.h', |
| 210 | 'audio_coding/neteq/mock/mock_delay_peak_detector.h', |
| 211 | 'audio_coding/neteq/mock/mock_dtmf_buffer.h', |
| 212 | 'audio_coding/neteq/mock/mock_dtmf_tone_generator.h', |
| 213 | 'audio_coding/neteq/mock/mock_expand.h', |
| 214 | 'audio_coding/neteq/mock/mock_external_decoder_pcm16b.h', |
| 215 | 'audio_coding/neteq/mock/mock_packet_buffer.h', |
| 216 | 'audio_coding/neteq/mock/mock_payload_splitter.h', |
| 217 | 'audio_coding/neteq/tools/input_audio_file_unittest.cc', |
| 218 | 'audio_coding/neteq/tools/packet_unittest.cc', |
| 219 | 'audio_conference_mixer/test/audio_conference_mixer_unittest.cc', |
| 220 | 'audio_device/fine_audio_buffer_unittest.cc', |
| 221 | 'audio_processing/aec/echo_cancellation_unittest.cc', |
| 222 | 'audio_processing/aec/system_delay_unittest.cc', |
| 223 | 'audio_processing/agc/agc_manager_direct_unittest.cc', |
| 224 | # TODO(ajm): Fix to match new interface. |
| 225 | # 'audio_processing/agc/agc_unittest.cc', |
| 226 | 'audio_processing/agc/histogram_unittest.cc', |
| 227 | 'audio_processing/agc/mock_agc.h', |
| 228 | 'audio_processing/beamformer/array_util_unittest.cc', |
| 229 | 'audio_processing/beamformer/complex_matrix_unittest.cc', |
| 230 | 'audio_processing/beamformer/covariance_matrix_generator_unittest.cc', |
| 231 | 'audio_processing/beamformer/matrix_unittest.cc', |
| 232 | 'audio_processing/beamformer/mock_nonlinear_beamformer.h', |
| 233 | 'audio_processing/beamformer/nonlinear_beamformer_unittest.cc', |
| 234 | 'audio_processing/echo_cancellation_impl_unittest.cc', |
| 235 | 'audio_processing/intelligibility/intelligibility_enhancer_unittest.cc', |
| 236 | 'audio_processing/intelligibility/intelligibility_utils_unittest.cc', |
| 237 | 'audio_processing/splitting_filter_unittest.cc', |
| 238 | 'audio_processing/transient/dyadic_decimator_unittest.cc', |
| 239 | 'audio_processing/transient/file_utils.cc', |
| 240 | 'audio_processing/transient/file_utils.h', |
| 241 | 'audio_processing/transient/file_utils_unittest.cc', |
| 242 | 'audio_processing/transient/moving_moments_unittest.cc', |
| 243 | 'audio_processing/transient/transient_detector_unittest.cc', |
| 244 | 'audio_processing/transient/transient_suppressor_unittest.cc', |
| 245 | 'audio_processing/transient/wpd_node_unittest.cc', |
| 246 | 'audio_processing/transient/wpd_tree_unittest.cc', |
| 247 | 'audio_processing/utility/delay_estimator_unittest.cc', |
| 248 | 'audio_processing/vad/gmm_unittest.cc', |
| 249 | 'audio_processing/vad/pitch_based_vad_unittest.cc', |
| 250 | 'audio_processing/vad/pitch_internal_unittest.cc', |
| 251 | 'audio_processing/vad/pole_zero_filter_unittest.cc', |
| 252 | 'audio_processing/vad/standalone_vad_unittest.cc', |
| 253 | 'audio_processing/vad/vad_audio_proc_unittest.cc', |
| 254 | 'audio_processing/vad/vad_circular_buffer_unittest.cc', |
| 255 | 'audio_processing/vad/voice_activity_detector_unittest.cc', |
| 256 | 'bitrate_controller/bitrate_controller_unittest.cc', |
| 257 | 'bitrate_controller/send_side_bandwidth_estimation_unittest.cc', |
| 258 | 'desktop_capture/desktop_and_cursor_composer_unittest.cc', |
| 259 | 'desktop_capture/desktop_region_unittest.cc', |
| 260 | 'desktop_capture/differ_block_unittest.cc', |
| 261 | 'desktop_capture/differ_unittest.cc', |
| 262 | 'desktop_capture/mouse_cursor_monitor_unittest.cc', |
| 263 | 'desktop_capture/screen_capturer_helper_unittest.cc', |
| 264 | 'desktop_capture/screen_capturer_mac_unittest.cc', |
| 265 | 'desktop_capture/screen_capturer_mock_objects.h', |
| 266 | 'desktop_capture/screen_capturer_unittest.cc', |
| 267 | 'desktop_capture/window_capturer_unittest.cc', |
| 268 | 'desktop_capture/win/cursor_unittest.cc', |
| 269 | 'desktop_capture/win/cursor_unittest_resources.h', |
| 270 | 'desktop_capture/win/cursor_unittest_resources.rc', |
| 271 | 'media_file/media_file_unittest.cc', |
| 272 | 'module_common_types_unittest.cc', |
| 273 | 'pacing/bitrate_prober_unittest.cc', |
| 274 | 'pacing/paced_sender_unittest.cc', |
| 275 | 'pacing/packet_router_unittest.cc', |
| 276 | 'remote_bitrate_estimator/bwe_simulations.cc', |
| 277 | 'remote_bitrate_estimator/include/mock/mock_remote_bitrate_observer.h', |
| 278 | 'remote_bitrate_estimator/include/mock/mock_remote_bitrate_estimator.h', |
| 279 | 'remote_bitrate_estimator/inter_arrival_unittest.cc', |
| 280 | 'remote_bitrate_estimator/overuse_detector_unittest.cc', |
| 281 | 'remote_bitrate_estimator/rate_statistics_unittest.cc', |
| 282 | 'remote_bitrate_estimator/remote_bitrate_estimator_abs_send_time_unittest.cc', |
| 283 | 'remote_bitrate_estimator/remote_bitrate_estimator_single_stream_unittest.cc', |
| 284 | 'remote_bitrate_estimator/remote_bitrate_estimator_unittest_helper.cc', |
| 285 | 'remote_bitrate_estimator/remote_bitrate_estimator_unittest_helper.h', |
| 286 | 'remote_bitrate_estimator/remote_estimator_proxy_unittest.cc', |
| 287 | 'remote_bitrate_estimator/send_time_history_unittest.cc', |
| 288 | 'remote_bitrate_estimator/test/bwe_test_framework_unittest.cc', |
| 289 | 'remote_bitrate_estimator/test/bwe_unittest.cc', |
| 290 | 'remote_bitrate_estimator/test/metric_recorder_unittest.cc', |
| 291 | 'remote_bitrate_estimator/test/estimators/nada_unittest.cc', |
| 292 | 'remote_bitrate_estimator/transport_feedback_adapter_unittest.cc', |
| 293 | 'rtp_rtcp/source/mock/mock_rtp_payload_strategy.h', |
| 294 | 'rtp_rtcp/source/byte_io_unittest.cc', |
| 295 | 'rtp_rtcp/source/fec_receiver_unittest.cc', |
| 296 | 'rtp_rtcp/source/fec_test_helper.cc', |
| 297 | 'rtp_rtcp/source/fec_test_helper.h', |
| 298 | 'rtp_rtcp/source/h264_sps_parser_unittest.cc', |
| 299 | 'rtp_rtcp/source/h264_bitstream_parser_unittest.cc', |
| 300 | 'rtp_rtcp/source/nack_rtx_unittest.cc', |
| 301 | 'rtp_rtcp/source/packet_loss_stats_unittest.cc', |
| 302 | 'rtp_rtcp/source/producer_fec_unittest.cc', |
| 303 | 'rtp_rtcp/source/receive_statistics_unittest.cc', |
| 304 | 'rtp_rtcp/source/remote_ntp_time_estimator_unittest.cc', |
| 305 | 'rtp_rtcp/source/rtcp_format_remb_unittest.cc', |
| 306 | 'rtp_rtcp/source/rtcp_packet_unittest.cc', |
| 307 | 'rtp_rtcp/source/rtcp_packet/app_unittest.cc', |
danilchap | 50c5136 | 2015-11-22 09:03:11 -0800 | [diff] [blame] | 308 | 'rtp_rtcp/source/rtcp_packet/bye_unittest.cc', |
danilchap | 54999d4 | 2015-12-16 01:56:20 -0800 | [diff] [blame] | 309 | 'rtp_rtcp/source/rtcp_packet/dlrr_unittest.cc', |
kjellander@webrtc.org | f22695c | 2015-11-19 15:39:29 +0100 | [diff] [blame] | 310 | 'rtp_rtcp/source/rtcp_packet/extended_jitter_report_unittest.cc', |
danilchap | f8385ad | 2015-11-27 05:36:09 -0800 | [diff] [blame] | 311 | 'rtp_rtcp/source/rtcp_packet/pli_unittest.cc', |
Danil Chapovalov | 97f7e13 | 2015-12-04 16:13:30 +0100 | [diff] [blame] | 312 | 'rtp_rtcp/source/rtcp_packet/receiver_report_unittest.cc', |
kjellander@webrtc.org | f22695c | 2015-11-19 15:39:29 +0100 | [diff] [blame] | 313 | 'rtp_rtcp/source/rtcp_packet/report_block_unittest.cc', |
Danil Chapovalov | fc47ed6 | 2015-12-07 14:46:35 +0100 | [diff] [blame] | 314 | 'rtp_rtcp/source/rtcp_packet/rrtr_unittest.cc', |
kjellander@webrtc.org | f22695c | 2015-11-19 15:39:29 +0100 | [diff] [blame] | 315 | 'rtp_rtcp/source/rtcp_packet/transport_feedback_unittest.cc', |
danilchap | 91941ae | 2015-12-15 07:06:36 -0800 | [diff] [blame] | 316 | 'rtp_rtcp/source/rtcp_packet/voip_metric_unittest.cc', |
kjellander@webrtc.org | f22695c | 2015-11-19 15:39:29 +0100 | [diff] [blame] | 317 | 'rtp_rtcp/source/rtcp_receiver_unittest.cc', |
| 318 | 'rtp_rtcp/source/rtcp_sender_unittest.cc', |
| 319 | 'rtp_rtcp/source/rtcp_utility_unittest.cc', |
| 320 | 'rtp_rtcp/source/rtp_fec_unittest.cc', |
| 321 | 'rtp_rtcp/source/rtp_format_h264_unittest.cc', |
| 322 | 'rtp_rtcp/source/rtp_format_vp8_test_helper.cc', |
| 323 | 'rtp_rtcp/source/rtp_format_vp8_test_helper.h', |
| 324 | 'rtp_rtcp/source/rtp_format_vp8_unittest.cc', |
| 325 | 'rtp_rtcp/source/rtp_format_vp9_unittest.cc', |
| 326 | 'rtp_rtcp/source/rtp_packet_history_unittest.cc', |
| 327 | 'rtp_rtcp/source/rtp_payload_registry_unittest.cc', |
| 328 | 'rtp_rtcp/source/rtp_rtcp_impl_unittest.cc', |
| 329 | 'rtp_rtcp/source/rtp_header_extension_unittest.cc', |
| 330 | 'rtp_rtcp/source/rtp_sender_unittest.cc', |
| 331 | 'rtp_rtcp/source/vp8_partition_aggregator_unittest.cc', |
| 332 | 'rtp_rtcp/test/testAPI/test_api.cc', |
| 333 | 'rtp_rtcp/test/testAPI/test_api.h', |
| 334 | 'rtp_rtcp/test/testAPI/test_api_audio.cc', |
| 335 | 'rtp_rtcp/test/testAPI/test_api_rtcp.cc', |
| 336 | 'rtp_rtcp/test/testAPI/test_api_video.cc', |
| 337 | 'utility/source/audio_frame_operations_unittest.cc', |
| 338 | 'utility/source/file_player_unittests.cc', |
| 339 | 'utility/source/process_thread_impl_unittest.cc', |
| 340 | 'video_coding/codecs/test/packet_manipulator_unittest.cc', |
| 341 | 'video_coding/codecs/test/stats_unittest.cc', |
| 342 | 'video_coding/codecs/test/videoprocessor_unittest.cc', |
| 343 | 'video_coding/codecs/vp8/default_temporal_layers_unittest.cc', |
| 344 | 'video_coding/codecs/vp8/reference_picture_selection_unittest.cc', |
| 345 | 'video_coding/codecs/vp8/screenshare_layers_unittest.cc', |
| 346 | 'video_coding/codecs/vp8/simulcast_encoder_adapter_unittest.cc', |
| 347 | 'video_coding/codecs/vp8/simulcast_unittest.cc', |
| 348 | 'video_coding/codecs/vp8/simulcast_unittest.h', |
| 349 | 'video_coding/codecs/vp9/screenshare_layers_unittest.cc', |
| 350 | 'video_coding/include/mock/mock_vcm_callbacks.h', |
| 351 | 'video_coding/decoding_state_unittest.cc', |
| 352 | 'video_coding/jitter_buffer_unittest.cc', |
| 353 | 'video_coding/jitter_estimator_tests.cc', |
| 354 | 'video_coding/media_optimization_unittest.cc', |
| 355 | 'video_coding/receiver_unittest.cc', |
| 356 | 'video_coding/session_info_unittest.cc', |
| 357 | 'video_coding/timing_unittest.cc', |
| 358 | 'video_coding/video_coding_robustness_unittest.cc', |
| 359 | 'video_coding/video_receiver_unittest.cc', |
| 360 | 'video_coding/video_sender_unittest.cc', |
| 361 | 'video_coding/qm_select_unittest.cc', |
| 362 | 'video_coding/test/stream_generator.cc', |
| 363 | 'video_coding/test/stream_generator.h', |
| 364 | 'video_coding/utility/quality_scaler_unittest.cc', |
| 365 | 'video_processing/test/brightness_detection_test.cc', |
| 366 | 'video_processing/test/content_metrics_test.cc', |
| 367 | 'video_processing/test/deflickering_test.cc', |
| 368 | 'video_processing/test/video_processing_unittest.cc', |
| 369 | 'video_processing/test/video_processing_unittest.h', |
| 370 | ], |
| 371 | 'conditions': [ |
| 372 | ['enable_bwe_test_logging==1', { |
| 373 | 'defines': [ 'BWE_TEST_LOGGING_COMPILE_TIME_ENABLE=1' ], |
| 374 | }, { |
| 375 | 'defines': [ 'BWE_TEST_LOGGING_COMPILE_TIME_ENABLE=0' ], |
| 376 | 'sources!': [ |
| 377 | 'remote_bitrate_estimator/test/bwe_test_logging.cc' |
| 378 | ], |
| 379 | }], |
| 380 | # Run screen/window capturer tests only on platforms where they are |
| 381 | # supported. |
| 382 | ['desktop_capture_supported==0', { |
| 383 | 'sources!': [ |
| 384 | 'desktop_capture/desktop_and_cursor_composer_unittest.cc', |
| 385 | 'desktop_capture/mouse_cursor_monitor_unittest.cc', |
| 386 | 'desktop_capture/screen_capturer_helper_unittest.cc', |
| 387 | 'desktop_capture/screen_capturer_mac_unittest.cc', |
| 388 | 'desktop_capture/screen_capturer_mock_objects.h', |
| 389 | 'desktop_capture/screen_capturer_unittest.cc', |
| 390 | 'desktop_capture/window_capturer_unittest.cc', |
| 391 | ], |
| 392 | }], |
| 393 | ['prefer_fixed_point==1', { |
| 394 | 'defines': [ 'WEBRTC_AUDIOPROC_FIXED_PROFILE' ], |
| 395 | }, { |
| 396 | 'defines': [ 'WEBRTC_AUDIOPROC_FLOAT_PROFILE' ], |
| 397 | }], |
| 398 | ['enable_protobuf==1', { |
| 399 | 'defines': [ |
| 400 | 'WEBRTC_AUDIOPROC_DEBUG_DUMP', |
minyue | 5f026d0 | 2015-12-16 07:36:04 -0800 | [diff] [blame^] | 401 | 'WEBRTC_NETEQ_UNITTEST_BITEXACT', |
kjellander@webrtc.org | f22695c | 2015-11-19 15:39:29 +0100 | [diff] [blame] | 402 | ], |
| 403 | 'dependencies': [ |
| 404 | 'audioproc_protobuf_utils', |
| 405 | 'audioproc_unittest_proto', |
minyue | 5f026d0 | 2015-12-16 07:36:04 -0800 | [diff] [blame^] | 406 | 'neteq_unittest_proto', |
kjellander@webrtc.org | f22695c | 2015-11-19 15:39:29 +0100 | [diff] [blame] | 407 | ], |
| 408 | 'sources': [ |
| 409 | 'audio_processing/audio_processing_impl_locking_unittest.cc', |
| 410 | 'audio_processing/audio_processing_impl_unittest.cc', |
| 411 | 'audio_processing/test/audio_processing_unittest.cc', |
| 412 | 'audio_processing/test/debug_dump_test.cc', |
| 413 | 'audio_processing/test/test_utils.h', |
| 414 | ], |
| 415 | }], |
| 416 | ['build_libvpx==1', { |
| 417 | 'dependencies': [ |
| 418 | '<(libvpx_dir)/libvpx.gyp:libvpx_new', |
| 419 | ], |
| 420 | }], |
| 421 | ['OS=="android"', { |
| 422 | 'dependencies': [ |
| 423 | '<(DEPTH)/testing/android/native_test.gyp:native_test_native_code', |
| 424 | ], |
| 425 | # Need to disable error due to the line in |
| 426 | # base/android/jni_android.h triggering it: |
| 427 | # const BASE_EXPORT jobject GetApplicationContext() |
| 428 | # error: type qualifiers ignored on function return type |
| 429 | 'cflags': [ |
| 430 | '-Wno-ignored-qualifiers', |
| 431 | ], |
| 432 | 'sources': [ |
| 433 | 'audio_device/android/audio_device_unittest.cc', |
| 434 | 'audio_device/android/audio_manager_unittest.cc', |
| 435 | 'audio_device/android/ensure_initialized.cc', |
| 436 | 'audio_device/android/ensure_initialized.h', |
| 437 | ], |
| 438 | }], |
| 439 | ['OS=="ios"', { |
| 440 | 'sources': [ |
| 441 | 'video_coding/codecs/h264/h264_video_toolbox_nalu_unittest.cc', |
| 442 | 'audio_device/ios/audio_device_unittest_ios.cc', |
| 443 | ], |
| 444 | 'mac_bundle_resources': [ |
| 445 | '<(DEPTH)/resources/audio_coding/speech_mono_16kHz.pcm', |
| 446 | '<(DEPTH)/resources/audio_coding/testfile32kHz.pcm', |
| 447 | '<(DEPTH)/resources/audio_coding/teststereo32kHz.pcm', |
| 448 | '<(DEPTH)/resources/audio_device/audio_short16.pcm', |
| 449 | '<(DEPTH)/resources/audio_device/audio_short44.pcm', |
| 450 | '<(DEPTH)/resources/audio_device/audio_short48.pcm', |
| 451 | '<(DEPTH)/resources/audio_processing/agc/agc_no_circular_buffer.dat', |
| 452 | '<(DEPTH)/resources/audio_processing/agc/agc_pitch_gain.dat', |
| 453 | '<(DEPTH)/resources/audio_processing/agc/agc_pitch_lag.dat', |
| 454 | '<(DEPTH)/resources/audio_processing/agc/agc_spectral_peak.dat', |
| 455 | '<(DEPTH)/resources/audio_processing/agc/agc_voicing_prob.dat', |
| 456 | '<(DEPTH)/resources/audio_processing/agc/agc_with_circular_buffer.dat', |
| 457 | '<(DEPTH)/resources/short_mixed_mono_48.dat', |
| 458 | '<(DEPTH)/resources/short_mixed_mono_48.pcm', |
| 459 | '<(DEPTH)/resources/short_mixed_stereo_48.dat', |
| 460 | '<(DEPTH)/resources/short_mixed_stereo_48.pcm', |
| 461 | ], |
| 462 | }], |
| 463 | ], |
| 464 | # Disable warnings to enable Win64 build, issue 1323. |
| 465 | 'msvs_disabled_warnings': [ |
| 466 | 4267, # size_t to int truncation. |
| 467 | ], |
| 468 | }, |
| 469 | ], |
| 470 | }], |
kjellander@webrtc.org | 3bd4156 | 2014-09-01 11:06:37 +0000 | [diff] [blame] | 471 | ['OS=="android"', { |
henrike@webrtc.org | 1303af3 | 2013-07-03 21:50:33 +0000 | [diff] [blame] | 472 | 'targets': [ |
| 473 | { |
kjellander@webrtc.org | 0372b93 | 2014-09-03 14:34:46 +0000 | [diff] [blame] | 474 | 'target_name': 'modules_unittests_apk_target', |
henrike@webrtc.org | 1303af3 | 2013-07-03 21:50:33 +0000 | [diff] [blame] | 475 | 'type': 'none', |
| 476 | 'dependencies': [ |
kjellander@webrtc.org | 0372b93 | 2014-09-03 14:34:46 +0000 | [diff] [blame] | 477 | '<(apk_tests_path):modules_unittests_apk', |
henrike@webrtc.org | 1303af3 | 2013-07-03 21:50:33 +0000 | [diff] [blame] | 478 | ], |
andrew@webrtc.org | 2cbb429 | 2013-08-02 20:52:54 +0000 | [diff] [blame] | 479 | }, |
henrike@webrtc.org | 89c6740 | 2013-08-02 16:53:47 +0000 | [diff] [blame] | 480 | { |
kjellander@webrtc.org | 0372b93 | 2014-09-03 14:34:46 +0000 | [diff] [blame] | 481 | 'target_name': 'modules_tests_apk_target', |
henrike@webrtc.org | 89c6740 | 2013-08-02 16:53:47 +0000 | [diff] [blame] | 482 | 'type': 'none', |
| 483 | 'dependencies': [ |
kjellander@webrtc.org | 0372b93 | 2014-09-03 14:34:46 +0000 | [diff] [blame] | 484 | '<(apk_tests_path):modules_tests_apk', |
henrike@webrtc.org | 89c6740 | 2013-08-02 16:53:47 +0000 | [diff] [blame] | 485 | ], |
| 486 | }, |
| 487 | ], |
| 488 | }], |
kjellander@webrtc.org | 3365422 | 2013-08-22 07:57:00 +0000 | [diff] [blame] | 489 | ['test_isolation_mode != "noop"', { |
| 490 | 'targets': [ |
| 491 | { |
Henrik Kjellander | d6d27e7 | 2015-09-25 22:19:11 +0200 | [diff] [blame] | 492 | 'target_name': 'audio_codec_speed_tests_run', |
| 493 | 'type': 'none', |
| 494 | 'dependencies': [ |
| 495 | 'audio_codec_speed_tests', |
| 496 | ], |
| 497 | 'includes': [ |
| 498 | '../build/isolate.gypi', |
| 499 | ], |
| 500 | 'sources': [ |
| 501 | 'audio_codec_speed_tests.isolate', |
| 502 | ], |
| 503 | }, |
| 504 | { |
| 505 | 'target_name': 'audio_decoder_unittests_run', |
| 506 | 'type': 'none', |
| 507 | 'dependencies': [ |
| 508 | 'audio_decoder_unittests', |
| 509 | ], |
| 510 | 'includes': [ |
| 511 | '../build/isolate.gypi', |
| 512 | ], |
| 513 | 'sources': [ |
| 514 | 'audio_decoder_unittests.isolate', |
| 515 | ], |
| 516 | }, |
| 517 | { |
| 518 | 'target_name': 'audio_device_tests_run', |
| 519 | 'type': 'none', |
| 520 | 'dependencies': [ |
| 521 | 'audio_device_tests', |
| 522 | ], |
| 523 | 'includes': [ |
| 524 | '../build/isolate.gypi', |
| 525 | ], |
| 526 | 'sources': [ |
| 527 | 'audio_device_tests.isolate', |
| 528 | ], |
| 529 | }, |
| 530 | { |
kjellander@webrtc.org | 3365422 | 2013-08-22 07:57:00 +0000 | [diff] [blame] | 531 | 'target_name': 'modules_tests_run', |
| 532 | 'type': 'none', |
| 533 | 'dependencies': [ |
kjellander@webrtc.org | 3365422 | 2013-08-22 07:57:00 +0000 | [diff] [blame] | 534 | 'modules_tests', |
| 535 | ], |
| 536 | 'includes': [ |
kjellander@webrtc.org | 2a97317 | 2013-10-02 19:31:16 +0000 | [diff] [blame] | 537 | '../build/isolate.gypi', |
kjellander@webrtc.org | 3365422 | 2013-08-22 07:57:00 +0000 | [diff] [blame] | 538 | ], |
| 539 | 'sources': [ |
| 540 | 'modules_tests.isolate', |
| 541 | ], |
| 542 | }, |
| 543 | { |
| 544 | 'target_name': 'modules_unittests_run', |
| 545 | 'type': 'none', |
| 546 | 'dependencies': [ |
kjellander@webrtc.org | 3365422 | 2013-08-22 07:57:00 +0000 | [diff] [blame] | 547 | 'modules_unittests', |
| 548 | ], |
| 549 | 'includes': [ |
kjellander@webrtc.org | 2a97317 | 2013-10-02 19:31:16 +0000 | [diff] [blame] | 550 | '../build/isolate.gypi', |
kjellander@webrtc.org | 3365422 | 2013-08-22 07:57:00 +0000 | [diff] [blame] | 551 | ], |
| 552 | 'sources': [ |
| 553 | 'modules_unittests.isolate', |
| 554 | ], |
| 555 | }, |
Henrik Kjellander | d6d27e7 | 2015-09-25 22:19:11 +0200 | [diff] [blame] | 556 | { |
| 557 | 'target_name': 'video_render_tests_run', |
| 558 | 'type': 'none', |
| 559 | 'dependencies': [ |
| 560 | 'video_render_tests', |
| 561 | ], |
| 562 | 'includes': [ |
| 563 | '../build/isolate.gypi', |
| 564 | ], |
| 565 | 'sources': [ |
| 566 | 'video_render_tests.isolate', |
| 567 | ], |
| 568 | }, |
kjellander@webrtc.org | 3365422 | 2013-08-22 07:57:00 +0000 | [diff] [blame] | 569 | ], |
| 570 | }], |
henrike@webrtc.org | 89c6740 | 2013-08-02 16:53:47 +0000 | [diff] [blame] | 571 | ], |
mflodman@webrtc.org | 6af9594 | 2012-05-24 13:23:35 +0000 | [diff] [blame] | 572 | }], # include_tests |
xians@google.com | d3185fe | 2011-09-12 12:24:39 +0000 | [diff] [blame] | 573 | ], # conditions |
| 574 | } |