blob: a7ae7f9c7b735efe6071d5b4b571a9adf0cff180 [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',
kwiberg@webrtc.orge04a93b2014-12-09 10:12:53 +000012 'audio_coding/codecs/interfaces.gypi',
kjellander@webrtc.org64a897a2011-11-17 13:33:11 +000013 'audio_coding/codecs/cng/cng.gypi',
kjellander@webrtc.orgcc2ecb32011-11-17 13:48:36 +000014 'audio_coding/codecs/g711/g711.gypi',
kjellander@webrtc.org3f1cb8e2011-11-17 13:56:54 +000015 'audio_coding/codecs/g722/g722.gypi',
kjellander@webrtc.org36e1ad92011-11-07 15:27:11 +000016 'audio_coding/codecs/ilbc/ilbc.gypi',
andrew@webrtc.org6a16e742012-08-09 18:35:39 +000017 'audio_coding/codecs/isac/main/source/isac.gypi',
18 'audio_coding/codecs/isac/fix/source/isacfix.gypi',
kjellander@webrtc.orgb72268e2011-11-17 13:39:15 +000019 'audio_coding/codecs/pcm16b/pcm16b.gypi',
henrik.lundin@webrtc.org70e53fa2014-04-29 08:58:46 +000020 'audio_coding/main/acm2/audio_coding_module.gypi',
henrik.lundin@webrtc.org9c55f0f2014-06-09 08:10:28 +000021 'audio_coding/neteq/neteq.gypi',
xians@google.comd3185fe2011-09-12 12:24:39 +000022 'audio_conference_mixer/source/audio_conference_mixer.gypi',
andrew@webrtc.org236d5d32012-09-21 20:46:40 +000023 'audio_device/audio_device.gypi',
andrew@webrtc.org4d5d5c12011-10-19 01:40:33 +000024 'audio_processing/audio_processing.gypi',
pwestin@webrtc.org1cd11622012-04-19 12:13:52 +000025 'bitrate_controller/bitrate_controller.gypi',
sergeyu@chromium.org15e32cc2013-04-29 20:10:57 +000026 'desktop_capture/desktop_capture.gypi',
xians@google.comd3185fe2011-09-12 12:24:39 +000027 'media_file/source/media_file.gypi',
pwestin@webrtc.orgb5180172012-11-09 20:56:23 +000028 'pacing/pacing.gypi',
stefan@webrtc.org9354cc92012-06-07 08:10:14 +000029 'remote_bitrate_estimator/remote_bitrate_estimator.gypi',
andrew@webrtc.org94caca72012-10-30 21:58:00 +000030 'rtp_rtcp/source/rtp_rtcp.gypi',
xians@google.comd3185fe2011-09-12 12:24:39 +000031 'utility/source/utility.gypi',
32 'video_coding/codecs/i420/main/source/i420.gypi',
xians@google.comd3185fe2011-09-12 12:24:39 +000033 'video_coding/main/source/video_coding.gypi',
andrew@webrtc.org94caca72012-10-30 21:58:00 +000034 'video_capture/video_capture.gypi',
xians@google.comd3185fe2011-09-12 12:24:39 +000035 'video_processing/main/source/video_processing.gypi',
andrew@webrtc.org9841d922012-10-31 05:22:11 +000036 'video_render/video_render.gypi',
xians@google.comd3185fe2011-09-12 12:24:39 +000037 ],
xians@google.comd3185fe2011-09-12 12:24:39 +000038 'conditions': [
andrew@webrtc.orgc0773fc2012-10-19 07:13:52 +000039 ['include_opus==1', {
40 'includes': ['audio_coding/codecs/opus/opus.gypi',],
41 }],
mflodman@webrtc.org6af95942012-05-24 13:23:35 +000042 ['include_tests==1', {
xians@google.comd3185fe2011-09-12 12:24:39 +000043 'includes': [
andrew@webrtc.org6a16e742012-08-09 18:35:39 +000044 'audio_coding/codecs/isac/isac_test.gypi',
45 'audio_coding/codecs/isac/isacfix_test.gypi',
minyue@webrtc.org04546882014-03-07 08:55:48 +000046 'audio_coding/codecs/tools/audio_codec_speed_tests.gypi',
andrew@webrtc.orgc732ca62012-09-10 16:33:43 +000047 'audio_processing/audio_processing_tests.gypi',
xians@google.comd3185fe2011-09-12 12:24:39 +000048 'rtp_rtcp/test/testFec/test_fec.gypi',
49 'video_coding/main/source/video_coding_test.gypi',
kjellander@webrtc.org35a17562011-10-06 06:44:54 +000050 'video_coding/codecs/test/video_codecs_test_framework.gypi',
51 'video_coding/codecs/tools/video_codecs_tools.gypi',
xians@google.comd3185fe2011-09-12 12:24:39 +000052 ], # includes
solenberg@webrtc.org86136a02013-09-09 13:06:52 +000053 'variables': {
kjellander@webrtc.org6c35e0b2013-06-11 08:29:17 +000054 'conditions': [
55 # Desktop capturer is supported only on Windows, OSX and Linux.
56 ['OS=="win" or OS=="mac" or OS=="linux"', {
57 'desktop_capture_supported%': 1,
58 }, {
59 'desktop_capture_supported%': 0,
60 }],
61 ],
62 },
stefan@webrtc.org7bc465b2013-04-11 17:48:02 +000063 'targets': [
64 {
65 'target_name': 'modules_unittests',
henrike@webrtc.org1303af32013-07-03 21:50:33 +000066 'type': '<(gtest_target_type)',
turaj@webrtc.org6ea3d1c2013-10-02 21:44:33 +000067 'defines': [
68 '<@(audio_coding_defines)',
69 ],
stefan@webrtc.org7bc465b2013-04-11 17:48:02 +000070 'dependencies': [
henrik.lundin@webrtc.orgc8e98182014-06-26 19:07:04 +000071 'acm_receive_test',
henrik.lundin@webrtc.org038cee22014-08-21 08:59:14 +000072 'acm_send_test',
kjellander@webrtc.org63e98882013-06-14 20:09:44 +000073 'audio_coding_module',
74 'audio_processing',
kjellander@webrtc.org6c35e0b2013-06-11 08:29:17 +000075 'bitrate_controller',
kjellander@webrtc.org63e98882013-06-14 20:09:44 +000076 'CNG',
kjellander@webrtc.org6c35e0b2013-06-11 08:29:17 +000077 'desktop_capture',
kjellander@webrtc.org63e98882013-06-14 20:09:44 +000078 'iSACFix',
kjellander@webrtc.org6c35e0b2013-06-11 08:29:17 +000079 'media_file',
henrik.lundin@webrtc.org9c55f0f2014-06-09 08:10:28 +000080 'neteq',
kjellander@webrtc.org63e98882013-06-14 20:09:44 +000081 'neteq_unittest_tools',
kjellander@webrtc.org6c35e0b2013-06-11 08:29:17 +000082 'paced_sender',
kjellander@webrtc.org63e98882013-06-14 20:09:44 +000083 'PCM16B', # Needed by NetEq tests.
kjellander@webrtc.org6c35e0b2013-06-11 08:29:17 +000084 'remote_bitrate_estimator',
85 'rtp_rtcp',
kjellander@webrtc.org63e98882013-06-14 20:09:44 +000086 'video_codecs_test_framework',
87 'video_processing',
kjellander@webrtc.orgfec34d72013-06-05 08:58:46 +000088 'webrtc_utility',
kjellander@webrtc.org63e98882013-06-14 20:09:44 +000089 'webrtc_video_coding',
90 '<@(neteq_dependencies)',
kjellander@webrtc.org6c35e0b2013-06-11 08:29:17 +000091 '<(DEPTH)/testing/gmock.gyp:gmock',
stefan@webrtc.org7bc465b2013-04-11 17:48:02 +000092 '<(DEPTH)/testing/gtest.gyp:gtest',
turaj@webrtc.orga6101d72013-10-01 22:01:09 +000093 '<(DEPTH)/third_party/gflags/gflags.gyp:gflags',
kjellander@webrtc.org63e98882013-06-14 20:09:44 +000094 '<(webrtc_root)/common_audio/common_audio.gyp:common_audio',
pbos@webrtc.orgad553a22014-10-23 08:24:02 +000095 '<(webrtc_root)/modules/modules.gyp:video_capture_module_impl',
pbos@webrtc.org9f79fe62014-12-04 15:34:06 +000096 '<(webrtc_root)/modules/remote_bitrate_estimator/remote_bitrate_estimator_components.gyp:rbe_components',
kjellander@webrtc.org63e98882013-06-14 20:09:44 +000097 '<(webrtc_root)/modules/video_coding/codecs/vp8/vp8.gyp:webrtc_vp8',
marpan@webrtc.org5b883172014-11-01 06:10:48 +000098 '<(webrtc_root)/modules/video_coding/codecs/vp9/vp9.gyp:webrtc_vp9',
kjellander@webrtc.org6c35e0b2013-06-11 08:29:17 +000099 '<(webrtc_root)/system_wrappers/source/system_wrappers.gyp:system_wrappers',
pbos@webrtc.org724947b2013-12-11 16:26:16 +0000100 '<(webrtc_root)/test/test.gyp:frame_generator',
pbos@webrtc.orgaca58032014-10-27 18:01:03 +0000101 '<(webrtc_root)/test/test.gyp:rtp_test_utils',
102 '<(webrtc_root)/test/test.gyp:test_support_main',
stefan@webrtc.org7bc465b2013-04-11 17:48:02 +0000103 ],
104 'sources': [
henrik.lundin@webrtc.orgff1a3e32014-12-10 07:29:08 +0000105 'audio_coding/codecs/cng/audio_encoder_cng_unittest.cc',
minyue@webrtc.org1d956dd2014-08-07 12:31:36 +0000106 'audio_coding/main/acm2/acm_opus_unittest.cc',
turaj@webrtc.org6ea3d1c2013-10-02 21:44:33 +0000107 'audio_coding/main/acm2/acm_receiver_unittest.cc',
andresp@webrtc.org4f6f22f2014-09-23 11:37:57 +0000108 'audio_coding/main/acm2/acm_receiver_unittest_oldapi.cc',
henrik.lundin@webrtc.org7c6e3d12014-04-15 17:59:25 +0000109 'audio_coding/main/acm2/audio_coding_module_unittest.cc',
henrik.lundin@webrtc.org0e6e4d22014-09-23 12:05:34 +0000110 'audio_coding/main/acm2/audio_coding_module_unittest_oldapi.cc',
wu@webrtc.org24301a62013-12-13 19:17:43 +0000111 'audio_coding/main/acm2/call_statistics_unittest.cc',
turaj@webrtc.org6ea3d1c2013-10-02 21:44:33 +0000112 'audio_coding/main/acm2/initial_delay_manager_unittest.cc',
113 'audio_coding/main/acm2/nack_unittest.cc',
kjellander@webrtc.org63e98882013-06-14 20:09:44 +0000114 'audio_coding/codecs/cng/cng_unittest.cc',
115 'audio_coding/codecs/isac/fix/source/filters_unittest.cc',
116 'audio_coding/codecs/isac/fix/source/filterbanks_unittest.cc',
117 'audio_coding/codecs/isac/fix/source/lpc_masking_model_unittest.cc',
118 'audio_coding/codecs/isac/fix/source/transform_unittest.cc',
119 'audio_coding/codecs/isac/main/source/isac_unittest.cc',
120 'audio_coding/codecs/opus/opus_unittest.cc',
henrik.lundin@webrtc.org9c55f0f2014-06-09 08:10:28 +0000121 'audio_coding/neteq/audio_classifier_unittest.cc',
122 'audio_coding/neteq/audio_multi_vector_unittest.cc',
123 'audio_coding/neteq/audio_vector_unittest.cc',
124 'audio_coding/neteq/background_noise_unittest.cc',
125 'audio_coding/neteq/buffer_level_filter_unittest.cc',
126 'audio_coding/neteq/comfort_noise_unittest.cc',
127 'audio_coding/neteq/decision_logic_unittest.cc',
128 'audio_coding/neteq/decoder_database_unittest.cc',
129 'audio_coding/neteq/delay_manager_unittest.cc',
130 'audio_coding/neteq/delay_peak_detector_unittest.cc',
131 'audio_coding/neteq/dsp_helper_unittest.cc',
132 'audio_coding/neteq/dtmf_buffer_unittest.cc',
133 'audio_coding/neteq/dtmf_tone_generator_unittest.cc',
134 'audio_coding/neteq/expand_unittest.cc',
135 'audio_coding/neteq/merge_unittest.cc',
136 'audio_coding/neteq/neteq_external_decoder_unittest.cc',
137 'audio_coding/neteq/neteq_impl_unittest.cc',
138 'audio_coding/neteq/neteq_stereo_unittest.cc',
139 'audio_coding/neteq/neteq_unittest.cc',
140 'audio_coding/neteq/normal_unittest.cc',
141 'audio_coding/neteq/packet_buffer_unittest.cc',
142 'audio_coding/neteq/payload_splitter_unittest.cc',
143 'audio_coding/neteq/post_decode_vad_unittest.cc',
144 'audio_coding/neteq/random_vector_unittest.cc',
145 'audio_coding/neteq/sync_buffer_unittest.cc',
146 'audio_coding/neteq/timestamp_scaler_unittest.cc',
147 'audio_coding/neteq/time_stretch_unittest.cc',
148 'audio_coding/neteq/mock/mock_audio_decoder.h',
149 'audio_coding/neteq/mock/mock_audio_vector.h',
150 'audio_coding/neteq/mock/mock_buffer_level_filter.h',
151 'audio_coding/neteq/mock/mock_decoder_database.h',
152 'audio_coding/neteq/mock/mock_delay_manager.h',
153 'audio_coding/neteq/mock/mock_delay_peak_detector.h',
154 'audio_coding/neteq/mock/mock_dtmf_buffer.h',
155 'audio_coding/neteq/mock/mock_dtmf_tone_generator.h',
henrik.lundin@webrtc.orgee0fb182014-09-02 13:22:11 +0000156 'audio_coding/neteq/mock/mock_expand.h',
henrik.lundin@webrtc.org9c55f0f2014-06-09 08:10:28 +0000157 'audio_coding/neteq/mock/mock_external_decoder_pcm16b.h',
158 'audio_coding/neteq/mock/mock_packet_buffer.h',
159 'audio_coding/neteq/mock/mock_payload_splitter.h',
henrik.lundin@webrtc.orgf554d752014-08-29 07:26:40 +0000160 'audio_coding/neteq/tools/input_audio_file_unittest.cc',
henrik.lundin@webrtc.org9c55f0f2014-06-09 08:10:28 +0000161 'audio_coding/neteq/tools/packet_unittest.cc',
kjellander@webrtc.org63e98882013-06-14 20:09:44 +0000162 'audio_processing/aec/echo_cancellation_unittest.cc',
pbos@webrtc.org788acd12014-12-15 09:41:24 +0000163 'audio_processing/aec/system_delay_unittest.cc',
164 # TODO(ajm): Fix to match new interface.
165 # 'audio_processing/agc/agc_unittest.cc',
166 'audio_processing/agc/agc_audio_proc_unittest.cc',
167 'audio_processing/agc/circular_buffer_unittest.cc',
168 'audio_processing/agc/gmm_unittest.cc',
169 'audio_processing/agc/histogram_unittest.cc',
170 'audio_processing/agc/include/mock_agc.h',
171 'audio_processing/agc/pitch_based_vad_unittest.cc',
172 'audio_processing/agc/pitch_internal_unittest.cc',
173 'audio_processing/agc/pole_zero_filter_unittest.cc',
174 'audio_processing/agc/standalone_vad_unittest.cc',
175 'audio_processing/agc/test/test_utils.cc',
andrew@webrtc.org1760a172013-09-25 23:17:38 +0000176 'audio_processing/echo_cancellation_impl_unittest.cc',
aluebs@webrtc.org79b9eba2014-11-26 20:21:38 +0000177 'audio_processing/splitting_filter_unittest.cc',
pbos@webrtc.org788acd12014-12-15 09:41:24 +0000178 'audio_processing/transient/dyadic_decimator_unittest.cc',
179 'audio_processing/transient/file_utils.cc',
180 'audio_processing/transient/file_utils.h',
181 'audio_processing/transient/file_utils_unittest.cc',
182 'audio_processing/transient/moving_moments_unittest.cc',
183 'audio_processing/transient/transient_detector_unittest.cc',
184 'audio_processing/transient/transient_suppressor_unittest.cc',
185 'audio_processing/transient/wpd_node_unittest.cc',
186 'audio_processing/transient/wpd_tree_unittest.cc',
kjellander@webrtc.org63e98882013-06-14 20:09:44 +0000187 'audio_processing/utility/delay_estimator_unittest.cc',
188 'audio_processing/utility/ring_buffer_unittest.cc',
kjellander@webrtc.org6c35e0b2013-06-11 08:29:17 +0000189 'bitrate_controller/bitrate_controller_unittest.cc',
stefan@webrtc.org83d48042014-11-10 13:55:16 +0000190 'bitrate_controller/send_side_bandwidth_estimation_unittest.cc',
sergeyu@chromium.orge6e749d2013-10-16 02:48:41 +0000191 'desktop_capture/desktop_and_cursor_composer_unittest.cc',
kjellander@webrtc.org6c35e0b2013-06-11 08:29:17 +0000192 'desktop_capture/desktop_region_unittest.cc',
193 'desktop_capture/differ_block_unittest.cc',
194 'desktop_capture/differ_unittest.cc',
sergeyu@chromium.orge6e749d2013-10-16 02:48:41 +0000195 'desktop_capture/mouse_cursor_monitor_unittest.cc',
kjellander@webrtc.org6c35e0b2013-06-11 08:29:17 +0000196 'desktop_capture/screen_capturer_helper_unittest.cc',
197 'desktop_capture/screen_capturer_mac_unittest.cc',
198 'desktop_capture/screen_capturer_mock_objects.h',
199 'desktop_capture/screen_capturer_unittest.cc',
200 'desktop_capture/window_capturer_unittest.cc',
andrew@webrtc.org60730cf2014-01-07 17:45:09 +0000201 'desktop_capture/win/cursor_unittest.cc',
202 'desktop_capture/win/cursor_unittest_resources.h',
203 'desktop_capture/win/cursor_unittest_resources.rc',
kjellander@webrtc.org6c35e0b2013-06-11 08:29:17 +0000204 'media_file/source/media_file_unittest.cc',
kjellander@webrtc.org63e98882013-06-14 20:09:44 +0000205 'module_common_types_unittest.cc',
stefan@webrtc.org82462aa2014-10-23 11:57:05 +0000206 'pacing/bitrate_prober_unittest.cc',
kjellander@webrtc.org6c35e0b2013-06-11 08:29:17 +0000207 'pacing/paced_sender_unittest.cc',
stefan@webrtc.orgc88d3362014-02-05 15:57:14 +0000208 'remote_bitrate_estimator/bwe_simulations.cc',
kjellander@webrtc.org6c35e0b2013-06-11 08:29:17 +0000209 'remote_bitrate_estimator/include/mock/mock_remote_bitrate_observer.h',
pbos@webrtc.org9f79fe62014-12-04 15:34:06 +0000210 'remote_bitrate_estimator/inter_arrival_unittest.cc',
211 'remote_bitrate_estimator/overuse_detector_unittest.cc',
sprang@webrtc.org37968a92013-12-03 10:31:59 +0000212 'remote_bitrate_estimator/rate_statistics_unittest.cc',
pbos@webrtc.org9f79fe62014-12-04 15:34:06 +0000213 'remote_bitrate_estimator/remote_bitrate_estimator_abs_send_time_unittest.cc',
solenberg@webrtc.org86136a02013-09-09 13:06:52 +0000214 'remote_bitrate_estimator/remote_bitrate_estimator_single_stream_unittest.cc',
215 'remote_bitrate_estimator/remote_bitrate_estimator_unittest_helper.cc',
216 'remote_bitrate_estimator/remote_bitrate_estimator_unittest_helper.h',
solenberg@webrtc.org82151062013-10-21 14:23:26 +0000217 'remote_bitrate_estimator/remote_bitrate_estimators_test.cc',
pbos@webrtc.org9f79fe62014-12-04 15:34:06 +0000218 'remote_bitrate_estimator/test/bwe_test.cc',
219 'remote_bitrate_estimator/test/bwe_test.h',
solenberg@webrtc.org812dd112013-12-03 15:11:14 +0000220 'remote_bitrate_estimator/test/bwe_test_baselinefile.cc',
221 'remote_bitrate_estimator/test/bwe_test_baselinefile.h',
222 'remote_bitrate_estimator/test/bwe_test_fileutils.cc',
223 'remote_bitrate_estimator/test/bwe_test_fileutils.h',
solenberg@webrtc.orgd6e46632013-10-30 16:06:26 +0000224 'remote_bitrate_estimator/test/bwe_test_framework.cc',
225 'remote_bitrate_estimator/test/bwe_test_framework.h',
226 'remote_bitrate_estimator/test/bwe_test_framework_unittest.cc',
227 'remote_bitrate_estimator/test/bwe_test_logging.cc',
228 'remote_bitrate_estimator/test/bwe_test_logging.h',
kjellander@webrtc.org6c35e0b2013-06-11 08:29:17 +0000229 'rtp_rtcp/source/mock/mock_rtp_payload_strategy.h',
sprang@webrtc.org499631c2013-12-03 13:22:48 +0000230 'rtp_rtcp/source/byte_io_unittest.cc',
stefan@webrtc.org7bb8f022013-09-06 13:40:11 +0000231 'rtp_rtcp/source/fec_receiver_unittest.cc',
kjellander@webrtc.org6c35e0b2013-06-11 08:29:17 +0000232 'rtp_rtcp/source/fec_test_helper.cc',
233 'rtp_rtcp/source/fec_test_helper.h',
234 'rtp_rtcp/source/nack_rtx_unittest.cc',
235 'rtp_rtcp/source/producer_fec_unittest.cc',
stefan@webrtc.org286fe0b2013-08-21 20:58:21 +0000236 'rtp_rtcp/source/receive_statistics_unittest.cc',
wu@webrtc.org88abf112014-05-14 16:53:51 +0000237 'rtp_rtcp/source/remote_ntp_time_estimator_unittest.cc',
kjellander@webrtc.org6c35e0b2013-06-11 08:29:17 +0000238 'rtp_rtcp/source/rtcp_format_remb_unittest.cc',
asapersson@webrtc.org0f2809a2014-02-21 08:14:45 +0000239 'rtp_rtcp/source/rtcp_packet_unittest.cc',
kjellander@webrtc.org6c35e0b2013-06-11 08:29:17 +0000240 'rtp_rtcp/source/rtcp_receiver_unittest.cc',
asapersson@webrtc.org0f2809a2014-02-21 08:14:45 +0000241 'rtp_rtcp/source/rtcp_sender_unittest.cc',
asapersson@webrtc.org2dd31342014-10-29 12:42:30 +0000242 'rtp_rtcp/source/rtcp_utility_unittest.cc',
kjellander@webrtc.org6c35e0b2013-06-11 08:29:17 +0000243 'rtp_rtcp/source/rtp_fec_unittest.cc',
stefan@webrtc.org2ec56062014-07-31 14:59:24 +0000244 'rtp_rtcp/source/rtp_format_h264_unittest.cc',
kjellander@webrtc.org6c35e0b2013-06-11 08:29:17 +0000245 'rtp_rtcp/source/rtp_format_vp8_unittest.cc',
246 'rtp_rtcp/source/rtp_format_vp8_test_helper.cc',
247 'rtp_rtcp/source/rtp_format_vp8_test_helper.h',
248 'rtp_rtcp/source/rtp_packet_history_unittest.cc',
249 'rtp_rtcp/source/rtp_payload_registry_unittest.cc',
asapersson@webrtc.org042e91c2013-10-23 13:58:31 +0000250 'rtp_rtcp/source/rtp_rtcp_impl_unittest.cc',
kjellander@webrtc.org6c35e0b2013-06-11 08:29:17 +0000251 'rtp_rtcp/source/rtp_header_extension_unittest.cc',
252 'rtp_rtcp/source/rtp_sender_unittest.cc',
253 'rtp_rtcp/source/vp8_partition_aggregator_unittest.cc',
254 'rtp_rtcp/test/testAPI/test_api.cc',
255 'rtp_rtcp/test/testAPI/test_api.h',
256 'rtp_rtcp/test/testAPI/test_api_audio.cc',
257 'rtp_rtcp/test/testAPI/test_api_rtcp.cc',
258 'rtp_rtcp/test/testAPI/test_api_video.cc',
kjellander@webrtc.orgfec34d72013-06-05 08:58:46 +0000259 'utility/source/audio_frame_operations_unittest.cc',
henrik.lundin@webrtc.org74767402014-05-26 13:37:45 +0000260 'utility/source/file_player_unittests.cc',
kjellander@webrtc.org63e98882013-06-14 20:09:44 +0000261 'video_coding/codecs/test/packet_manipulator_unittest.cc',
262 'video_coding/codecs/test/stats_unittest.cc',
263 'video_coding/codecs/test/videoprocessor_unittest.cc',
264 'video_coding/codecs/vp8/default_temporal_layers_unittest.cc',
265 'video_coding/codecs/vp8/reference_picture_selection_unittest.cc',
pbos@webrtc.org9115cde2014-12-09 10:36:40 +0000266 'video_coding/codecs/vp8/screenshare_layers_unittest.cc',
267 'video_coding/codecs/vp8/simulcast_encoder_adapter_unittest.cc',
268 'video_coding/codecs/vp8/simulcast_unittest.cc',
269 'video_coding/codecs/vp8/simulcast_unittest.h',
kjellander@webrtc.org63e98882013-06-14 20:09:44 +0000270 'video_coding/main/interface/mock/mock_vcm_callbacks.h',
271 'video_coding/main/source/decoding_state_unittest.cc',
272 'video_coding/main/source/jitter_buffer_unittest.cc',
sprang@webrtc.org70e2d112014-09-24 14:06:56 +0000273 'video_coding/main/source/jitter_estimator_tests.cc',
henrik.lundin@webrtc.org544b17c2013-09-26 12:05:15 +0000274 'video_coding/main/source/media_optimization_unittest.cc',
kjellander@webrtc.org63e98882013-06-14 20:09:44 +0000275 'video_coding/main/source/receiver_unittest.cc',
276 'video_coding/main/source/session_info_unittest.cc',
kjellander@webrtc.org63e98882013-06-14 20:09:44 +0000277 'video_coding/main/source/timing_unittest.cc',
278 'video_coding/main/source/video_coding_robustness_unittest.cc',
andresp@webrtc.orge401c2e2013-09-16 20:29:13 +0000279 'video_coding/main/source/video_receiver_unittest.cc',
280 'video_coding/main/source/video_sender_unittest.cc',
kjellander@webrtc.org63e98882013-06-14 20:09:44 +0000281 'video_coding/main/source/qm_select_unittest.cc',
andresp@webrtc.org1f09dbe2013-09-13 19:17:54 +0000282 'video_coding/main/source/test/stream_generator.cc',
283 'video_coding/main/source/test/stream_generator.h',
pbos@webrtc.orga0d78272014-09-12 11:51:47 +0000284 'video_coding/utility/quality_scaler_unittest.cc',
kjellander@webrtc.org63e98882013-06-14 20:09:44 +0000285 'video_processing/main/test/unit_test/brightness_detection_test.cc',
286 'video_processing/main/test/unit_test/color_enhancement_test.cc',
287 'video_processing/main/test/unit_test/content_metrics_test.cc',
288 'video_processing/main/test/unit_test/deflickering_test.cc',
pbos@webrtc.orgc66aaaf2013-07-03 07:56:33 +0000289 'video_processing/main/test/unit_test/video_processing_unittest.cc',
290 'video_processing/main/test/unit_test/video_processing_unittest.h',
stefan@webrtc.org7bc465b2013-04-11 17:48:02 +0000291 ],
kjellander@webrtc.org6c35e0b2013-06-11 08:29:17 +0000292 'conditions': [
solenberg@webrtc.orgd6e46632013-10-30 16:06:26 +0000293 ['enable_bwe_test_logging==1', {
294 'defines': [ 'BWE_TEST_LOGGING_COMPILE_TIME_ENABLE=1' ],
295 }, {
296 'defines': [ 'BWE_TEST_LOGGING_COMPILE_TIME_ENABLE=0' ],
297 'sources!': [
298 'remote_bitrate_estimator/test/bwe_test_logging.cc'
299 ],
300 }],
kjellander@webrtc.org6c35e0b2013-06-11 08:29:17 +0000301 # Run screen/window capturer tests only on platforms where they are
302 # supported.
sergeyu@chromium.org9e182792013-06-17 21:14:36 +0000303 ['desktop_capture_supported==0', {
kjellander@webrtc.org6c35e0b2013-06-11 08:29:17 +0000304 'sources!': [
sergeyu@chromium.orge6e749d2013-10-16 02:48:41 +0000305 'desktop_capture/desktop_and_cursor_composer_unittest.cc',
sergeyu@chromium.org2767b532013-10-16 02:42:38 +0000306 'desktop_capture/mouse_cursor_monitor_unittest.cc',
kjellander@webrtc.org6c35e0b2013-06-11 08:29:17 +0000307 'desktop_capture/screen_capturer_helper_unittest.cc',
308 'desktop_capture/screen_capturer_mac_unittest.cc',
309 'desktop_capture/screen_capturer_mock_objects.h',
310 'desktop_capture/screen_capturer_unittest.cc',
311 'desktop_capture/window_capturer_unittest.cc',
312 ],
313 }],
kjellander@webrtc.org63e98882013-06-14 20:09:44 +0000314 ['prefer_fixed_point==1', {
315 'defines': [ 'WEBRTC_AUDIOPROC_FIXED_PROFILE' ],
316 }, {
317 'defines': [ 'WEBRTC_AUDIOPROC_FLOAT_PROFILE' ],
318 }],
319 ['enable_protobuf==1', {
320 'defines': [ 'WEBRTC_AUDIOPROC_DEBUG_DUMP' ],
andrew@webrtc.orgdd5d8042014-03-13 00:57:52 +0000321 'dependencies': [
322 'audioproc_unittest_proto',
323 ],
324 'sources': [
325 'audio_processing/audio_processing_impl_unittest.cc',
326 'audio_processing/test/audio_processing_unittest.cc',
327 'audio_processing/test/test_utils.h',
328 ],
kjellander@webrtc.org63e98882013-06-14 20:09:44 +0000329 }],
330 ['build_libvpx==1', {
331 'dependencies': [
332 '<(DEPTH)/third_party/libvpx/libvpx.gyp:libvpx',
333 ],
334 }],
kjellander@webrtc.org76a42572014-09-02 08:40:39 +0000335 ['OS=="android"', {
henrike@webrtc.org1303af32013-07-03 21:50:33 +0000336 'dependencies': [
337 '<(DEPTH)/testing/android/native_test.gyp:native_test_native_code',
338 ],
339 }],
kjellander@webrtc.org6c35e0b2013-06-11 08:29:17 +0000340 ],
341 # Disable warnings to enable Win64 build, issue 1323.
342 'msvs_disabled_warnings': [
343 4267, # size_t to int truncation.
344 ],
stefan@webrtc.org7bc465b2013-04-11 17:48:02 +0000345 },
kjellander@webrtc.org63e98882013-06-14 20:09:44 +0000346 {
phoglund@webrtc.org32fe90b2013-08-19 11:40:19 +0000347 'target_name': 'modules_tests',
henrike@webrtc.org89c67402013-08-02 16:53:47 +0000348 'type': '<(gtest_target_type)',
kjellander@webrtc.org63e98882013-06-14 20:09:44 +0000349 'dependencies': [
kjellander@webrtc.org63e98882013-06-14 20:09:44 +0000350 '<(DEPTH)/testing/gtest.gyp:gtest',
351 '<(webrtc_root)/common_video/common_video.gyp:common_video',
352 '<(webrtc_root)/modules/video_coding/codecs/vp8/vp8.gyp:webrtc_vp8',
marpan@webrtc.org5b883172014-11-01 06:10:48 +0000353 '<(webrtc_root)/modules/video_coding/codecs/vp9/vp9.gyp:webrtc_vp9',
kjellander@webrtc.org63e98882013-06-14 20:09:44 +0000354 '<(webrtc_root)/system_wrappers/source/system_wrappers.gyp:system_wrappers',
355 '<(webrtc_root)/test/metrics.gyp:metrics',
356 '<(webrtc_root)/test/test.gyp:test_support',
357 '<(webrtc_root)/test/test.gyp:test_support_main',
pbos@webrtc.org788acd12014-12-15 09:41:24 +0000358 'audio_coding_module',
359 'rtp_rtcp',
360 'video_codecs_test_framework',
361 'webrtc_utility',
362 'webrtc_video_coding',
kjellander@webrtc.org63e98882013-06-14 20:09:44 +0000363 ],
364 'defines': [
365 '<@(audio_coding_defines)',
366 ],
367 'sources': [
kjellander@webrtc.org63e98882013-06-14 20:09:44 +0000368 'audio_coding/main/test/APITest.cc',
369 'audio_coding/main/test/Channel.cc',
kjellander@webrtc.org63e98882013-06-14 20:09:44 +0000370 'audio_coding/main/test/EncodeDecodeTest.cc',
kjellander@webrtc.org63e98882013-06-14 20:09:44 +0000371 'audio_coding/main/test/PCMFile.cc',
pbos@webrtc.org788acd12014-12-15 09:41:24 +0000372 'audio_coding/main/test/PacketLossTest.cc',
kjellander@webrtc.org63e98882013-06-14 20:09:44 +0000373 'audio_coding/main/test/RTPFile.cc',
374 'audio_coding/main/test/SpatialAudio.cc',
375 'audio_coding/main/test/TestAllCodecs.cc',
minyue@webrtc.orgaa5ea1c2014-05-23 15:16:51 +0000376 'audio_coding/main/test/TestRedFec.cc',
kjellander@webrtc.org63e98882013-06-14 20:09:44 +0000377 'audio_coding/main/test/TestStereo.cc',
378 'audio_coding/main/test/TestVADDTX.cc',
pbos@webrtc.org788acd12014-12-15 09:41:24 +0000379 'audio_coding/main/test/Tester.cc',
kjellander@webrtc.org63e98882013-06-14 20:09:44 +0000380 'audio_coding/main/test/TimedTrace.cc',
381 'audio_coding/main/test/TwoWayCommunication.cc',
pbos@webrtc.org788acd12014-12-15 09:41:24 +0000382 'audio_coding/main/test/dual_stream_unittest.cc',
383 'audio_coding/main/test/iSACTest.cc',
kjellander@webrtc.org63e98882013-06-14 20:09:44 +0000384 'audio_coding/main/test/initial_delay_unittest.cc',
pbos@webrtc.org788acd12014-12-15 09:41:24 +0000385 'audio_coding/main/test/opus_test.cc',
386 'audio_coding/main/test/target_delay_unittest.cc',
kjellander@webrtc.org63e98882013-06-14 20:09:44 +0000387 'audio_coding/main/test/utility.cc',
388 'rtp_rtcp/test/testFec/test_fec.cc',
389 'video_coding/codecs/test/videoprocessor_integrationtest.cc',
390 'video_coding/codecs/vp8/test/vp8_impl_unittest.cc',
391 ],
henrike@webrtc.org89c67402013-08-02 16:53:47 +0000392 'conditions': [
kjellander@webrtc.org3bd41562014-09-01 11:06:37 +0000393 ['OS=="android"', {
henrike@webrtc.org89c67402013-08-02 16:53:47 +0000394 'dependencies': [
395 '<(DEPTH)/testing/android/native_test.gyp:native_test_native_code',
396 ],
397 }],
398 ],
kjellander@webrtc.org63e98882013-06-14 20:09:44 +0000399 },
stefan@webrtc.org7bc465b2013-04-11 17:48:02 +0000400 ],
henrike@webrtc.org1303af32013-07-03 21:50:33 +0000401 'conditions': [
kjellander@webrtc.org3bd41562014-09-01 11:06:37 +0000402 ['OS=="android"', {
henrike@webrtc.org1303af32013-07-03 21:50:33 +0000403 'targets': [
404 {
kjellander@webrtc.org0372b932014-09-03 14:34:46 +0000405 'target_name': 'modules_unittests_apk_target',
henrike@webrtc.org1303af32013-07-03 21:50:33 +0000406 'type': 'none',
407 'dependencies': [
kjellander@webrtc.org0372b932014-09-03 14:34:46 +0000408 '<(apk_tests_path):modules_unittests_apk',
henrike@webrtc.org1303af32013-07-03 21:50:33 +0000409 ],
andrew@webrtc.org2cbb4292013-08-02 20:52:54 +0000410 },
henrike@webrtc.org89c67402013-08-02 16:53:47 +0000411 {
kjellander@webrtc.org0372b932014-09-03 14:34:46 +0000412 'target_name': 'modules_tests_apk_target',
henrike@webrtc.org89c67402013-08-02 16:53:47 +0000413 'type': 'none',
414 'dependencies': [
kjellander@webrtc.org0372b932014-09-03 14:34:46 +0000415 '<(apk_tests_path):modules_tests_apk',
henrike@webrtc.org89c67402013-08-02 16:53:47 +0000416 ],
417 },
418 ],
419 }],
kjellander@webrtc.org33654222013-08-22 07:57:00 +0000420 ['test_isolation_mode != "noop"', {
421 'targets': [
422 {
423 'target_name': 'modules_tests_run',
424 'type': 'none',
425 'dependencies': [
kjellander@webrtc.org33654222013-08-22 07:57:00 +0000426 'modules_tests',
427 ],
428 'includes': [
kjellander@webrtc.org2a973172013-10-02 19:31:16 +0000429 '../build/isolate.gypi',
kjellander@webrtc.org33654222013-08-22 07:57:00 +0000430 ],
431 'sources': [
432 'modules_tests.isolate',
433 ],
434 },
435 {
436 'target_name': 'modules_unittests_run',
437 'type': 'none',
438 'dependencies': [
kjellander@webrtc.org33654222013-08-22 07:57:00 +0000439 'modules_unittests',
440 ],
441 'includes': [
kjellander@webrtc.org2a973172013-10-02 19:31:16 +0000442 '../build/isolate.gypi',
kjellander@webrtc.org33654222013-08-22 07:57:00 +0000443 ],
444 'sources': [
445 'modules_unittests.isolate',
446 ],
447 },
448 ],
449 }],
henrike@webrtc.org89c67402013-08-02 16:53:47 +0000450 ],
mflodman@webrtc.org6af95942012-05-24 13:23:35 +0000451 }], # include_tests
xians@google.comd3185fe2011-09-12 12:24:39 +0000452 ], # conditions
453}