Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(862)

Side by Side Diff: webrtc/modules/modules.gyp

Issue 1457053003: Remove build_with_libjingle and exclude failing iOS tests from 'All' target. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Removed modules_unittests for iOS simulator builds Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 # Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. 1 # Copyright (c) 2011 The WebRTC project authors. All Rights Reserved.
2 # 2 #
3 # Use of this source code is governed by a BSD-style license 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 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 5 # tree. An additional intellectual property rights grant can be found
6 # in the file PATENTS. All contributing project authors may 6 # in the file PATENTS. All contributing project authors may
7 # be found in the AUTHORS file in the root of the source tree. 7 # be found in the AUTHORS file in the root of the source tree.
8 8
9 { 9 {
10 'includes': [ 10 'includes': [
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
42 # Desktop capturer is supported only on Windows, OSX and Linux. 42 # Desktop capturer is supported only on Windows, OSX and Linux.
43 ['OS=="win" or OS=="mac" or OS=="linux"', { 43 ['OS=="win" or OS=="mac" or OS=="linux"', {
44 'desktop_capture_supported%': 1, 44 'desktop_capture_supported%': 1,
45 }, { 45 }, {
46 'desktop_capture_supported%': 0, 46 'desktop_capture_supported%': 0,
47 }], 47 }],
48 ], 48 ],
49 }, 49 },
50 'targets': [ 50 'targets': [
51 { 51 {
52 'target_name': 'modules_unittests',
53 'type': '<(gtest_target_type)',
54 'defines': [
55 '<@(audio_coding_defines)',
56 ],
57 'dependencies': [
58 'acm_receive_test',
59 'acm_send_test',
60 'audio_coding_module',
61 'audio_conference_mixer',
62 'audio_device' ,
63 'audio_processing',
64 'audioproc_test_utils',
65 'bitrate_controller',
66 'bwe_simulator',
67 'cng',
68 'desktop_capture',
69 'isac_fix',
70 'media_file',
71 'neteq',
72 'neteq_test_support',
73 'neteq_unittest_tools',
74 'paced_sender',
75 'pcm16b', # Needed by NetEq tests.
76 'red',
77 'remote_bitrate_estimator',
78 'rtp_rtcp',
79 'video_codecs_test_framework',
80 'video_processing',
81 'webrtc_utility',
82 'webrtc_video_coding',
83 '<@(neteq_dependencies)',
84 '<(DEPTH)/testing/gmock.gyp:gmock',
85 '<(DEPTH)/testing/gtest.gyp:gtest',
86 '<(DEPTH)/third_party/gflags/gflags.gyp:gflags',
87 '<(webrtc_root)/common.gyp:webrtc_common',
88 '<(webrtc_root)/common_audio/common_audio.gyp:common_audio',
89 '<(webrtc_root)/modules/modules.gyp:video_capture',
90 '<(webrtc_root)/modules/video_coding/codecs/vp8/vp8.gyp:webrtc_vp8',
91 '<(webrtc_root)/modules/video_coding/codecs/vp9/vp9.gyp:webrtc_vp9',
92 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers' ,
93 '<(webrtc_root)/test/test.gyp:frame_generator',
94 '<(webrtc_root)/test/test.gyp:rtp_test_utils',
95 '<(webrtc_root)/test/test.gyp:test_support_main',
96 '<(webrtc_root)/test/webrtc_test_common.gyp:webrtc_test_common',
97 '<(webrtc_root)/tools/tools.gyp:agc_test_utils',
98 ],
99 'sources': [
100 'audio_coding/codecs/cng/audio_encoder_cng_unittest.cc',
101 'audio_coding/main/acm2/acm_receiver_unittest_oldapi.cc',
102 'audio_coding/main/acm2/audio_coding_module_unittest_oldapi.cc',
103 'audio_coding/main/acm2/call_statistics_unittest.cc',
104 'audio_coding/main/acm2/codec_manager_unittest.cc',
105 'audio_coding/main/acm2/initial_delay_manager_unittest.cc',
106 'audio_coding/main/acm2/rent_a_codec_unittest.cc',
107 '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',
112 'audio_coding/codecs/isac/main/source/audio_encoder_isac_unittest.cc ',
113 'audio_coding/codecs/isac/main/source/isac_unittest.cc',
114 'audio_coding/codecs/isac/unittest.cc',
115 'audio_coding/codecs/opus/audio_encoder_opus_unittest.cc',
116 'audio_coding/codecs/opus/opus_unittest.cc',
117 'audio_coding/codecs/red/audio_encoder_copy_red_unittest.cc',
118 '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',
133 'audio_coding/neteq/nack_unittest.cc',
134 'audio_coding/neteq/neteq_external_decoder_unittest.cc',
135 'audio_coding/neteq/neteq_impl_unittest.cc',
136 'audio_coding/neteq/neteq_network_stats_unittest.cc',
137 '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',
155 'audio_coding/neteq/mock/mock_expand.h',
156 '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',
159 'audio_coding/neteq/tools/input_audio_file_unittest.cc',
160 'audio_coding/neteq/tools/packet_unittest.cc',
161 'audio_conference_mixer/test/audio_conference_mixer_unittest.cc',
162 'audio_device/fine_audio_buffer_unittest.cc',
163 'audio_processing/aec/echo_cancellation_unittest.cc',
164 'audio_processing/aec/system_delay_unittest.cc',
165 'audio_processing/agc/agc_manager_direct_unittest.cc',
166 # TODO(ajm): Fix to match new interface.
167 # 'audio_processing/agc/agc_unittest.cc',
168 'audio_processing/agc/histogram_unittest.cc',
169 'audio_processing/agc/mock_agc.h',
170 'audio_processing/beamformer/array_util_unittest.cc',
171 'audio_processing/beamformer/complex_matrix_unittest.cc',
172 'audio_processing/beamformer/covariance_matrix_generator_unittest.cc ',
173 'audio_processing/beamformer/matrix_unittest.cc',
174 'audio_processing/beamformer/mock_nonlinear_beamformer.h',
175 'audio_processing/beamformer/nonlinear_beamformer_unittest.cc',
176 'audio_processing/echo_cancellation_impl_unittest.cc',
177 'audio_processing/intelligibility/intelligibility_enhancer_unittest. cc',
178 'audio_processing/intelligibility/intelligibility_utils_unittest.cc' ,
179 'audio_processing/splitting_filter_unittest.cc',
180 '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',
189 'audio_processing/utility/delay_estimator_unittest.cc',
190 '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',
198 'bitrate_controller/bitrate_controller_unittest.cc',
199 'bitrate_controller/send_side_bandwidth_estimation_unittest.cc',
200 'desktop_capture/desktop_and_cursor_composer_unittest.cc',
201 'desktop_capture/desktop_region_unittest.cc',
202 'desktop_capture/differ_block_unittest.cc',
203 'desktop_capture/differ_unittest.cc',
204 'desktop_capture/mouse_cursor_monitor_unittest.cc',
205 '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',
210 'desktop_capture/win/cursor_unittest.cc',
211 'desktop_capture/win/cursor_unittest_resources.h',
212 'desktop_capture/win/cursor_unittest_resources.rc',
213 'media_file/media_file_unittest.cc',
214 'module_common_types_unittest.cc',
215 'pacing/bitrate_prober_unittest.cc',
216 'pacing/paced_sender_unittest.cc',
217 'pacing/packet_router_unittest.cc',
218 'remote_bitrate_estimator/bwe_simulations.cc',
219 'remote_bitrate_estimator/include/mock/mock_remote_bitrate_observer. h',
220 'remote_bitrate_estimator/include/mock/mock_remote_bitrate_estimator .h',
221 'remote_bitrate_estimator/inter_arrival_unittest.cc',
222 'remote_bitrate_estimator/overuse_detector_unittest.cc',
223 'remote_bitrate_estimator/rate_statistics_unittest.cc',
224 'remote_bitrate_estimator/remote_bitrate_estimator_abs_send_time_uni ttest.cc',
225 'remote_bitrate_estimator/remote_bitrate_estimator_single_stream_uni ttest.cc',
226 'remote_bitrate_estimator/remote_bitrate_estimator_unittest_helper.c c',
227 'remote_bitrate_estimator/remote_bitrate_estimator_unittest_helper.h ',
228 'remote_bitrate_estimator/remote_estimator_proxy_unittest.cc',
229 'remote_bitrate_estimator/send_time_history_unittest.cc',
230 'remote_bitrate_estimator/test/bwe_test_framework_unittest.cc',
231 'remote_bitrate_estimator/test/bwe_unittest.cc',
232 'remote_bitrate_estimator/test/metric_recorder_unittest.cc',
233 'remote_bitrate_estimator/test/estimators/nada_unittest.cc',
234 'remote_bitrate_estimator/transport_feedback_adapter_unittest.cc',
235 'rtp_rtcp/source/mock/mock_rtp_payload_strategy.h',
236 'rtp_rtcp/source/byte_io_unittest.cc',
237 'rtp_rtcp/source/fec_receiver_unittest.cc',
238 'rtp_rtcp/source/fec_test_helper.cc',
239 'rtp_rtcp/source/fec_test_helper.h',
240 'rtp_rtcp/source/h264_sps_parser_unittest.cc',
241 'rtp_rtcp/source/h264_bitstream_parser_unittest.cc',
242 'rtp_rtcp/source/nack_rtx_unittest.cc',
243 'rtp_rtcp/source/packet_loss_stats_unittest.cc',
244 'rtp_rtcp/source/producer_fec_unittest.cc',
245 'rtp_rtcp/source/receive_statistics_unittest.cc',
246 'rtp_rtcp/source/remote_ntp_time_estimator_unittest.cc',
247 'rtp_rtcp/source/rtcp_format_remb_unittest.cc',
248 'rtp_rtcp/source/rtcp_packet_unittest.cc',
249 'rtp_rtcp/source/rtcp_packet/app_unittest.cc',
250 'rtp_rtcp/source/rtcp_packet/extended_jitter_report_unittest.cc',
251 'rtp_rtcp/source/rtcp_packet/report_block_unittest.cc',
252 'rtp_rtcp/source/rtcp_packet/transport_feedback_unittest.cc',
253 'rtp_rtcp/source/rtcp_receiver_unittest.cc',
254 'rtp_rtcp/source/rtcp_sender_unittest.cc',
255 'rtp_rtcp/source/rtcp_utility_unittest.cc',
256 'rtp_rtcp/source/rtp_fec_unittest.cc',
257 'rtp_rtcp/source/rtp_format_h264_unittest.cc',
258 'rtp_rtcp/source/rtp_format_vp8_test_helper.cc',
259 'rtp_rtcp/source/rtp_format_vp8_test_helper.h',
260 'rtp_rtcp/source/rtp_format_vp8_unittest.cc',
261 'rtp_rtcp/source/rtp_format_vp9_unittest.cc',
262 'rtp_rtcp/source/rtp_packet_history_unittest.cc',
263 'rtp_rtcp/source/rtp_payload_registry_unittest.cc',
264 'rtp_rtcp/source/rtp_rtcp_impl_unittest.cc',
265 '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',
273 'utility/source/audio_frame_operations_unittest.cc',
274 'utility/source/file_player_unittests.cc',
275 'utility/source/process_thread_impl_unittest.cc',
276 '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',
281 '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',
285 'video_coding/codecs/vp9/screenshare_layers_unittest.cc',
286 'video_coding/include/mock/mock_vcm_callbacks.h',
287 'video_coding/decoding_state_unittest.cc',
288 'video_coding/jitter_buffer_unittest.cc',
289 'video_coding/jitter_estimator_tests.cc',
290 'video_coding/media_optimization_unittest.cc',
291 'video_coding/receiver_unittest.cc',
292 'video_coding/session_info_unittest.cc',
293 'video_coding/timing_unittest.cc',
294 'video_coding/video_coding_robustness_unittest.cc',
295 'video_coding/video_receiver_unittest.cc',
296 'video_coding/video_sender_unittest.cc',
297 'video_coding/qm_select_unittest.cc',
298 'video_coding/test/stream_generator.cc',
299 'video_coding/test/stream_generator.h',
300 'video_coding/utility/quality_scaler_unittest.cc',
301 'video_processing/test/brightness_detection_test.cc',
302 'video_processing/test/content_metrics_test.cc',
303 'video_processing/test/deflickering_test.cc',
304 'video_processing/test/video_processing_unittest.cc',
305 'video_processing/test/video_processing_unittest.h',
306 ],
307 'conditions': [
308 ['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 }],
316 # Run screen/window capturer tests only on platforms where they are
317 # supported.
318 ['desktop_capture_supported==0', {
319 'sources!': [
320 'desktop_capture/desktop_and_cursor_composer_unittest.cc',
321 'desktop_capture/mouse_cursor_monitor_unittest.cc',
322 '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 }],
329 ['prefer_fixed_point==1', {
330 'defines': [ 'WEBRTC_AUDIOPROC_FIXED_PROFILE' ],
331 }, {
332 'defines': [ 'WEBRTC_AUDIOPROC_FLOAT_PROFILE' ],
333 }],
334 ['enable_protobuf==1', {
335 'defines': [
336 'WEBRTC_AUDIOPROC_DEBUG_DUMP',
337 ],
338 'dependencies': [
339 'audioproc_protobuf_utils',
340 'audioproc_unittest_proto',
341 ],
342 'sources': [
343 'audio_processing/audio_processing_impl_locking_unittest.cc',
344 'audio_processing/audio_processing_impl_unittest.cc',
345 'audio_processing/test/audio_processing_unittest.cc',
346 'audio_processing/test/debug_dump_test.cc',
347 'audio_processing/test/test_utils.h',
348 ],
349 }],
350 ['build_libvpx==1', {
351 'dependencies': [
352 '<(libvpx_dir)/libvpx.gyp:libvpx_new',
353 ],
354 }],
355 ['OS=="android"', {
356 'dependencies': [
357 '<(DEPTH)/testing/android/native_test.gyp:native_test_native_cod e',
358 ],
359 # 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',
368 'audio_device/android/audio_manager_unittest.cc',
369 'audio_device/android/ensure_initialized.cc',
370 'audio_device/android/ensure_initialized.h',
371 ],
372 }],
373 ['OS=="ios"', {
374 'sources': [
375 'video_coding/codecs/h264/h264_video_toolbox_nalu_unittest.cc',
376 'audio_device/ios/audio_device_unittest_ios.cc',
377 ],
378 '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',
382 '<(DEPTH)/resources/audio_device/audio_short16.pcm',
383 '<(DEPTH)/resources/audio_device/audio_short44.pcm',
384 '<(DEPTH)/resources/audio_device/audio_short48.pcm',
385 '<(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_buffe r.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 }],
397 ],
398 # Disable warnings to enable Win64 build, issue 1323.
399 'msvs_disabled_warnings': [
400 4267, # size_t to int truncation.
401 ],
402 },
403 {
404 'target_name': 'modules_tests', 52 'target_name': 'modules_tests',
405 'type': '<(gtest_target_type)', 53 'type': '<(gtest_target_type)',
406 'dependencies': [ 54 'dependencies': [
407 '<(DEPTH)/testing/gtest.gyp:gtest', 55 '<(DEPTH)/testing/gtest.gyp:gtest',
408 '<(webrtc_root)/common.gyp:webrtc_common', 56 '<(webrtc_root)/common.gyp:webrtc_common',
409 '<(webrtc_root)/common_video/common_video.gyp:common_video', 57 '<(webrtc_root)/common_video/common_video.gyp:common_video',
410 '<(webrtc_root)/modules/video_coding/codecs/vp8/vp8.gyp:webrtc_vp8', 58 '<(webrtc_root)/modules/video_coding/codecs/vp8/vp8.gyp:webrtc_vp8',
411 '<(webrtc_root)/modules/video_coding/codecs/vp9/vp9.gyp:webrtc_vp9', 59 '<(webrtc_root)/modules/video_coding/codecs/vp9/vp9.gyp:webrtc_vp9',
412 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers' , 60 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers' ,
413 '<(webrtc_root)/test/metrics.gyp:metrics', 61 '<(webrtc_root)/test/metrics.gyp:metrics',
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
448 'conditions': [ 96 'conditions': [
449 ['OS=="android"', { 97 ['OS=="android"', {
450 'dependencies': [ 98 'dependencies': [
451 '<(DEPTH)/testing/android/native_test.gyp:native_test_native_cod e', 99 '<(DEPTH)/testing/android/native_test.gyp:native_test_native_cod e',
452 ], 100 ],
453 }], 101 }],
454 ], 102 ],
455 }, 103 },
456 ], 104 ],
457 'conditions': [ 105 'conditions': [
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': [
kjellander_webrtc 2015/11/19 14:38:33 This is also just a pristine move of the target in
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_v p8',
149 '<(webrtc_root)/modules/video_coding/codecs/vp9/vp9.gyp:webrtc_v p9',
150 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrapp ers',
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',
159 'audio_coding/main/acm2/acm_receiver_unittest_oldapi.cc',
160 'audio_coding/main/acm2/audio_coding_module_unittest_oldapi.cc',
161 'audio_coding/main/acm2/call_statistics_unittest.cc',
162 'audio_coding/main/acm2/codec_manager_unittest.cc',
163 'audio_coding/main/acm2/initial_delay_manager_unittest.cc',
164 'audio_coding/main/acm2/rent_a_codec_unittest.cc',
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_unittes t.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_unittes t.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_unitt est.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_obser ver.h',
278 'remote_bitrate_estimator/include/mock/mock_remote_bitrate_estim ator.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_help er.cc',
285 'remote_bitrate_estimator/remote_bitrate_estimator_unittest_help er.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',
308 'rtp_rtcp/source/rtcp_packet/extended_jitter_report_unittest.cc' ,
309 'rtp_rtcp/source/rtcp_packet/report_block_unittest.cc',
310 'rtp_rtcp/source/rtcp_packet/transport_feedback_unittest.cc',
311 'rtp_rtcp/source/rtcp_receiver_unittest.cc',
312 'rtp_rtcp/source/rtcp_sender_unittest.cc',
313 'rtp_rtcp/source/rtcp_utility_unittest.cc',
314 'rtp_rtcp/source/rtp_fec_unittest.cc',
315 'rtp_rtcp/source/rtp_format_h264_unittest.cc',
316 'rtp_rtcp/source/rtp_format_vp8_test_helper.cc',
317 'rtp_rtcp/source/rtp_format_vp8_test_helper.h',
318 'rtp_rtcp/source/rtp_format_vp8_unittest.cc',
319 'rtp_rtcp/source/rtp_format_vp9_unittest.cc',
320 'rtp_rtcp/source/rtp_packet_history_unittest.cc',
321 'rtp_rtcp/source/rtp_payload_registry_unittest.cc',
322 'rtp_rtcp/source/rtp_rtcp_impl_unittest.cc',
323 'rtp_rtcp/source/rtp_header_extension_unittest.cc',
324 'rtp_rtcp/source/rtp_sender_unittest.cc',
325 'rtp_rtcp/source/vp8_partition_aggregator_unittest.cc',
326 'rtp_rtcp/test/testAPI/test_api.cc',
327 'rtp_rtcp/test/testAPI/test_api.h',
328 'rtp_rtcp/test/testAPI/test_api_audio.cc',
329 'rtp_rtcp/test/testAPI/test_api_rtcp.cc',
330 'rtp_rtcp/test/testAPI/test_api_video.cc',
331 'utility/source/audio_frame_operations_unittest.cc',
332 'utility/source/file_player_unittests.cc',
333 'utility/source/process_thread_impl_unittest.cc',
334 'video_coding/codecs/test/packet_manipulator_unittest.cc',
335 'video_coding/codecs/test/stats_unittest.cc',
336 'video_coding/codecs/test/videoprocessor_unittest.cc',
337 'video_coding/codecs/vp8/default_temporal_layers_unittest.cc',
338 'video_coding/codecs/vp8/reference_picture_selection_unittest.cc ',
339 'video_coding/codecs/vp8/screenshare_layers_unittest.cc',
340 'video_coding/codecs/vp8/simulcast_encoder_adapter_unittest.cc',
341 'video_coding/codecs/vp8/simulcast_unittest.cc',
342 'video_coding/codecs/vp8/simulcast_unittest.h',
343 'video_coding/codecs/vp9/screenshare_layers_unittest.cc',
344 'video_coding/include/mock/mock_vcm_callbacks.h',
345 'video_coding/decoding_state_unittest.cc',
346 'video_coding/jitter_buffer_unittest.cc',
347 'video_coding/jitter_estimator_tests.cc',
348 'video_coding/media_optimization_unittest.cc',
349 'video_coding/receiver_unittest.cc',
350 'video_coding/session_info_unittest.cc',
351 'video_coding/timing_unittest.cc',
352 'video_coding/video_coding_robustness_unittest.cc',
353 'video_coding/video_receiver_unittest.cc',
354 'video_coding/video_sender_unittest.cc',
355 'video_coding/qm_select_unittest.cc',
356 'video_coding/test/stream_generator.cc',
357 'video_coding/test/stream_generator.h',
358 'video_coding/utility/quality_scaler_unittest.cc',
359 'video_processing/test/brightness_detection_test.cc',
360 'video_processing/test/content_metrics_test.cc',
361 'video_processing/test/deflickering_test.cc',
362 'video_processing/test/video_processing_unittest.cc',
363 'video_processing/test/video_processing_unittest.h',
364 ],
365 'conditions': [
366 ['enable_bwe_test_logging==1', {
367 'defines': [ 'BWE_TEST_LOGGING_COMPILE_TIME_ENABLE=1' ],
368 }, {
369 'defines': [ 'BWE_TEST_LOGGING_COMPILE_TIME_ENABLE=0' ],
370 'sources!': [
371 'remote_bitrate_estimator/test/bwe_test_logging.cc'
372 ],
373 }],
374 # Run screen/window capturer tests only on platforms where they are
375 # supported.
376 ['desktop_capture_supported==0', {
377 'sources!': [
378 'desktop_capture/desktop_and_cursor_composer_unittest.cc',
379 'desktop_capture/mouse_cursor_monitor_unittest.cc',
380 'desktop_capture/screen_capturer_helper_unittest.cc',
381 'desktop_capture/screen_capturer_mac_unittest.cc',
382 'desktop_capture/screen_capturer_mock_objects.h',
383 'desktop_capture/screen_capturer_unittest.cc',
384 'desktop_capture/window_capturer_unittest.cc',
385 ],
386 }],
387 ['prefer_fixed_point==1', {
388 'defines': [ 'WEBRTC_AUDIOPROC_FIXED_PROFILE' ],
389 }, {
390 'defines': [ 'WEBRTC_AUDIOPROC_FLOAT_PROFILE' ],
391 }],
392 ['enable_protobuf==1', {
393 'defines': [
394 'WEBRTC_AUDIOPROC_DEBUG_DUMP',
395 ],
396 'dependencies': [
397 'audioproc_protobuf_utils',
398 'audioproc_unittest_proto',
399 ],
400 'sources': [
401 'audio_processing/audio_processing_impl_locking_unittest.cc' ,
402 'audio_processing/audio_processing_impl_unittest.cc',
403 'audio_processing/test/audio_processing_unittest.cc',
404 'audio_processing/test/debug_dump_test.cc',
405 'audio_processing/test/test_utils.h',
406 ],
407 }],
408 ['build_libvpx==1', {
409 'dependencies': [
410 '<(libvpx_dir)/libvpx.gyp:libvpx_new',
411 ],
412 }],
413 ['OS=="android"', {
414 'dependencies': [
415 '<(DEPTH)/testing/android/native_test.gyp:native_test_native _code',
416 ],
417 # Need to disable error due to the line in
418 # base/android/jni_android.h triggering it:
419 # const BASE_EXPORT jobject GetApplicationContext()
420 # error: type qualifiers ignored on function return type
421 'cflags': [
422 '-Wno-ignored-qualifiers',
423 ],
424 'sources': [
425 'audio_device/android/audio_device_unittest.cc',
426 'audio_device/android/audio_manager_unittest.cc',
427 'audio_device/android/ensure_initialized.cc',
428 'audio_device/android/ensure_initialized.h',
429 ],
430 }],
431 ['OS=="ios"', {
432 'sources': [
433 'video_coding/codecs/h264/h264_video_toolbox_nalu_unittest.c c',
434 'audio_device/ios/audio_device_unittest_ios.cc',
435 ],
436 'mac_bundle_resources': [
437 '<(DEPTH)/resources/audio_coding/speech_mono_16kHz.pcm',
438 '<(DEPTH)/resources/audio_coding/testfile32kHz.pcm',
439 '<(DEPTH)/resources/audio_coding/teststereo32kHz.pcm',
440 '<(DEPTH)/resources/audio_device/audio_short16.pcm',
441 '<(DEPTH)/resources/audio_device/audio_short44.pcm',
442 '<(DEPTH)/resources/audio_device/audio_short48.pcm',
443 '<(DEPTH)/resources/audio_processing/agc/agc_no_circular_buf fer.dat',
444 '<(DEPTH)/resources/audio_processing/agc/agc_pitch_gain.dat' ,
445 '<(DEPTH)/resources/audio_processing/agc/agc_pitch_lag.dat',
446 '<(DEPTH)/resources/audio_processing/agc/agc_spectral_peak.d at',
447 '<(DEPTH)/resources/audio_processing/agc/agc_voicing_prob.da t',
448 '<(DEPTH)/resources/audio_processing/agc/agc_with_circular_b uffer.dat',
449 '<(DEPTH)/resources/short_mixed_mono_48.dat',
450 '<(DEPTH)/resources/short_mixed_mono_48.pcm',
451 '<(DEPTH)/resources/short_mixed_stereo_48.dat',
452 '<(DEPTH)/resources/short_mixed_stereo_48.pcm',
453 ],
454 }],
455 ],
456 # Disable warnings to enable Win64 build, issue 1323.
457 'msvs_disabled_warnings': [
458 4267, # size_t to int truncation.
459 ],
460 },
461 ],
462 }],
458 ['OS=="android"', { 463 ['OS=="android"', {
459 'targets': [ 464 'targets': [
460 { 465 {
461 'target_name': 'modules_unittests_apk_target', 466 'target_name': 'modules_unittests_apk_target',
462 'type': 'none', 467 'type': 'none',
463 'dependencies': [ 468 'dependencies': [
464 '<(apk_tests_path):modules_unittests_apk', 469 '<(apk_tests_path):modules_unittests_apk',
465 ], 470 ],
466 }, 471 },
467 { 472 {
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
552 'sources': [ 557 'sources': [
553 'video_render_tests.isolate', 558 'video_render_tests.isolate',
554 ], 559 ],
555 }, 560 },
556 ], 561 ],
557 }], 562 }],
558 ], 563 ],
559 }], # include_tests 564 }], # include_tests
560 ], # conditions 565 ], # conditions
561 } 566 }
OLDNEW
« no previous file with comments | « webrtc/modules/audio_device/audio_device.gypi ('k') | webrtc/modules/video_render/video_render.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698