blob: 5175d7b2962cb5dddd073b9d84b4c3b9c614acf7 [file] [log] [blame]
henrik.lundin@webrtc.orgd94659d2013-01-29 12:09:21 +00001# Copyright (c) 2012 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{
ivoccaa5f4b2015-09-08 03:28:46 -070010 'conditions': [
11 ['enable_protobuf==1', {
12 'targets': [
13 {
ivoccaa5f4b2015-09-08 03:28:46 -070014 'target_name': 'neteq_rtpplay',
15 'type': 'executable',
16 'dependencies': [
17 '<(DEPTH)/third_party/gflags/gflags.gyp:gflags',
henrik.lundin303d3e12016-05-26 05:56:03 -070018 '<(webrtc_root)/test/test.gyp:test_support',
19 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:metrics_default',
ivoccaa5f4b2015-09-08 03:28:46 -070020 'neteq',
21 'neteq_unittest_tools',
ivoccaa5f4b2015-09-08 03:28:46 -070022 ],
23 'sources': [
24 'tools/neteq_rtpplay.cc',
25 ],
26 'defines': [
27 ],
28 }, # neteq_rtpplay
29 ],
30 }],
31 ],
henrik.lundin@webrtc.orgd94659d2013-01-29 12:09:21 +000032 'targets': [
33 {
henrik.lundin@webrtc.orgd94659d2013-01-29 12:09:21 +000034 'target_name': 'RTPencode',
35 'type': 'executable',
36 'dependencies': [
37 # TODO(hlundin): Make RTPencode use ACM to encode files.
andrew@webrtc.org34235372013-04-30 23:43:26 +000038 '<(webrtc_root)/common_audio/common_audio.gyp:common_audio',
Zeke Chin786dbdc2015-06-10 13:45:08 -070039 'cng',
40 'g711',
41 'g722',
42 'ilbc',
43 'isac',
44 'neteq_test_tools', # Test helpers
45 'pcm16b',
minyuecb23c0d2015-12-11 01:58:26 -080046 'webrtc_opus',
henrik.lundin@webrtc.orgd94659d2013-01-29 12:09:21 +000047 ],
48 'defines': [
49 'CODEC_ILBC',
50 'CODEC_PCM16B',
51 'CODEC_G711',
52 'CODEC_G722',
53 'CODEC_ISAC',
54 'CODEC_PCM16B_WB',
55 'CODEC_ISAC_SWB',
56 'CODEC_PCM16B_32KHZ',
turaj@webrtc.org8d1cdaa2014-04-11 18:47:55 +000057 'CODEC_PCM16B_48KHZ',
henrik.lundin@webrtc.orgd94659d2013-01-29 12:09:21 +000058 'CODEC_CNGCODEC8',
59 'CODEC_CNGCODEC16',
60 'CODEC_CNGCODEC32',
61 'CODEC_ATEVENT_DECODE',
62 'CODEC_RED',
minyuecb23c0d2015-12-11 01:58:26 -080063 'CODEC_OPUS',
henrik.lundin@webrtc.orgd94659d2013-01-29 12:09:21 +000064 ],
65 'include_dirs': [
Henrik Kjellander74640892015-10-29 11:31:02 +010066 'include',
henrik.lundin@webrtc.orgd94659d2013-01-29 12:09:21 +000067 'test',
pbos@webrtc.org57eb8582013-11-11 10:20:27 +000068 '<(webrtc_root)',
henrik.lundin@webrtc.orgd94659d2013-01-29 12:09:21 +000069 ],
70 'sources': [
71 'test/RTPencode.cc',
72 ],
kjellander@webrtc.orgfa53d872013-02-04 10:07:17 +000073 # Disable warnings to enable Win64 build, issue 1323.
74 'msvs_disabled_warnings': [
75 4267, # size_t to int truncation.
76 ],
henrik.lundin@webrtc.orgd94659d2013-01-29 12:09:21 +000077 },
78
79 {
80 'target_name': 'RTPjitter',
81 'type': 'executable',
82 'dependencies': [
aleloi17dfa742016-08-03 01:17:25 -070083 '<(webrtc_root)/common.gyp:webrtc_common',
henrik.lundin@webrtc.orgd94659d2013-01-29 12:09:21 +000084 '<(DEPTH)/testing/gtest.gyp:gtest',
85 ],
86 'sources': [
87 'test/RTPjitter.cc',
88 ],
89 },
90
91 {
henrik.lundin@webrtc.org184b9132014-04-02 20:56:17 +000092 'target_name': 'rtp_analyze',
henrik.lundin@webrtc.orgd94659d2013-01-29 12:09:21 +000093 'type': 'executable',
94 'dependencies': [
henrik.lundin@webrtc.orgd94659d2013-01-29 12:09:21 +000095 '<(DEPTH)/testing/gtest.gyp:gtest',
henrik.lundin@webrtc.org184b9132014-04-02 20:56:17 +000096 '<(DEPTH)/third_party/gflags/gflags.gyp:gflags',
andresp@webrtc.org86e1e482015-01-14 09:30:52 +000097 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers_default',
Zeke Chin786dbdc2015-06-10 13:45:08 -070098 'neteq_unittest_tools',
henrik.lundin@webrtc.orgd94659d2013-01-29 12:09:21 +000099 ],
100 'sources': [
henrik.lundin@webrtc.org184b9132014-04-02 20:56:17 +0000101 'tools/rtp_analyze.cc',
henrik.lundin@webrtc.orgd94659d2013-01-29 12:09:21 +0000102 ],
103 },
104
105 {
106 'target_name': 'RTPchange',
107 'type': 'executable',
108 'dependencies': [
henrik.lundin@webrtc.orgd94659d2013-01-29 12:09:21 +0000109 '<(DEPTH)/testing/gtest.gyp:gtest',
Zeke Chin786dbdc2015-06-10 13:45:08 -0700110 'neteq_test_tools',
henrik.lundin@webrtc.orgd94659d2013-01-29 12:09:21 +0000111 ],
112 'sources': [
113 'test/RTPchange.cc',
114 ],
115 },
116
117 {
118 'target_name': 'RTPtimeshift',
119 'type': 'executable',
120 'dependencies': [
henrik.lundin@webrtc.orgd94659d2013-01-29 12:09:21 +0000121 '<(DEPTH)/testing/gtest.gyp:gtest',
Zeke Chin786dbdc2015-06-10 13:45:08 -0700122 'neteq_test_tools',
henrik.lundin@webrtc.orgd94659d2013-01-29 12:09:21 +0000123 ],
124 'sources': [
125 'test/RTPtimeshift.cc',
126 ],
127 },
128
129 {
henrik.lundin@webrtc.org20446e72014-12-01 14:23:01 +0000130 'target_name': 'rtpcat',
henrik.lundin@webrtc.orgd94659d2013-01-29 12:09:21 +0000131 'type': 'executable',
132 'dependencies': [
henrik.lundin@webrtc.orgd94659d2013-01-29 12:09:21 +0000133 '<(DEPTH)/testing/gtest.gyp:gtest',
henrik.lundin@webrtc.org83317142014-12-01 11:25:04 +0000134 '<(webrtc_root)/test/test.gyp:rtp_test_utils',
aleloi5556dcb2016-08-02 04:27:25 -0700135 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers_default',
henrik.lundin@webrtc.orgd94659d2013-01-29 12:09:21 +0000136 ],
137 'sources': [
henrik.lundin@webrtc.org20446e72014-12-01 14:23:01 +0000138 'tools/rtpcat.cc',
henrik.lundin@webrtc.orgd94659d2013-01-29 12:09:21 +0000139 ],
140 },
141
142 {
143 'target_name': 'rtp_to_text',
144 'type': 'executable',
145 'dependencies': [
andresp@webrtc.org86e1e482015-01-14 09:30:52 +0000146 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers',
Zeke Chin786dbdc2015-06-10 13:45:08 -0700147 'neteq_test_tools',
henrik.lundin@webrtc.orgd94659d2013-01-29 12:09:21 +0000148 ],
149 'sources': [
150 'test/rtp_to_text.cc',
151 ],
152 },
153
154 {
jan.skoglund@webrtc.orgc3d13d32014-03-10 22:50:19 +0000155 'target_name': 'audio_classifier_test',
156 'type': 'executable',
157 'dependencies': [
henrik.lundin@webrtc.org9c55f0f2014-06-09 08:10:28 +0000158 'neteq',
minyue@webrtc.orgdb93b682015-03-03 09:28:26 +0000159 'webrtc_opus',
jan.skoglund@webrtc.orgc3d13d32014-03-10 22:50:19 +0000160 ],
161 'sources': [
162 'test/audio_classifier_test.cc',
163 ],
164 },
165
166 {
henrik.lundin@webrtc.orgd57b8142014-04-24 13:19:04 +0000167 'target_name': 'neteq_test_support',
168 'type': 'static_library',
169 'dependencies': [
henrik.lundin@webrtc.orgd57b8142014-04-24 13:19:04 +0000170 '<(DEPTH)/testing/gtest.gyp:gtest',
171 '<(DEPTH)/third_party/gflags/gflags.gyp:gflags',
Zeke Chin786dbdc2015-06-10 13:45:08 -0700172 'neteq',
173 'neteq_unittest_tools',
174 'pcm16b',
henrik.lundin@webrtc.orgd57b8142014-04-24 13:19:04 +0000175 ],
176 'sources': [
minyue@webrtc.org2c1bcf22015-02-17 10:17:09 +0000177 'tools/neteq_external_decoder_test.cc',
178 'tools/neteq_external_decoder_test.h',
henrik.lundin@webrtc.orgd57b8142014-04-24 13:19:04 +0000179 'tools/neteq_performance_test.cc',
180 'tools/neteq_performance_test.h',
181 'tools/neteq_quality_test.cc',
182 'tools/neteq_quality_test.h',
183 ],
184 }, # neteq_test_support
185
186 {
henrik.lundin@webrtc.org9c55f0f2014-06-09 08:10:28 +0000187 'target_name': 'neteq_speed_test',
henrik.lundin@webrtc.orgd1fc5d42013-09-17 08:38:02 +0000188 'type': 'executable',
189 'dependencies': [
henrik.lundin@webrtc.orgd1fc5d42013-09-17 08:38:02 +0000190 '<(DEPTH)/third_party/gflags/gflags.gyp:gflags',
henrik.lundin@webrtc.orga366e812014-01-10 08:24:04 +0000191 '<(webrtc_root)/test/test.gyp:test_support_main',
Zeke Chin786dbdc2015-06-10 13:45:08 -0700192 'neteq',
193 'neteq_test_support',
henrik.lundin@webrtc.orgd1fc5d42013-09-17 08:38:02 +0000194 ],
195 'sources': [
196 'test/neteq_speed_test.cc',
197 ],
198 },
199
200 {
minyue@webrtc.org8f76cd22015-03-18 20:43:40 +0000201 'target_name': 'neteq_opus_quality_test',
minyue@webrtc.orgb28bfa72014-03-21 12:07:40 +0000202 'type': 'executable',
203 'dependencies': [
minyue@webrtc.orgb28bfa72014-03-21 12:07:40 +0000204 '<(DEPTH)/testing/gtest.gyp:gtest',
205 '<(DEPTH)/third_party/gflags/gflags.gyp:gflags',
206 '<(webrtc_root)/test/test.gyp:test_support_main',
Zeke Chin786dbdc2015-06-10 13:45:08 -0700207 'neteq',
208 'neteq_test_support',
209 'webrtc_opus',
minyue@webrtc.orgb28bfa72014-03-21 12:07:40 +0000210 ],
211 'sources': [
minyue@webrtc.org8f76cd22015-03-18 20:43:40 +0000212 'test/neteq_opus_quality_test.cc',
minyue@webrtc.orgb28bfa72014-03-21 12:07:40 +0000213 ],
214 },
215
216 {
minyue@webrtc.org6568e972014-06-25 12:17:41 +0000217 'target_name': 'neteq_isac_quality_test',
218 'type': 'executable',
219 'dependencies': [
minyue@webrtc.org6568e972014-06-25 12:17:41 +0000220 '<(DEPTH)/testing/gtest.gyp:gtest',
221 '<(DEPTH)/third_party/gflags/gflags.gyp:gflags',
222 '<(webrtc_root)/test/test.gyp:test_support_main',
Zeke Chin786dbdc2015-06-10 13:45:08 -0700223 'isac_fix',
224 'neteq',
225 'neteq_test_support',
minyue@webrtc.org6568e972014-06-25 12:17:41 +0000226 ],
227 'sources': [
228 'test/neteq_isac_quality_test.cc',
229 ],
230 },
231
232 {
Henrik Lundine5ff00a2015-05-12 12:09:59 +0200233 'target_name': 'neteq_pcmu_quality_test',
234 'type': 'executable',
235 'dependencies': [
Henrik Lundine5ff00a2015-05-12 12:09:59 +0200236 '<(DEPTH)/testing/gtest.gyp:gtest',
237 '<(DEPTH)/third_party/gflags/gflags.gyp:gflags',
238 '<(webrtc_root)/test/test.gyp:test_support_main',
Zeke Chin786dbdc2015-06-10 13:45:08 -0700239 'g711',
240 'neteq',
241 'neteq_test_support',
Henrik Lundine5ff00a2015-05-12 12:09:59 +0200242 ],
243 'sources': [
244 'test/neteq_pcmu_quality_test.cc',
245 ],
246 },
247
248 {
Henrik Lundin81717352015-05-12 15:04:34 +0200249 'target_name': 'neteq_ilbc_quality_test',
250 'type': 'executable',
251 'dependencies': [
Henrik Lundin81717352015-05-12 15:04:34 +0200252 '<(DEPTH)/testing/gtest.gyp:gtest',
253 '<(DEPTH)/third_party/gflags/gflags.gyp:gflags',
254 '<(webrtc_root)/test/test.gyp:test_support_main',
Zeke Chin786dbdc2015-06-10 13:45:08 -0700255 'neteq',
256 'neteq_test_support',
257 'ilbc',
Henrik Lundin81717352015-05-12 15:04:34 +0200258 ],
259 'sources': [
260 'test/neteq_ilbc_quality_test.cc',
261 ],
262 },
263
264 {
henrik.lundin@webrtc.org9c55f0f2014-06-09 08:10:28 +0000265 'target_name': 'neteq_test_tools',
henrik.lundin@webrtc.orgd94659d2013-01-29 12:09:21 +0000266 # Collection of useful functions used in other tests.
267 'type': 'static_library',
268 'variables': {
269 # Expects RTP packets without payloads when enabled.
270 'neteq_dummy_rtp%': 0,
271 },
272 'dependencies': [
henrik.lundin@webrtc.orgd94659d2013-01-29 12:09:21 +0000273 '<(DEPTH)/testing/gtest.gyp:gtest',
Zeke Chin786dbdc2015-06-10 13:45:08 -0700274 '<(webrtc_root)/common.gyp:webrtc_common',
275 'cng',
276 'g711',
277 'g722',
278 'ilbc',
279 'isac',
280 'pcm16b',
henrik.lundin@webrtc.orgd94659d2013-01-29 12:09:21 +0000281 ],
282 'direct_dependent_settings': {
283 'include_dirs': [
Henrik Kjellander74640892015-10-29 11:31:02 +0100284 'include',
henrik.lundin@webrtc.orgd94659d2013-01-29 12:09:21 +0000285 'test',
pbos@webrtc.org57eb8582013-11-11 10:20:27 +0000286 '<(webrtc_root)',
henrik.lundin@webrtc.orgd94659d2013-01-29 12:09:21 +0000287 ],
288 },
289 'defines': [
290 ],
291 'include_dirs': [
Henrik Kjellander74640892015-10-29 11:31:02 +0100292 'include',
henrik.lundin@webrtc.orgd94659d2013-01-29 12:09:21 +0000293 'test',
pbos@webrtc.org57eb8582013-11-11 10:20:27 +0000294 '<(webrtc_root)',
henrik.lundin@webrtc.orgd94659d2013-01-29 12:09:21 +0000295 ],
296 'sources': [
297 'test/NETEQTEST_DummyRTPpacket.cc',
298 'test/NETEQTEST_DummyRTPpacket.h',
299 'test/NETEQTEST_RTPpacket.cc',
300 'test/NETEQTEST_RTPpacket.h',
301 ],
kjellander@webrtc.orgfa53d872013-02-04 10:07:17 +0000302 # Disable warnings to enable Win64 build, issue 1323.
303 'msvs_disabled_warnings': [
304 4267, # size_t to int truncation.
305 ],
henrik.lundin@webrtc.orgd94659d2013-01-29 12:09:21 +0000306 },
307 ], # targets
308}