blob: cf78b127109d014a5b6fd95ba55f80b39fa7cfb5 [file] [log] [blame]
xians@google.comd3185fe2011-09-12 12:24:39 +00001# 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.comfdaee9c2011-09-17 00:06:08 +000011 '../build/common.gypi',
kjellander@webrtc.orga33f05e2015-01-29 14:29:45 +000012 'audio_coding/audio_coding.gypi',
andresp@webrtc.org749c6022015-02-25 11:50:17 +000013 'audio_conference_mixer/audio_conference_mixer.gypi',
andrew@webrtc.org236d5d32012-09-21 20:46:40 +000014 'audio_device/audio_device.gypi',
andrew@webrtc.org4d5d5c12011-10-19 01:40:33 +000015 'audio_processing/audio_processing.gypi',
pwestin@webrtc.org1cd11622012-04-19 12:13:52 +000016 'bitrate_controller/bitrate_controller.gypi',
sergeyu@chromium.org15e32cc2013-04-29 20:10:57 +000017 'desktop_capture/desktop_capture.gypi',
andresp@webrtc.org87a592d2015-02-25 03:18:23 +000018 'media_file/media_file.gypi',
pwestin@webrtc.orgb5180172012-11-09 20:56:23 +000019 'pacing/pacing.gypi',
stefan@webrtc.org9354cc92012-06-07 08:10:14 +000020 'remote_bitrate_estimator/remote_bitrate_estimator.gypi',
andresp@webrtc.org749c6022015-02-25 11:50:17 +000021 'rtp_rtcp/rtp_rtcp.gypi',
22 'utility/utility.gypi',
Zeke Chin71f6f442015-06-29 14:34:58 -070023 'video_coding/codecs/h264/h264.gypi',
Henrik Kjellandera74c08d2015-10-22 12:23:11 +020024 'video_coding/codecs/i420/i420.gypi',
andresp@webrtc.org749c6022015-02-25 11:50:17 +000025 'video_coding/video_coding.gypi',
andrew@webrtc.org94caca72012-10-30 21:58:00 +000026 'video_capture/video_capture.gypi',
andresp@webrtc.org749c6022015-02-25 11:50:17 +000027 'video_processing/video_processing.gypi',
andrew@webrtc.org9841d922012-10-31 05:22:11 +000028 'video_render/video_render.gypi',
xians@google.comd3185fe2011-09-12 12:24:39 +000029 ],
xians@google.comd3185fe2011-09-12 12:24:39 +000030 'conditions': [
mflodman@webrtc.org6af95942012-05-24 13:23:35 +000031 ['include_tests==1', {
xians@google.comd3185fe2011-09-12 12:24:39 +000032 'includes': [
kjellander@webrtc.orga33f05e2015-01-29 14:29:45 +000033 'audio_coding/audio_coding_tests.gypi',
andrew@webrtc.orgc732ca62012-09-10 16:33:43 +000034 'audio_processing/audio_processing_tests.gypi',
xians@google.comd3185fe2011-09-12 12:24:39 +000035 'rtp_rtcp/test/testFec/test_fec.gypi',
andresp@webrtc.org749c6022015-02-25 11:50:17 +000036 'video_coding/video_coding_test.gypi',
kjellander@webrtc.org35a17562011-10-06 06:44:54 +000037 'video_coding/codecs/test/video_codecs_test_framework.gypi',
38 'video_coding/codecs/tools/video_codecs_tools.gypi',
xians@google.comd3185fe2011-09-12 12:24:39 +000039 ], # includes
solenberg@webrtc.org86136a02013-09-09 13:06:52 +000040 'variables': {
kjellander@webrtc.org6c35e0b2013-06-11 08:29:17 +000041 '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.org7bc465b2013-04-11 17:48:02 +000050 'targets': [
51 {
52 'target_name': 'modules_unittests',
henrike@webrtc.org1303af32013-07-03 21:50:33 +000053 'type': '<(gtest_target_type)',
turaj@webrtc.org6ea3d1c2013-10-02 21:44:33 +000054 'defines': [
55 '<@(audio_coding_defines)',
56 ],
stefan@webrtc.org7bc465b2013-04-11 17:48:02 +000057 'dependencies': [
henrik.lundin@webrtc.orgc8e98182014-06-26 19:07:04 +000058 'acm_receive_test',
henrik.lundin@webrtc.org038cee22014-08-21 08:59:14 +000059 'acm_send_test',
kjellander@webrtc.org63e98882013-06-14 20:09:44 +000060 'audio_coding_module',
minyue9743d072015-09-03 13:17:16 -070061 'audio_conference_mixer',
henrika@webrtc.org474d1eb2015-03-09 12:39:53 +000062 'audio_device' ,
kjellander@webrtc.org63e98882013-06-14 20:09:44 +000063 'audio_processing',
Andrew MacDonaldcb05b722015-05-07 22:17:51 -070064 'audioproc_test_utils',
kjellander@webrtc.org6c35e0b2013-06-11 08:29:17 +000065 'bitrate_controller',
Stefan Holmer09bdc1e2015-04-16 20:20:36 +020066 'bwe_simulator',
Zeke Chin786dbdc2015-06-10 13:45:08 -070067 'cng',
kjellander@webrtc.org6c35e0b2013-06-11 08:29:17 +000068 'desktop_capture',
Zeke Chin786dbdc2015-06-10 13:45:08 -070069 'isac_fix',
kjellander@webrtc.org6c35e0b2013-06-11 08:29:17 +000070 'media_file',
henrik.lundin@webrtc.org9c55f0f2014-06-09 08:10:28 +000071 'neteq',
minyue@webrtc.org2c1bcf22015-02-17 10:17:09 +000072 'neteq_test_support',
kjellander@webrtc.org63e98882013-06-14 20:09:44 +000073 'neteq_unittest_tools',
kjellander@webrtc.org6c35e0b2013-06-11 08:29:17 +000074 'paced_sender',
Zeke Chin786dbdc2015-06-10 13:45:08 -070075 'pcm16b', # Needed by NetEq tests.
henrik.lundin@webrtc.orgc1c92912014-12-16 13:41:36 +000076 'red',
kjellander@webrtc.org6c35e0b2013-06-11 08:29:17 +000077 'remote_bitrate_estimator',
78 'rtp_rtcp',
kjellander@webrtc.org63e98882013-06-14 20:09:44 +000079 'video_codecs_test_framework',
80 'video_processing',
kjellander@webrtc.orgfec34d72013-06-05 08:58:46 +000081 'webrtc_utility',
kjellander@webrtc.org63e98882013-06-14 20:09:44 +000082 'webrtc_video_coding',
83 '<@(neteq_dependencies)',
kjellander@webrtc.org6c35e0b2013-06-11 08:29:17 +000084 '<(DEPTH)/testing/gmock.gyp:gmock',
stefan@webrtc.org7bc465b2013-04-11 17:48:02 +000085 '<(DEPTH)/testing/gtest.gyp:gtest',
turaj@webrtc.orga6101d72013-10-01 22:01:09 +000086 '<(DEPTH)/third_party/gflags/gflags.gyp:gflags',
kwiberg@webrtc.orgac2d27d2015-02-26 13:59:22 +000087 '<(webrtc_root)/common.gyp:webrtc_common',
kjellander@webrtc.org63e98882013-06-14 20:09:44 +000088 '<(webrtc_root)/common_audio/common_audio.gyp:common_audio',
kjellander@webrtc.orgf58fe0a2015-02-11 07:47:00 +000089 '<(webrtc_root)/modules/modules.gyp:video_capture',
kjellander@webrtc.org63e98882013-06-14 20:09:44 +000090 '<(webrtc_root)/modules/video_coding/codecs/vp8/vp8.gyp:webrtc_vp8',
marpan@webrtc.org5b883172014-11-01 06:10:48 +000091 '<(webrtc_root)/modules/video_coding/codecs/vp9/vp9.gyp:webrtc_vp9',
andresp@webrtc.org86e1e482015-01-14 09:30:52 +000092 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers',
pbos@webrtc.org724947b2013-12-11 16:26:16 +000093 '<(webrtc_root)/test/test.gyp:frame_generator',
pbos@webrtc.orgaca58032014-10-27 18:01:03 +000094 '<(webrtc_root)/test/test.gyp:rtp_test_utils',
95 '<(webrtc_root)/test/test.gyp:test_support_main',
sprang86fd9ed2015-09-29 04:45:43 -070096 '<(webrtc_root)/test/webrtc_test_common.gyp:webrtc_test_common',
kjellander@webrtc.orga33f05e2015-01-29 14:29:45 +000097 '<(webrtc_root)/tools/tools.gyp:agc_test_utils',
stefan@webrtc.org7bc465b2013-04-11 17:48:02 +000098 ],
99 'sources': [
henrik.lundin@webrtc.orgff1a3e32014-12-10 07:29:08 +0000100 'audio_coding/codecs/cng/audio_encoder_cng_unittest.cc',
andresp@webrtc.org4f6f22f2014-09-23 11:37:57 +0000101 'audio_coding/main/acm2/acm_receiver_unittest_oldapi.cc',
henrik.lundin@webrtc.org0e6e4d22014-09-23 12:05:34 +0000102 'audio_coding/main/acm2/audio_coding_module_unittest_oldapi.cc',
wu@webrtc.org24301a62013-12-13 19:17:43 +0000103 'audio_coding/main/acm2/call_statistics_unittest.cc',
kwiberg4dc94112015-11-11 08:34:21 -0800104 'audio_coding/main/acm2/codec_manager_unittest.cc',
turaj@webrtc.org6ea3d1c2013-10-02 21:44:33 +0000105 'audio_coding/main/acm2/initial_delay_manager_unittest.cc',
kwibergc95c3662015-11-10 06:35:21 -0800106 'audio_coding/main/acm2/rent_a_codec_unittest.cc',
kjellander@webrtc.org63e98882013-06-14 20:09:44 +0000107 'audio_coding/codecs/cng/cng_unittest.cc',
108 'audio_coding/codecs/isac/fix/source/filters_unittest.cc',
109 'audio_coding/codecs/isac/fix/source/filterbanks_unittest.cc',
110 'audio_coding/codecs/isac/fix/source/lpc_masking_model_unittest.cc',
111 'audio_coding/codecs/isac/fix/source/transform_unittest.cc',
Karl Wibergd3e8eda2015-04-23 14:07:06 +0200112 'audio_coding/codecs/isac/main/source/audio_encoder_isac_unittest.cc',
kjellander@webrtc.org63e98882013-06-14 20:09:44 +0000113 'audio_coding/codecs/isac/main/source/isac_unittest.cc',
Karl Wiberg22242942015-07-03 04:04:33 +0200114 'audio_coding/codecs/isac/unittest.cc',
henrik.lundin@webrtc.orgcf7efeb2015-02-04 15:34:05 +0000115 'audio_coding/codecs/opus/audio_encoder_opus_unittest.cc',
kjellander@webrtc.org63e98882013-06-14 20:09:44 +0000116 'audio_coding/codecs/opus/opus_unittest.cc',
henrik.lundin@webrtc.orgc1c92912014-12-16 13:41:36 +0000117 'audio_coding/codecs/red/audio_encoder_copy_red_unittest.cc',
henrik.lundin@webrtc.org9c55f0f2014-06-09 08:10:28 +0000118 'audio_coding/neteq/audio_classifier_unittest.cc',
119 'audio_coding/neteq/audio_multi_vector_unittest.cc',
120 'audio_coding/neteq/audio_vector_unittest.cc',
121 'audio_coding/neteq/background_noise_unittest.cc',
122 'audio_coding/neteq/buffer_level_filter_unittest.cc',
123 'audio_coding/neteq/comfort_noise_unittest.cc',
124 'audio_coding/neteq/decision_logic_unittest.cc',
125 'audio_coding/neteq/decoder_database_unittest.cc',
126 'audio_coding/neteq/delay_manager_unittest.cc',
127 'audio_coding/neteq/delay_peak_detector_unittest.cc',
128 'audio_coding/neteq/dsp_helper_unittest.cc',
129 'audio_coding/neteq/dtmf_buffer_unittest.cc',
130 'audio_coding/neteq/dtmf_tone_generator_unittest.cc',
131 'audio_coding/neteq/expand_unittest.cc',
132 'audio_coding/neteq/merge_unittest.cc',
henrik.lundin48ed9302015-10-29 05:36:24 -0700133 'audio_coding/neteq/nack_unittest.cc',
henrik.lundin@webrtc.org9c55f0f2014-06-09 08:10:28 +0000134 'audio_coding/neteq/neteq_external_decoder_unittest.cc',
135 'audio_coding/neteq/neteq_impl_unittest.cc',
minyue@webrtc.org2c1bcf22015-02-17 10:17:09 +0000136 'audio_coding/neteq/neteq_network_stats_unittest.cc',
henrik.lundin@webrtc.org9c55f0f2014-06-09 08:10:28 +0000137 'audio_coding/neteq/neteq_stereo_unittest.cc',
138 'audio_coding/neteq/neteq_unittest.cc',
139 'audio_coding/neteq/normal_unittest.cc',
140 'audio_coding/neteq/packet_buffer_unittest.cc',
141 'audio_coding/neteq/payload_splitter_unittest.cc',
142 'audio_coding/neteq/post_decode_vad_unittest.cc',
143 'audio_coding/neteq/random_vector_unittest.cc',
144 'audio_coding/neteq/sync_buffer_unittest.cc',
145 'audio_coding/neteq/timestamp_scaler_unittest.cc',
146 'audio_coding/neteq/time_stretch_unittest.cc',
147 'audio_coding/neteq/mock/mock_audio_decoder.h',
148 'audio_coding/neteq/mock/mock_audio_vector.h',
149 'audio_coding/neteq/mock/mock_buffer_level_filter.h',
150 'audio_coding/neteq/mock/mock_decoder_database.h',
151 'audio_coding/neteq/mock/mock_delay_manager.h',
152 'audio_coding/neteq/mock/mock_delay_peak_detector.h',
153 'audio_coding/neteq/mock/mock_dtmf_buffer.h',
154 'audio_coding/neteq/mock/mock_dtmf_tone_generator.h',
henrik.lundin@webrtc.orgee0fb182014-09-02 13:22:11 +0000155 'audio_coding/neteq/mock/mock_expand.h',
henrik.lundin@webrtc.org9c55f0f2014-06-09 08:10:28 +0000156 'audio_coding/neteq/mock/mock_external_decoder_pcm16b.h',
157 'audio_coding/neteq/mock/mock_packet_buffer.h',
158 'audio_coding/neteq/mock/mock_payload_splitter.h',
henrik.lundin@webrtc.orgf554d752014-08-29 07:26:40 +0000159 'audio_coding/neteq/tools/input_audio_file_unittest.cc',
henrik.lundin@webrtc.org9c55f0f2014-06-09 08:10:28 +0000160 'audio_coding/neteq/tools/packet_unittest.cc',
minyue9743d072015-09-03 13:17:16 -0700161 'audio_conference_mixer/test/audio_conference_mixer_unittest.cc',
henrika86d907c2015-09-07 16:09:50 +0200162 'audio_device/fine_audio_buffer_unittest.cc',
kjellander@webrtc.org63e98882013-06-14 20:09:44 +0000163 'audio_processing/aec/echo_cancellation_unittest.cc',
pbos@webrtc.org788acd12014-12-15 09:41:24 +0000164 'audio_processing/aec/system_delay_unittest.cc',
Alejandro Luebsd094c042015-09-29 15:43:42 -0700165 'audio_processing/agc/agc_manager_direct_unittest.cc',
pbos@webrtc.org788acd12014-12-15 09:41:24 +0000166 # TODO(ajm): Fix to match new interface.
167 # 'audio_processing/agc/agc_unittest.cc',
pbos@webrtc.org788acd12014-12-15 09:41:24 +0000168 'audio_processing/agc/histogram_unittest.cc',
andrew@webrtc.org971bf552014-12-16 22:28:20 +0000169 'audio_processing/agc/mock_agc.h',
aluebs4a66e4a2015-10-19 18:02:39 -0700170 'audio_processing/beamformer/array_util_unittest.cc',
aluebs@webrtc.org0c39e912014-12-18 22:22:04 +0000171 'audio_processing/beamformer/complex_matrix_unittest.cc',
172 'audio_processing/beamformer/covariance_matrix_generator_unittest.cc',
173 'audio_processing/beamformer/matrix_unittest.cc',
mgraczyk@chromium.org0f663de2015-03-13 00:13:32 +0000174 'audio_processing/beamformer/mock_nonlinear_beamformer.h',
Alejandro Luebscb3f9bd2015-10-29 18:21:34 -0700175 'audio_processing/beamformer/nonlinear_beamformer_unittest.cc',
andrew@webrtc.org1760a172013-09-25 23:17:38 +0000176 'audio_processing/echo_cancellation_impl_unittest.cc',
ekm35b72fb2015-07-10 14:11:52 -0700177 'audio_processing/intelligibility/intelligibility_enhancer_unittest.cc',
178 'audio_processing/intelligibility/intelligibility_utils_unittest.cc',
aluebs@webrtc.org79b9eba2014-11-26 20:21:38 +0000179 'audio_processing/splitting_filter_unittest.cc',
pbos@webrtc.org788acd12014-12-15 09:41:24 +0000180 'audio_processing/transient/dyadic_decimator_unittest.cc',
181 'audio_processing/transient/file_utils.cc',
182 'audio_processing/transient/file_utils.h',
183 'audio_processing/transient/file_utils_unittest.cc',
184 'audio_processing/transient/moving_moments_unittest.cc',
185 'audio_processing/transient/transient_detector_unittest.cc',
186 'audio_processing/transient/transient_suppressor_unittest.cc',
187 'audio_processing/transient/wpd_node_unittest.cc',
188 'audio_processing/transient/wpd_tree_unittest.cc',
kjellander@webrtc.org63e98882013-06-14 20:09:44 +0000189 'audio_processing/utility/delay_estimator_unittest.cc',
aluebsecf6b812015-06-25 12:28:48 -0700190 'audio_processing/vad/gmm_unittest.cc',
191 'audio_processing/vad/pitch_based_vad_unittest.cc',
192 'audio_processing/vad/pitch_internal_unittest.cc',
193 'audio_processing/vad/pole_zero_filter_unittest.cc',
194 'audio_processing/vad/standalone_vad_unittest.cc',
195 'audio_processing/vad/vad_audio_proc_unittest.cc',
196 'audio_processing/vad/vad_circular_buffer_unittest.cc',
197 'audio_processing/vad/voice_activity_detector_unittest.cc',
kjellander@webrtc.org6c35e0b2013-06-11 08:29:17 +0000198 'bitrate_controller/bitrate_controller_unittest.cc',
stefan@webrtc.org83d48042014-11-10 13:55:16 +0000199 'bitrate_controller/send_side_bandwidth_estimation_unittest.cc',
sergeyu@chromium.orge6e749d2013-10-16 02:48:41 +0000200 'desktop_capture/desktop_and_cursor_composer_unittest.cc',
kjellander@webrtc.org6c35e0b2013-06-11 08:29:17 +0000201 'desktop_capture/desktop_region_unittest.cc',
202 'desktop_capture/differ_block_unittest.cc',
203 'desktop_capture/differ_unittest.cc',
sergeyu@chromium.orge6e749d2013-10-16 02:48:41 +0000204 'desktop_capture/mouse_cursor_monitor_unittest.cc',
kjellander@webrtc.org6c35e0b2013-06-11 08:29:17 +0000205 'desktop_capture/screen_capturer_helper_unittest.cc',
206 'desktop_capture/screen_capturer_mac_unittest.cc',
207 'desktop_capture/screen_capturer_mock_objects.h',
208 'desktop_capture/screen_capturer_unittest.cc',
209 'desktop_capture/window_capturer_unittest.cc',
andrew@webrtc.org60730cf2014-01-07 17:45:09 +0000210 'desktop_capture/win/cursor_unittest.cc',
211 'desktop_capture/win/cursor_unittest_resources.h',
212 'desktop_capture/win/cursor_unittest_resources.rc',
Henrik Kjellander0b9e29c2015-11-16 11:12:24 +0100213 'media_file/media_file_unittest.cc',
kjellander@webrtc.org63e98882013-06-14 20:09:44 +0000214 'module_common_types_unittest.cc',
stefan@webrtc.org82462aa2014-10-23 11:57:05 +0000215 'pacing/bitrate_prober_unittest.cc',
kjellander@webrtc.org6c35e0b2013-06-11 08:29:17 +0000216 'pacing/paced_sender_unittest.cc',
Stefan Holmere5904162015-03-26 11:11:06 +0100217 'pacing/packet_router_unittest.cc',
stefan@webrtc.orgc88d3362014-02-05 15:57:14 +0000218 'remote_bitrate_estimator/bwe_simulations.cc',
kjellander@webrtc.org6c35e0b2013-06-11 08:29:17 +0000219 'remote_bitrate_estimator/include/mock/mock_remote_bitrate_observer.h',
Erik Språng6b8d3552015-09-24 15:06:57 +0200220 'remote_bitrate_estimator/include/mock/mock_remote_bitrate_estimator.h',
pbos@webrtc.org9f79fe62014-12-04 15:34:06 +0000221 'remote_bitrate_estimator/inter_arrival_unittest.cc',
222 'remote_bitrate_estimator/overuse_detector_unittest.cc',
sprang@webrtc.org37968a92013-12-03 10:31:59 +0000223 'remote_bitrate_estimator/rate_statistics_unittest.cc',
pbos@webrtc.org9f79fe62014-12-04 15:34:06 +0000224 'remote_bitrate_estimator/remote_bitrate_estimator_abs_send_time_unittest.cc',
solenberg@webrtc.org86136a02013-09-09 13:06:52 +0000225 'remote_bitrate_estimator/remote_bitrate_estimator_single_stream_unittest.cc',
226 'remote_bitrate_estimator/remote_bitrate_estimator_unittest_helper.cc',
227 'remote_bitrate_estimator/remote_bitrate_estimator_unittest_helper.h',
sprang233bd872015-09-08 13:25:16 -0700228 'remote_bitrate_estimator/remote_estimator_proxy_unittest.cc',
sprang867fb522015-08-03 04:38:41 -0700229 'remote_bitrate_estimator/send_time_history_unittest.cc',
stefan870eee42015-07-14 03:53:57 -0700230 'remote_bitrate_estimator/test/bwe_test_framework_unittest.cc',
Cesar Magalhaes9c261f22015-07-15 16:31:18 +0200231 'remote_bitrate_estimator/test/bwe_unittest.cc',
Cesar Magalhaese2cb1f12015-07-30 11:22:05 +0200232 'remote_bitrate_estimator/test/metric_recorder_unittest.cc',
stefan870eee42015-07-14 03:53:57 -0700233 'remote_bitrate_estimator/test/estimators/nada_unittest.cc',
sprang5e023eb2015-09-14 06:42:43 -0700234 'remote_bitrate_estimator/transport_feedback_adapter_unittest.cc',
kjellander@webrtc.org6c35e0b2013-06-11 08:29:17 +0000235 'rtp_rtcp/source/mock/mock_rtp_payload_strategy.h',
sprang@webrtc.org499631c2013-12-03 13:22:48 +0000236 'rtp_rtcp/source/byte_io_unittest.cc',
stefan@webrtc.org7bb8f022013-09-06 13:40:11 +0000237 'rtp_rtcp/source/fec_receiver_unittest.cc',
kjellander@webrtc.org6c35e0b2013-06-11 08:29:17 +0000238 'rtp_rtcp/source/fec_test_helper.cc',
239 'rtp_rtcp/source/fec_test_helper.h',
Henrik Kjellanderf955b5d2015-04-24 13:57:06 +0200240 'rtp_rtcp/source/h264_sps_parser_unittest.cc',
Peter Boström8c266e62015-09-24 15:06:50 +0200241 'rtp_rtcp/source/h264_bitstream_parser_unittest.cc',
kjellander@webrtc.org6c35e0b2013-06-11 08:29:17 +0000242 'rtp_rtcp/source/nack_rtx_unittest.cc',
bcornell30409b42015-07-10 18:10:05 -0700243 'rtp_rtcp/source/packet_loss_stats_unittest.cc',
kjellander@webrtc.org6c35e0b2013-06-11 08:29:17 +0000244 'rtp_rtcp/source/producer_fec_unittest.cc',
stefan@webrtc.org286fe0b2013-08-21 20:58:21 +0000245 'rtp_rtcp/source/receive_statistics_unittest.cc',
wu@webrtc.org88abf112014-05-14 16:53:51 +0000246 'rtp_rtcp/source/remote_ntp_time_estimator_unittest.cc',
kjellander@webrtc.org6c35e0b2013-06-11 08:29:17 +0000247 'rtp_rtcp/source/rtcp_format_remb_unittest.cc',
asapersson@webrtc.org0f2809a2014-02-21 08:14:45 +0000248 'rtp_rtcp/source/rtcp_packet_unittest.cc',
danilchap0219c9b2015-11-18 05:56:53 -0800249 'rtp_rtcp/source/rtcp_packet/app_unittest.cc',
danilchapf8506cb2015-11-13 07:33:20 -0800250 'rtp_rtcp/source/rtcp_packet/extended_jitter_report_unittest.cc',
danilchapdf948f02015-11-13 03:03:13 -0800251 'rtp_rtcp/source/rtcp_packet/report_block_unittest.cc',
Erik Språnga3b87692015-07-29 10:46:54 +0200252 'rtp_rtcp/source/rtcp_packet/transport_feedback_unittest.cc',
kjellander@webrtc.org6c35e0b2013-06-11 08:29:17 +0000253 'rtp_rtcp/source/rtcp_receiver_unittest.cc',
asapersson@webrtc.org0f2809a2014-02-21 08:14:45 +0000254 'rtp_rtcp/source/rtcp_sender_unittest.cc',
asapersson@webrtc.org2dd31342014-10-29 12:42:30 +0000255 'rtp_rtcp/source/rtcp_utility_unittest.cc',
kjellander@webrtc.org6c35e0b2013-06-11 08:29:17 +0000256 'rtp_rtcp/source/rtp_fec_unittest.cc',
stefan@webrtc.org2ec56062014-07-31 14:59:24 +0000257 'rtp_rtcp/source/rtp_format_h264_unittest.cc',
kjellander@webrtc.org6c35e0b2013-06-11 08:29:17 +0000258 'rtp_rtcp/source/rtp_format_vp8_test_helper.cc',
259 'rtp_rtcp/source/rtp_format_vp8_test_helper.h',
asaperssonf38ea3c2015-07-28 04:02:54 -0700260 'rtp_rtcp/source/rtp_format_vp8_unittest.cc',
261 'rtp_rtcp/source/rtp_format_vp9_unittest.cc',
kjellander@webrtc.org6c35e0b2013-06-11 08:29:17 +0000262 'rtp_rtcp/source/rtp_packet_history_unittest.cc',
263 'rtp_rtcp/source/rtp_payload_registry_unittest.cc',
asapersson@webrtc.org042e91c2013-10-23 13:58:31 +0000264 'rtp_rtcp/source/rtp_rtcp_impl_unittest.cc',
kjellander@webrtc.org6c35e0b2013-06-11 08:29:17 +0000265 'rtp_rtcp/source/rtp_header_extension_unittest.cc',
266 'rtp_rtcp/source/rtp_sender_unittest.cc',
267 'rtp_rtcp/source/vp8_partition_aggregator_unittest.cc',
268 'rtp_rtcp/test/testAPI/test_api.cc',
269 'rtp_rtcp/test/testAPI/test_api.h',
270 'rtp_rtcp/test/testAPI/test_api_audio.cc',
271 'rtp_rtcp/test/testAPI/test_api_rtcp.cc',
272 'rtp_rtcp/test/testAPI/test_api_video.cc',
kjellander@webrtc.orgfec34d72013-06-05 08:58:46 +0000273 'utility/source/audio_frame_operations_unittest.cc',
henrik.lundin@webrtc.org74767402014-05-26 13:37:45 +0000274 'utility/source/file_player_unittests.cc',
tommi@webrtc.org0c3e12b2015-02-06 09:44:12 +0000275 'utility/source/process_thread_impl_unittest.cc',
kjellander@webrtc.org63e98882013-06-14 20:09:44 +0000276 'video_coding/codecs/test/packet_manipulator_unittest.cc',
277 'video_coding/codecs/test/stats_unittest.cc',
278 'video_coding/codecs/test/videoprocessor_unittest.cc',
279 'video_coding/codecs/vp8/default_temporal_layers_unittest.cc',
280 'video_coding/codecs/vp8/reference_picture_selection_unittest.cc',
pbos@webrtc.org9115cde2014-12-09 10:36:40 +0000281 'video_coding/codecs/vp8/screenshare_layers_unittest.cc',
282 'video_coding/codecs/vp8/simulcast_encoder_adapter_unittest.cc',
283 'video_coding/codecs/vp8/simulcast_unittest.cc',
284 'video_coding/codecs/vp8/simulcast_unittest.h',
philipelcfc319b2015-11-10 07:17:23 -0800285 'video_coding/codecs/vp9/screenshare_layers_unittest.cc',
kjellander@webrtc.org63e98882013-06-14 20:09:44 +0000286 'video_coding/main/interface/mock/mock_vcm_callbacks.h',
287 'video_coding/main/source/decoding_state_unittest.cc',
288 'video_coding/main/source/jitter_buffer_unittest.cc',
sprang@webrtc.org70e2d112014-09-24 14:06:56 +0000289 'video_coding/main/source/jitter_estimator_tests.cc',
henrik.lundin@webrtc.org544b17c2013-09-26 12:05:15 +0000290 'video_coding/main/source/media_optimization_unittest.cc',
kjellander@webrtc.org63e98882013-06-14 20:09:44 +0000291 'video_coding/main/source/receiver_unittest.cc',
292 'video_coding/main/source/session_info_unittest.cc',
kjellander@webrtc.org63e98882013-06-14 20:09:44 +0000293 'video_coding/main/source/timing_unittest.cc',
294 'video_coding/main/source/video_coding_robustness_unittest.cc',
andresp@webrtc.orge401c2e2013-09-16 20:29:13 +0000295 'video_coding/main/source/video_receiver_unittest.cc',
296 'video_coding/main/source/video_sender_unittest.cc',
kjellander@webrtc.org63e98882013-06-14 20:09:44 +0000297 'video_coding/main/source/qm_select_unittest.cc',
andresp@webrtc.org1f09dbe2013-09-13 19:17:54 +0000298 'video_coding/main/source/test/stream_generator.cc',
299 'video_coding/main/source/test/stream_generator.h',
pbos@webrtc.orga0d78272014-09-12 11:51:47 +0000300 'video_coding/utility/quality_scaler_unittest.cc',
kjellander@webrtc.org63e98882013-06-14 20:09:44 +0000301 'video_processing/main/test/unit_test/brightness_detection_test.cc',
kjellander@webrtc.org63e98882013-06-14 20:09:44 +0000302 'video_processing/main/test/unit_test/content_metrics_test.cc',
303 'video_processing/main/test/unit_test/deflickering_test.cc',
pbos@webrtc.orgc66aaaf2013-07-03 07:56:33 +0000304 'video_processing/main/test/unit_test/video_processing_unittest.cc',
305 'video_processing/main/test/unit_test/video_processing_unittest.h',
stefan@webrtc.org7bc465b2013-04-11 17:48:02 +0000306 ],
kjellander@webrtc.org6c35e0b2013-06-11 08:29:17 +0000307 'conditions': [
solenberg@webrtc.orgd6e46632013-10-30 16:06:26 +0000308 ['enable_bwe_test_logging==1', {
309 'defines': [ 'BWE_TEST_LOGGING_COMPILE_TIME_ENABLE=1' ],
310 }, {
311 'defines': [ 'BWE_TEST_LOGGING_COMPILE_TIME_ENABLE=0' ],
312 'sources!': [
313 'remote_bitrate_estimator/test/bwe_test_logging.cc'
314 ],
315 }],
kjellander@webrtc.org6c35e0b2013-06-11 08:29:17 +0000316 # Run screen/window capturer tests only on platforms where they are
317 # supported.
sergeyu@chromium.org9e182792013-06-17 21:14:36 +0000318 ['desktop_capture_supported==0', {
kjellander@webrtc.org6c35e0b2013-06-11 08:29:17 +0000319 'sources!': [
sergeyu@chromium.orge6e749d2013-10-16 02:48:41 +0000320 'desktop_capture/desktop_and_cursor_composer_unittest.cc',
sergeyu@chromium.org2767b532013-10-16 02:42:38 +0000321 'desktop_capture/mouse_cursor_monitor_unittest.cc',
kjellander@webrtc.org6c35e0b2013-06-11 08:29:17 +0000322 'desktop_capture/screen_capturer_helper_unittest.cc',
323 'desktop_capture/screen_capturer_mac_unittest.cc',
324 'desktop_capture/screen_capturer_mock_objects.h',
325 'desktop_capture/screen_capturer_unittest.cc',
326 'desktop_capture/window_capturer_unittest.cc',
327 ],
328 }],
kjellander@webrtc.org63e98882013-06-14 20:09:44 +0000329 ['prefer_fixed_point==1', {
330 'defines': [ 'WEBRTC_AUDIOPROC_FIXED_PROFILE' ],
331 }, {
332 'defines': [ 'WEBRTC_AUDIOPROC_FLOAT_PROFILE' ],
333 }],
334 ['enable_protobuf==1', {
Ivo Creusen747d5f62015-06-23 10:08:11 +0200335 'defines': [
336 'WEBRTC_AUDIOPROC_DEBUG_DUMP',
Ivo Creusen747d5f62015-06-23 10:08:11 +0200337 ],
andrew@webrtc.orgdd5d8042014-03-13 00:57:52 +0000338 'dependencies': [
Andrew MacDonalde2357142015-05-12 08:43:46 -0700339 'audioproc_protobuf_utils',
andrew@webrtc.orgdd5d8042014-03-13 00:57:52 +0000340 'audioproc_unittest_proto',
341 ],
342 'sources': [
peah1f1912d2015-11-09 03:13:19 -0800343 'audio_processing/audio_processing_impl_locking_unittest.cc',
andrew@webrtc.orgdd5d8042014-03-13 00:57:52 +0000344 'audio_processing/audio_processing_impl_unittest.cc',
345 'audio_processing/test/audio_processing_unittest.cc',
minyue275d2552015-11-04 06:23:54 -0800346 'audio_processing/test/debug_dump_test.cc',
andrew@webrtc.orgdd5d8042014-03-13 00:57:52 +0000347 'audio_processing/test/test_utils.h',
348 ],
kjellander@webrtc.org63e98882013-06-14 20:09:44 +0000349 }],
350 ['build_libvpx==1', {
351 'dependencies': [
kjellanderd6024e32015-09-28 21:16:48 -0700352 '<(libvpx_dir)/libvpx.gyp:libvpx_new',
kjellander@webrtc.org63e98882013-06-14 20:09:44 +0000353 ],
354 }],
kjellander@webrtc.org76a42572014-09-02 08:40:39 +0000355 ['OS=="android"', {
henrike@webrtc.org1303af32013-07-03 21:50:33 +0000356 'dependencies': [
357 '<(DEPTH)/testing/android/native_test.gyp:native_test_native_code',
358 ],
henrika@webrtc.org474d1eb2015-03-09 12:39:53 +0000359 # Need to disable error due to the line in
360 # base/android/jni_android.h triggering it:
361 # const BASE_EXPORT jobject GetApplicationContext()
362 # error: type qualifiers ignored on function return type
363 'cflags': [
364 '-Wno-ignored-qualifiers',
365 ],
366 'sources': [
367 'audio_device/android/audio_device_unittest.cc',
henrikab2619892015-05-18 16:49:16 +0200368 'audio_device/android/audio_manager_unittest.cc',
henrika@webrtc.org474d1eb2015-03-09 12:39:53 +0000369 'audio_device/android/ensure_initialized.cc',
370 'audio_device/android/ensure_initialized.h',
371 ],
henrike@webrtc.org1303af32013-07-03 21:50:33 +0000372 }],
henrika1d34fe92015-06-16 10:04:20 +0200373 ['OS=="ios"', {
Zeke Chin71f6f442015-06-29 14:34:58 -0700374 'sources': [
375 'video_coding/codecs/h264/h264_video_toolbox_nalu_unittest.cc',
henrikaba35d052015-07-14 17:04:08 +0200376 'audio_device/ios/audio_device_unittest_ios.cc',
Zeke Chin71f6f442015-06-29 14:34:58 -0700377 ],
henrika1d34fe92015-06-16 10:04:20 +0200378 'mac_bundle_resources': [
379 '<(DEPTH)/resources/audio_coding/speech_mono_16kHz.pcm',
380 '<(DEPTH)/resources/audio_coding/testfile32kHz.pcm',
381 '<(DEPTH)/resources/audio_coding/teststereo32kHz.pcm',
henrikaba35d052015-07-14 17:04:08 +0200382 '<(DEPTH)/resources/audio_device/audio_short16.pcm',
383 '<(DEPTH)/resources/audio_device/audio_short44.pcm',
384 '<(DEPTH)/resources/audio_device/audio_short48.pcm',
henrika1d34fe92015-06-16 10:04:20 +0200385 '<(DEPTH)/resources/audio_processing/agc/agc_no_circular_buffer.dat',
386 '<(DEPTH)/resources/audio_processing/agc/agc_pitch_gain.dat',
387 '<(DEPTH)/resources/audio_processing/agc/agc_pitch_lag.dat',
388 '<(DEPTH)/resources/audio_processing/agc/agc_spectral_peak.dat',
389 '<(DEPTH)/resources/audio_processing/agc/agc_voicing_prob.dat',
390 '<(DEPTH)/resources/audio_processing/agc/agc_with_circular_buffer.dat',
391 '<(DEPTH)/resources/short_mixed_mono_48.dat',
392 '<(DEPTH)/resources/short_mixed_mono_48.pcm',
393 '<(DEPTH)/resources/short_mixed_stereo_48.dat',
394 '<(DEPTH)/resources/short_mixed_stereo_48.pcm',
395 ],
396 }],
kjellander@webrtc.org6c35e0b2013-06-11 08:29:17 +0000397 ],
398 # Disable warnings to enable Win64 build, issue 1323.
399 'msvs_disabled_warnings': [
400 4267, # size_t to int truncation.
401 ],
stefan@webrtc.org7bc465b2013-04-11 17:48:02 +0000402 },
kjellander@webrtc.org63e98882013-06-14 20:09:44 +0000403 {
phoglund@webrtc.org32fe90b2013-08-19 11:40:19 +0000404 'target_name': 'modules_tests',
henrike@webrtc.org89c67402013-08-02 16:53:47 +0000405 'type': '<(gtest_target_type)',
kjellander@webrtc.org63e98882013-06-14 20:09:44 +0000406 'dependencies': [
kjellander@webrtc.org63e98882013-06-14 20:09:44 +0000407 '<(DEPTH)/testing/gtest.gyp:gtest',
kwiberg@webrtc.orgac2d27d2015-02-26 13:59:22 +0000408 '<(webrtc_root)/common.gyp:webrtc_common',
kjellander@webrtc.org63e98882013-06-14 20:09:44 +0000409 '<(webrtc_root)/common_video/common_video.gyp:common_video',
410 '<(webrtc_root)/modules/video_coding/codecs/vp8/vp8.gyp:webrtc_vp8',
marpan@webrtc.org5b883172014-11-01 06:10:48 +0000411 '<(webrtc_root)/modules/video_coding/codecs/vp9/vp9.gyp:webrtc_vp9',
andresp@webrtc.org86e1e482015-01-14 09:30:52 +0000412 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers',
kjellander@webrtc.org63e98882013-06-14 20:09:44 +0000413 '<(webrtc_root)/test/metrics.gyp:metrics',
414 '<(webrtc_root)/test/test.gyp:test_support',
415 '<(webrtc_root)/test/test.gyp:test_support_main',
pbos@webrtc.org788acd12014-12-15 09:41:24 +0000416 'audio_coding_module',
417 'rtp_rtcp',
418 'video_codecs_test_framework',
419 'webrtc_utility',
420 'webrtc_video_coding',
kjellander@webrtc.org63e98882013-06-14 20:09:44 +0000421 ],
422 'defines': [
423 '<@(audio_coding_defines)',
424 ],
425 'sources': [
kjellander@webrtc.org63e98882013-06-14 20:09:44 +0000426 'audio_coding/main/test/APITest.cc',
427 'audio_coding/main/test/Channel.cc',
kjellander@webrtc.org63e98882013-06-14 20:09:44 +0000428 'audio_coding/main/test/EncodeDecodeTest.cc',
kjellander@webrtc.org63e98882013-06-14 20:09:44 +0000429 'audio_coding/main/test/PCMFile.cc',
pbos@webrtc.org788acd12014-12-15 09:41:24 +0000430 'audio_coding/main/test/PacketLossTest.cc',
kjellander@webrtc.org63e98882013-06-14 20:09:44 +0000431 'audio_coding/main/test/RTPFile.cc',
432 'audio_coding/main/test/SpatialAudio.cc',
433 'audio_coding/main/test/TestAllCodecs.cc',
minyue@webrtc.orgaa5ea1c2014-05-23 15:16:51 +0000434 'audio_coding/main/test/TestRedFec.cc',
kjellander@webrtc.org63e98882013-06-14 20:09:44 +0000435 'audio_coding/main/test/TestStereo.cc',
436 'audio_coding/main/test/TestVADDTX.cc',
pbos@webrtc.org788acd12014-12-15 09:41:24 +0000437 'audio_coding/main/test/Tester.cc',
kjellander@webrtc.org63e98882013-06-14 20:09:44 +0000438 'audio_coding/main/test/TimedTrace.cc',
439 'audio_coding/main/test/TwoWayCommunication.cc',
pbos@webrtc.org788acd12014-12-15 09:41:24 +0000440 'audio_coding/main/test/iSACTest.cc',
pbos@webrtc.org788acd12014-12-15 09:41:24 +0000441 'audio_coding/main/test/opus_test.cc',
442 'audio_coding/main/test/target_delay_unittest.cc',
kjellander@webrtc.org63e98882013-06-14 20:09:44 +0000443 'audio_coding/main/test/utility.cc',
444 'rtp_rtcp/test/testFec/test_fec.cc',
445 'video_coding/codecs/test/videoprocessor_integrationtest.cc',
446 'video_coding/codecs/vp8/test/vp8_impl_unittest.cc',
447 ],
henrike@webrtc.org89c67402013-08-02 16:53:47 +0000448 'conditions': [
kjellander@webrtc.org3bd41562014-09-01 11:06:37 +0000449 ['OS=="android"', {
henrike@webrtc.org89c67402013-08-02 16:53:47 +0000450 'dependencies': [
451 '<(DEPTH)/testing/android/native_test.gyp:native_test_native_code',
452 ],
453 }],
454 ],
kjellander@webrtc.org63e98882013-06-14 20:09:44 +0000455 },
stefan@webrtc.org7bc465b2013-04-11 17:48:02 +0000456 ],
henrike@webrtc.org1303af32013-07-03 21:50:33 +0000457 'conditions': [
kjellander@webrtc.org3bd41562014-09-01 11:06:37 +0000458 ['OS=="android"', {
henrike@webrtc.org1303af32013-07-03 21:50:33 +0000459 'targets': [
460 {
kjellander@webrtc.org0372b932014-09-03 14:34:46 +0000461 'target_name': 'modules_unittests_apk_target',
henrike@webrtc.org1303af32013-07-03 21:50:33 +0000462 'type': 'none',
463 'dependencies': [
kjellander@webrtc.org0372b932014-09-03 14:34:46 +0000464 '<(apk_tests_path):modules_unittests_apk',
henrike@webrtc.org1303af32013-07-03 21:50:33 +0000465 ],
andrew@webrtc.org2cbb4292013-08-02 20:52:54 +0000466 },
henrike@webrtc.org89c67402013-08-02 16:53:47 +0000467 {
kjellander@webrtc.org0372b932014-09-03 14:34:46 +0000468 'target_name': 'modules_tests_apk_target',
henrike@webrtc.org89c67402013-08-02 16:53:47 +0000469 'type': 'none',
470 'dependencies': [
kjellander@webrtc.org0372b932014-09-03 14:34:46 +0000471 '<(apk_tests_path):modules_tests_apk',
henrike@webrtc.org89c67402013-08-02 16:53:47 +0000472 ],
473 },
474 ],
475 }],
kjellander@webrtc.org33654222013-08-22 07:57:00 +0000476 ['test_isolation_mode != "noop"', {
477 'targets': [
478 {
Henrik Kjellanderd6d27e72015-09-25 22:19:11 +0200479 'target_name': 'audio_codec_speed_tests_run',
480 'type': 'none',
481 'dependencies': [
482 'audio_codec_speed_tests',
483 ],
484 'includes': [
485 '../build/isolate.gypi',
486 ],
487 'sources': [
488 'audio_codec_speed_tests.isolate',
489 ],
490 },
491 {
492 'target_name': 'audio_decoder_unittests_run',
493 'type': 'none',
494 'dependencies': [
495 'audio_decoder_unittests',
496 ],
497 'includes': [
498 '../build/isolate.gypi',
499 ],
500 'sources': [
501 'audio_decoder_unittests.isolate',
502 ],
503 },
504 {
505 'target_name': 'audio_device_tests_run',
506 'type': 'none',
507 'dependencies': [
508 'audio_device_tests',
509 ],
510 'includes': [
511 '../build/isolate.gypi',
512 ],
513 'sources': [
514 'audio_device_tests.isolate',
515 ],
516 },
517 {
kjellander@webrtc.org33654222013-08-22 07:57:00 +0000518 'target_name': 'modules_tests_run',
519 'type': 'none',
520 'dependencies': [
kjellander@webrtc.org33654222013-08-22 07:57:00 +0000521 'modules_tests',
522 ],
523 'includes': [
kjellander@webrtc.org2a973172013-10-02 19:31:16 +0000524 '../build/isolate.gypi',
kjellander@webrtc.org33654222013-08-22 07:57:00 +0000525 ],
526 'sources': [
527 'modules_tests.isolate',
528 ],
529 },
530 {
531 'target_name': 'modules_unittests_run',
532 'type': 'none',
533 'dependencies': [
kjellander@webrtc.org33654222013-08-22 07:57:00 +0000534 'modules_unittests',
535 ],
536 'includes': [
kjellander@webrtc.org2a973172013-10-02 19:31:16 +0000537 '../build/isolate.gypi',
kjellander@webrtc.org33654222013-08-22 07:57:00 +0000538 ],
539 'sources': [
540 'modules_unittests.isolate',
541 ],
542 },
Henrik Kjellanderd6d27e72015-09-25 22:19:11 +0200543 {
544 'target_name': 'video_render_tests_run',
545 'type': 'none',
546 'dependencies': [
547 'video_render_tests',
548 ],
549 'includes': [
550 '../build/isolate.gypi',
551 ],
552 'sources': [
553 'video_render_tests.isolate',
554 ],
555 },
kjellander@webrtc.org33654222013-08-22 07:57:00 +0000556 ],
557 }],
henrike@webrtc.org89c67402013-08-02 16:53:47 +0000558 ],
mflodman@webrtc.org6af95942012-05-24 13:23:35 +0000559 }], # include_tests
xians@google.comd3185fe2011-09-12 12:24:39 +0000560 ], # conditions
561}