xians@google.com | d3185fe | 2011-09-12 12:24:39 +0000 | [diff] [blame] | 1 | # Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. |
| 2 | # |
| 3 | # Use of this source code is governed by a BSD-style license |
| 4 | # that can be found in the LICENSE file in the root of the source |
| 5 | # tree. An additional intellectual property rights grant can be found |
| 6 | # in the file PATENTS. All contributing project authors may |
| 7 | # be found in the AUTHORS file in the root of the source tree. |
| 8 | |
| 9 | { |
| 10 | 'includes': [ |
wjia@google.com | fdaee9c | 2011-09-17 00:06:08 +0000 | [diff] [blame] | 11 | '../build/common.gypi', |
kjellander@webrtc.org | 64a897a | 2011-11-17 13:33:11 +0000 | [diff] [blame] | 12 | 'audio_coding/codecs/cng/cng.gypi', |
kjellander@webrtc.org | cc2ecb3 | 2011-11-17 13:48:36 +0000 | [diff] [blame] | 13 | 'audio_coding/codecs/g711/g711.gypi', |
kjellander@webrtc.org | 3f1cb8e | 2011-11-17 13:56:54 +0000 | [diff] [blame] | 14 | 'audio_coding/codecs/g722/g722.gypi', |
kjellander@webrtc.org | 36e1ad9 | 2011-11-07 15:27:11 +0000 | [diff] [blame] | 15 | 'audio_coding/codecs/ilbc/ilbc.gypi', |
andrew@webrtc.org | 6a16e74 | 2012-08-09 18:35:39 +0000 | [diff] [blame] | 16 | 'audio_coding/codecs/isac/main/source/isac.gypi', |
| 17 | 'audio_coding/codecs/isac/fix/source/isacfix.gypi', |
kjellander@webrtc.org | b72268e | 2011-11-17 13:39:15 +0000 | [diff] [blame] | 18 | 'audio_coding/codecs/pcm16b/pcm16b.gypi', |
xians@google.com | d3185fe | 2011-09-12 12:24:39 +0000 | [diff] [blame] | 19 | 'audio_coding/main/source/audio_coding_module.gypi', |
kjellander@webrtc.org | bf48384 | 2011-11-07 16:05:19 +0000 | [diff] [blame] | 20 | 'audio_coding/neteq/neteq.gypi', |
henrik.lundin@webrtc.org | d94659d | 2013-01-29 12:09:21 +0000 | [diff] [blame] | 21 | 'audio_coding/neteq4/neteq.gypi', |
xians@google.com | d3185fe | 2011-09-12 12:24:39 +0000 | [diff] [blame] | 22 | 'audio_conference_mixer/source/audio_conference_mixer.gypi', |
andrew@webrtc.org | 236d5d3 | 2012-09-21 20:46:40 +0000 | [diff] [blame] | 23 | 'audio_device/audio_device.gypi', |
andrew@webrtc.org | 4d5d5c1 | 2011-10-19 01:40:33 +0000 | [diff] [blame] | 24 | 'audio_processing/audio_processing.gypi', |
pwestin@webrtc.org | 1cd1162 | 2012-04-19 12:13:52 +0000 | [diff] [blame] | 25 | 'bitrate_controller/bitrate_controller.gypi', |
sergeyu@chromium.org | 15e32cc | 2013-04-29 20:10:57 +0000 | [diff] [blame] | 26 | 'desktop_capture/desktop_capture.gypi', |
xians@google.com | d3185fe | 2011-09-12 12:24:39 +0000 | [diff] [blame] | 27 | 'media_file/source/media_file.gypi', |
pwestin@webrtc.org | b518017 | 2012-11-09 20:56:23 +0000 | [diff] [blame] | 28 | 'pacing/pacing.gypi', |
stefan@webrtc.org | 9354cc9 | 2012-06-07 08:10:14 +0000 | [diff] [blame] | 29 | 'remote_bitrate_estimator/remote_bitrate_estimator.gypi', |
andrew@webrtc.org | 94caca7 | 2012-10-30 21:58:00 +0000 | [diff] [blame] | 30 | 'rtp_rtcp/source/rtp_rtcp.gypi', |
xians@google.com | d3185fe | 2011-09-12 12:24:39 +0000 | [diff] [blame] | 31 | 'utility/source/utility.gypi', |
| 32 | 'video_coding/codecs/i420/main/source/i420.gypi', |
xians@google.com | d3185fe | 2011-09-12 12:24:39 +0000 | [diff] [blame] | 33 | 'video_coding/main/source/video_coding.gypi', |
andrew@webrtc.org | 94caca7 | 2012-10-30 21:58:00 +0000 | [diff] [blame] | 34 | 'video_capture/video_capture.gypi', |
xians@google.com | d3185fe | 2011-09-12 12:24:39 +0000 | [diff] [blame] | 35 | 'video_processing/main/source/video_processing.gypi', |
andrew@webrtc.org | 9841d92 | 2012-10-31 05:22:11 +0000 | [diff] [blame] | 36 | 'video_render/video_render.gypi', |
xians@google.com | d3185fe | 2011-09-12 12:24:39 +0000 | [diff] [blame] | 37 | ], |
xians@google.com | d3185fe | 2011-09-12 12:24:39 +0000 | [diff] [blame] | 38 | 'conditions': [ |
andrew@webrtc.org | c0773fc | 2012-10-19 07:13:52 +0000 | [diff] [blame] | 39 | ['include_opus==1', { |
| 40 | 'includes': ['audio_coding/codecs/opus/opus.gypi',], |
| 41 | }], |
mflodman@webrtc.org | 6af9594 | 2012-05-24 13:23:35 +0000 | [diff] [blame] | 42 | ['include_tests==1', { |
xians@google.com | d3185fe | 2011-09-12 12:24:39 +0000 | [diff] [blame] | 43 | 'includes': [ |
andrew@webrtc.org | 6a16e74 | 2012-08-09 18:35:39 +0000 | [diff] [blame] | 44 | 'audio_coding/codecs/isac/isac_test.gypi', |
| 45 | 'audio_coding/codecs/isac/isacfix_test.gypi', |
andrew@webrtc.org | c732ca6 | 2012-09-10 16:33:43 +0000 | [diff] [blame] | 46 | 'audio_processing/audio_processing_tests.gypi', |
xians@google.com | d3185fe | 2011-09-12 12:24:39 +0000 | [diff] [blame] | 47 | 'rtp_rtcp/test/testFec/test_fec.gypi', |
| 48 | 'video_coding/main/source/video_coding_test.gypi', |
kjellander@webrtc.org | 35a1756 | 2011-10-06 06:44:54 +0000 | [diff] [blame] | 49 | 'video_coding/codecs/test/video_codecs_test_framework.gypi', |
| 50 | 'video_coding/codecs/tools/video_codecs_tools.gypi', |
xians@google.com | d3185fe | 2011-09-12 12:24:39 +0000 | [diff] [blame] | 51 | 'video_processing/main/test/vpm_tests.gypi', |
| 52 | ], # includes |
kjellander@webrtc.org | 6c35e0b | 2013-06-11 08:29:17 +0000 | [diff] [blame^] | 53 | 'variables': { |
| 54 | '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.org | 7bc465b | 2013-04-11 17:48:02 +0000 | [diff] [blame] | 63 | 'targets': [ |
| 64 | { |
| 65 | 'target_name': 'modules_unittests', |
| 66 | 'type': 'executable', |
| 67 | 'dependencies': [ |
kjellander@webrtc.org | 6c35e0b | 2013-06-11 08:29:17 +0000 | [diff] [blame^] | 68 | 'bitrate_controller', |
| 69 | 'desktop_capture', |
| 70 | 'media_file', |
| 71 | 'paced_sender', |
| 72 | 'remote_bitrate_estimator', |
| 73 | 'rtp_rtcp', |
kjellander@webrtc.org | fec34d7 | 2013-06-05 08:58:46 +0000 | [diff] [blame] | 74 | 'webrtc_utility', |
kjellander@webrtc.org | 6c35e0b | 2013-06-11 08:29:17 +0000 | [diff] [blame^] | 75 | '<(DEPTH)/testing/gmock.gyp:gmock', |
stefan@webrtc.org | 7bc465b | 2013-04-11 17:48:02 +0000 | [diff] [blame] | 76 | '<(DEPTH)/testing/gtest.gyp:gtest', |
kjellander@webrtc.org | 6c35e0b | 2013-06-11 08:29:17 +0000 | [diff] [blame^] | 77 | '<(webrtc_root)/system_wrappers/source/system_wrappers.gyp:system_wrappers', |
stefan@webrtc.org | 7bc465b | 2013-04-11 17:48:02 +0000 | [diff] [blame] | 78 | '<(webrtc_root)/test/test.gyp:test_support_main', |
| 79 | ], |
| 80 | 'sources': [ |
| 81 | 'module_common_types_unittest.cc', |
kjellander@webrtc.org | 6c35e0b | 2013-06-11 08:29:17 +0000 | [diff] [blame^] | 82 | 'bitrate_controller/bitrate_controller_unittest.cc', |
| 83 | 'desktop_capture/desktop_region_unittest.cc', |
| 84 | 'desktop_capture/differ_block_unittest.cc', |
| 85 | 'desktop_capture/differ_unittest.cc', |
| 86 | 'desktop_capture/screen_capturer_helper_unittest.cc', |
| 87 | 'desktop_capture/screen_capturer_mac_unittest.cc', |
| 88 | 'desktop_capture/screen_capturer_mock_objects.h', |
| 89 | 'desktop_capture/screen_capturer_unittest.cc', |
| 90 | 'desktop_capture/window_capturer_unittest.cc', |
| 91 | "desktop_capture/win/cursor_unittest.cc", |
| 92 | "desktop_capture/win/cursor_unittest_resources.h", |
| 93 | "desktop_capture/win/cursor_unittest_resources.rc", |
| 94 | 'media_file/source/media_file_unittest.cc', |
| 95 | 'pacing/paced_sender_unittest.cc', |
| 96 | 'remote_bitrate_estimator/include/mock/mock_remote_bitrate_observer.h', |
| 97 | 'remote_bitrate_estimator/bitrate_estimator_unittest.cc', |
| 98 | 'remote_bitrate_estimator/remote_bitrate_estimator_multi_stream_unittest.cc', |
| 99 | 'remote_bitrate_estimator/remote_bitrate_estimator_single_stream_unittest.cc', |
| 100 | 'remote_bitrate_estimator/remote_bitrate_estimator_unittest_helper.cc', |
| 101 | 'remote_bitrate_estimator/remote_bitrate_estimator_unittest_helper.h', |
| 102 | 'remote_bitrate_estimator/rtp_to_ntp_unittest.cc', |
| 103 | 'rtp_rtcp/source/mock/mock_rtp_payload_strategy.h', |
| 104 | 'rtp_rtcp/source/mock/mock_rtp_receiver_video.h', |
| 105 | 'rtp_rtcp/source/fec_test_helper.cc', |
| 106 | 'rtp_rtcp/source/fec_test_helper.h', |
| 107 | 'rtp_rtcp/source/nack_rtx_unittest.cc', |
| 108 | 'rtp_rtcp/source/producer_fec_unittest.cc', |
| 109 | 'rtp_rtcp/source/receiver_fec_unittest.cc', |
| 110 | 'rtp_rtcp/source/rtcp_format_remb_unittest.cc', |
| 111 | 'rtp_rtcp/source/rtcp_sender_unittest.cc', |
| 112 | 'rtp_rtcp/source/rtcp_receiver_unittest.cc', |
| 113 | 'rtp_rtcp/source/rtp_fec_unittest.cc', |
| 114 | 'rtp_rtcp/source/rtp_format_vp8_unittest.cc', |
| 115 | 'rtp_rtcp/source/rtp_format_vp8_test_helper.cc', |
| 116 | 'rtp_rtcp/source/rtp_format_vp8_test_helper.h', |
| 117 | 'rtp_rtcp/source/rtp_packet_history_unittest.cc', |
| 118 | 'rtp_rtcp/source/rtp_payload_registry_unittest.cc', |
| 119 | 'rtp_rtcp/source/rtp_utility_unittest.cc', |
| 120 | 'rtp_rtcp/source/rtp_header_extension_unittest.cc', |
| 121 | 'rtp_rtcp/source/rtp_sender_unittest.cc', |
| 122 | 'rtp_rtcp/source/vp8_partition_aggregator_unittest.cc', |
| 123 | 'rtp_rtcp/test/testAPI/test_api.cc', |
| 124 | 'rtp_rtcp/test/testAPI/test_api.h', |
| 125 | 'rtp_rtcp/test/testAPI/test_api_audio.cc', |
| 126 | 'rtp_rtcp/test/testAPI/test_api_rtcp.cc', |
| 127 | 'rtp_rtcp/test/testAPI/test_api_video.cc', |
kjellander@webrtc.org | fec34d7 | 2013-06-05 08:58:46 +0000 | [diff] [blame] | 128 | 'utility/source/audio_frame_operations_unittest.cc', |
stefan@webrtc.org | 7bc465b | 2013-04-11 17:48:02 +0000 | [diff] [blame] | 129 | ], |
kjellander@webrtc.org | 6c35e0b | 2013-06-11 08:29:17 +0000 | [diff] [blame^] | 130 | 'conditions': [ |
| 131 | # Run screen/window capturer tests only on platforms where they are |
| 132 | # supported. |
| 133 | ['desktop_capture_supported==1', { |
| 134 | 'sources!': [ |
| 135 | 'desktop_capture/screen_capturer_helper_unittest.cc', |
| 136 | 'desktop_capture/screen_capturer_mac_unittest.cc', |
| 137 | 'desktop_capture/screen_capturer_mock_objects.h', |
| 138 | 'desktop_capture/screen_capturer_unittest.cc', |
| 139 | 'desktop_capture/window_capturer_unittest.cc', |
| 140 | ], |
| 141 | }], |
| 142 | ], |
| 143 | # Disable warnings to enable Win64 build, issue 1323. |
| 144 | 'msvs_disabled_warnings': [ |
| 145 | 4267, # size_t to int truncation. |
| 146 | ], |
stefan@webrtc.org | 7bc465b | 2013-04-11 17:48:02 +0000 | [diff] [blame] | 147 | }, |
| 148 | ], |
mflodman@webrtc.org | 6af9594 | 2012-05-24 13:23:35 +0000 | [diff] [blame] | 149 | }], # include_tests |
xians@google.com | d3185fe | 2011-09-12 12:24:39 +0000 | [diff] [blame] | 150 | ], # conditions |
| 151 | } |