blob: 1cf4053c7c51741b29225c472c3aec91c83ca4f0 [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{
10 'targets': [
11 {
12 'target_name': 'neteq_rtpplay',
13 'type': 'executable',
14 'dependencies': [
henrik.lundin@webrtc.org9c55f0f2014-06-09 08:10:28 +000015 'neteq',
henrik.lundin@webrtc.org75642fc2014-02-05 08:49:13 +000016 'neteq_unittest_tools',
17 'PCM16B',
henrik.lundin@webrtc.orgd94659d2013-01-29 12:09:21 +000018 '<(webrtc_root)/test/test.gyp:test_support_main',
fischman@webrtc.orgdde7d4c2013-08-15 23:31:30 +000019 '<(DEPTH)/third_party/gflags/gflags.gyp:gflags',
henrik.lundin@webrtc.orgd94659d2013-01-29 12:09:21 +000020 ],
21 'sources': [
22 'tools/neteq_rtpplay.cc',
23 ],
24 'defines': [
25 ],
26 }, # neteq_rtpplay
27
28 {
29 'target_name': 'RTPencode',
30 'type': 'executable',
31 'dependencies': [
32 # TODO(hlundin): Make RTPencode use ACM to encode files.
henrik.lundin@webrtc.org9c55f0f2014-06-09 08:10:28 +000033 'neteq_test_tools',# Test helpers
henrik.lundin@webrtc.orgd94659d2013-01-29 12:09:21 +000034 'G711',
35 'G722',
36 'PCM16B',
37 'iLBC',
38 'iSAC',
39 'CNG',
andrew@webrtc.org34235372013-04-30 23:43:26 +000040 '<(webrtc_root)/common_audio/common_audio.gyp:common_audio',
henrik.lundin@webrtc.orgd94659d2013-01-29 12:09:21 +000041 ],
42 'defines': [
43 'CODEC_ILBC',
44 'CODEC_PCM16B',
45 'CODEC_G711',
46 'CODEC_G722',
47 'CODEC_ISAC',
48 'CODEC_PCM16B_WB',
49 'CODEC_ISAC_SWB',
50 'CODEC_PCM16B_32KHZ',
turaj@webrtc.org8d1cdaa2014-04-11 18:47:55 +000051 'CODEC_PCM16B_48KHZ',
henrik.lundin@webrtc.orgd94659d2013-01-29 12:09:21 +000052 'CODEC_CNGCODEC8',
53 'CODEC_CNGCODEC16',
54 'CODEC_CNGCODEC32',
55 'CODEC_ATEVENT_DECODE',
56 'CODEC_RED',
57 ],
58 'include_dirs': [
59 'interface',
60 'test',
pbos@webrtc.org57eb8582013-11-11 10:20:27 +000061 '<(webrtc_root)',
henrik.lundin@webrtc.orgd94659d2013-01-29 12:09:21 +000062 ],
63 'sources': [
64 'test/RTPencode.cc',
65 ],
kjellander@webrtc.orgfa53d872013-02-04 10:07:17 +000066 # Disable warnings to enable Win64 build, issue 1323.
67 'msvs_disabled_warnings': [
68 4267, # size_t to int truncation.
69 ],
henrik.lundin@webrtc.orgd94659d2013-01-29 12:09:21 +000070 },
71
72 {
73 'target_name': 'RTPjitter',
74 'type': 'executable',
75 'dependencies': [
76 '<(DEPTH)/testing/gtest.gyp:gtest',
77 ],
78 'sources': [
79 'test/RTPjitter.cc',
80 ],
81 },
82
83 {
henrik.lundin@webrtc.org184b9132014-04-02 20:56:17 +000084 'target_name': 'rtp_analyze',
henrik.lundin@webrtc.orgd94659d2013-01-29 12:09:21 +000085 'type': 'executable',
86 'dependencies': [
henrik.lundin@webrtc.org810acbc2014-04-14 18:42:23 +000087 'neteq_unittest_tools',
henrik.lundin@webrtc.orgd94659d2013-01-29 12:09:21 +000088 '<(DEPTH)/testing/gtest.gyp:gtest',
henrik.lundin@webrtc.org184b9132014-04-02 20:56:17 +000089 '<(DEPTH)/third_party/gflags/gflags.gyp:gflags',
andresp@webrtc.org86e1e482015-01-14 09:30:52 +000090 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers_default',
henrik.lundin@webrtc.orgd94659d2013-01-29 12:09:21 +000091 ],
92 'sources': [
henrik.lundin@webrtc.org184b9132014-04-02 20:56:17 +000093 'tools/rtp_analyze.cc',
henrik.lundin@webrtc.orgd94659d2013-01-29 12:09:21 +000094 ],
95 },
96
97 {
98 'target_name': 'RTPchange',
99 'type': 'executable',
100 'dependencies': [
henrik.lundin@webrtc.org9c55f0f2014-06-09 08:10:28 +0000101 'neteq_test_tools',
henrik.lundin@webrtc.orgd94659d2013-01-29 12:09:21 +0000102 '<(DEPTH)/testing/gtest.gyp:gtest',
103 ],
104 'sources': [
105 'test/RTPchange.cc',
106 ],
107 },
108
109 {
110 'target_name': 'RTPtimeshift',
111 'type': 'executable',
112 'dependencies': [
henrik.lundin@webrtc.org9c55f0f2014-06-09 08:10:28 +0000113 'neteq_test_tools',
henrik.lundin@webrtc.orgd94659d2013-01-29 12:09:21 +0000114 '<(DEPTH)/testing/gtest.gyp:gtest',
115 ],
116 'sources': [
117 'test/RTPtimeshift.cc',
118 ],
119 },
120
121 {
henrik.lundin@webrtc.org20446e72014-12-01 14:23:01 +0000122 'target_name': 'rtpcat',
henrik.lundin@webrtc.orgd94659d2013-01-29 12:09:21 +0000123 'type': 'executable',
124 'dependencies': [
henrik.lundin@webrtc.orgd94659d2013-01-29 12:09:21 +0000125 '<(DEPTH)/testing/gtest.gyp:gtest',
henrik.lundin@webrtc.org83317142014-12-01 11:25:04 +0000126 '<(webrtc_root)/test/test.gyp:rtp_test_utils',
henrik.lundin@webrtc.orgd94659d2013-01-29 12:09:21 +0000127 ],
128 'sources': [
henrik.lundin@webrtc.org20446e72014-12-01 14:23:01 +0000129 'tools/rtpcat.cc',
henrik.lundin@webrtc.orgd94659d2013-01-29 12:09:21 +0000130 ],
131 },
132
133 {
134 'target_name': 'rtp_to_text',
135 'type': 'executable',
136 'dependencies': [
henrik.lundin@webrtc.org9c55f0f2014-06-09 08:10:28 +0000137 'neteq_test_tools',
andresp@webrtc.org86e1e482015-01-14 09:30:52 +0000138 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers',
henrik.lundin@webrtc.orgd94659d2013-01-29 12:09:21 +0000139 ],
140 'sources': [
141 'test/rtp_to_text.cc',
142 ],
143 },
144
145 {
jan.skoglund@webrtc.orgc3d13d32014-03-10 22:50:19 +0000146 'target_name': 'audio_classifier_test',
147 'type': 'executable',
148 'dependencies': [
henrik.lundin@webrtc.org9c55f0f2014-06-09 08:10:28 +0000149 'neteq',
minyue@webrtc.orgdb93b682015-03-03 09:28:26 +0000150 'webrtc_opus',
jan.skoglund@webrtc.orgc3d13d32014-03-10 22:50:19 +0000151 ],
152 'sources': [
153 'test/audio_classifier_test.cc',
154 ],
155 },
156
157 {
henrik.lundin@webrtc.orgd57b8142014-04-24 13:19:04 +0000158 'target_name': 'neteq_test_support',
159 'type': 'static_library',
160 'dependencies': [
henrik.lundin@webrtc.org9c55f0f2014-06-09 08:10:28 +0000161 'neteq',
henrik.lundin@webrtc.orgd57b8142014-04-24 13:19:04 +0000162 'PCM16B',
163 'neteq_unittest_tools',
164 '<(DEPTH)/testing/gtest.gyp:gtest',
165 '<(DEPTH)/third_party/gflags/gflags.gyp:gflags',
166 ],
167 'sources': [
minyue@webrtc.org2c1bcf22015-02-17 10:17:09 +0000168 'tools/neteq_external_decoder_test.cc',
169 'tools/neteq_external_decoder_test.h',
henrik.lundin@webrtc.orgd57b8142014-04-24 13:19:04 +0000170 'tools/neteq_performance_test.cc',
171 'tools/neteq_performance_test.h',
172 'tools/neteq_quality_test.cc',
173 'tools/neteq_quality_test.h',
174 ],
175 }, # neteq_test_support
176
177 {
henrik.lundin@webrtc.org9c55f0f2014-06-09 08:10:28 +0000178 'target_name': 'neteq_speed_test',
henrik.lundin@webrtc.orgd1fc5d42013-09-17 08:38:02 +0000179 'type': 'executable',
180 'dependencies': [
henrik.lundin@webrtc.org9c55f0f2014-06-09 08:10:28 +0000181 'neteq',
henrik.lundin@webrtc.orgd57b8142014-04-24 13:19:04 +0000182 'neteq_test_support',
henrik.lundin@webrtc.orgd1fc5d42013-09-17 08:38:02 +0000183 '<(DEPTH)/third_party/gflags/gflags.gyp:gflags',
henrik.lundin@webrtc.orga366e812014-01-10 08:24:04 +0000184 '<(webrtc_root)/test/test.gyp:test_support_main',
henrik.lundin@webrtc.orgd1fc5d42013-09-17 08:38:02 +0000185 ],
186 'sources': [
187 'test/neteq_speed_test.cc',
188 ],
189 },
190
191 {
minyue@webrtc.org8f76cd22015-03-18 20:43:40 +0000192 'target_name': 'neteq_opus_quality_test',
minyue@webrtc.orgb28bfa72014-03-21 12:07:40 +0000193 'type': 'executable',
194 'dependencies': [
henrik.lundin@webrtc.org9c55f0f2014-06-09 08:10:28 +0000195 'neteq',
henrik.lundin@webrtc.orgd57b8142014-04-24 13:19:04 +0000196 'neteq_test_support',
minyue@webrtc.orgb28bfa72014-03-21 12:07:40 +0000197 'webrtc_opus',
198 '<(DEPTH)/testing/gtest.gyp:gtest',
199 '<(DEPTH)/third_party/gflags/gflags.gyp:gflags',
200 '<(webrtc_root)/test/test.gyp:test_support_main',
201 ],
202 'sources': [
minyue@webrtc.org8f76cd22015-03-18 20:43:40 +0000203 'test/neteq_opus_quality_test.cc',
minyue@webrtc.orgb28bfa72014-03-21 12:07:40 +0000204 ],
205 },
206
207 {
minyue@webrtc.org6568e972014-06-25 12:17:41 +0000208 'target_name': 'neteq_isac_quality_test',
209 'type': 'executable',
210 'dependencies': [
211 'neteq',
212 'neteq_test_support',
213 'iSACFix',
214 '<(DEPTH)/testing/gtest.gyp:gtest',
215 '<(DEPTH)/third_party/gflags/gflags.gyp:gflags',
216 '<(webrtc_root)/test/test.gyp:test_support_main',
217 ],
218 'sources': [
219 'test/neteq_isac_quality_test.cc',
220 ],
221 },
222
223 {
Henrik Lundine5ff00a2015-05-12 12:09:59 +0200224 'target_name': 'neteq_pcmu_quality_test',
225 'type': 'executable',
226 'dependencies': [
227 'neteq',
228 'neteq_test_support',
229 'G711',
230 '<(DEPTH)/testing/gtest.gyp:gtest',
231 '<(DEPTH)/third_party/gflags/gflags.gyp:gflags',
232 '<(webrtc_root)/test/test.gyp:test_support_main',
233 ],
234 'sources': [
235 'test/neteq_pcmu_quality_test.cc',
236 ],
237 },
238
239 {
Henrik Lundin81717352015-05-12 15:04:34 +0200240 'target_name': 'neteq_ilbc_quality_test',
241 'type': 'executable',
242 'dependencies': [
243 'neteq',
244 'neteq_test_support',
245 'iLBC',
246 '<(DEPTH)/testing/gtest.gyp:gtest',
247 '<(DEPTH)/third_party/gflags/gflags.gyp:gflags',
248 '<(webrtc_root)/test/test.gyp:test_support_main',
249 ],
250 'sources': [
251 'test/neteq_ilbc_quality_test.cc',
252 ],
253 },
254
255 {
henrik.lundin@webrtc.org9c55f0f2014-06-09 08:10:28 +0000256 'target_name': 'neteq_test_tools',
henrik.lundin@webrtc.orgd94659d2013-01-29 12:09:21 +0000257 # Collection of useful functions used in other tests.
258 'type': 'static_library',
259 'variables': {
260 # Expects RTP packets without payloads when enabled.
261 'neteq_dummy_rtp%': 0,
262 },
263 'dependencies': [
264 'G711',
265 'G722',
266 'PCM16B',
267 'iLBC',
268 'iSAC',
269 'CNG',
kwiberg@webrtc.orgac2d27d2015-02-26 13:59:22 +0000270 '<(webrtc_root)/common.gyp:webrtc_common',
henrik.lundin@webrtc.orgd94659d2013-01-29 12:09:21 +0000271 '<(DEPTH)/testing/gtest.gyp:gtest',
272 ],
273 'direct_dependent_settings': {
274 'include_dirs': [
275 'interface',
276 'test',
pbos@webrtc.org57eb8582013-11-11 10:20:27 +0000277 '<(webrtc_root)',
henrik.lundin@webrtc.orgd94659d2013-01-29 12:09:21 +0000278 ],
279 },
280 'defines': [
281 ],
282 'include_dirs': [
283 'interface',
284 'test',
pbos@webrtc.org57eb8582013-11-11 10:20:27 +0000285 '<(webrtc_root)',
henrik.lundin@webrtc.orgd94659d2013-01-29 12:09:21 +0000286 ],
287 'sources': [
288 'test/NETEQTEST_DummyRTPpacket.cc',
289 'test/NETEQTEST_DummyRTPpacket.h',
290 'test/NETEQTEST_RTPpacket.cc',
291 'test/NETEQTEST_RTPpacket.h',
292 ],
kjellander@webrtc.orgfa53d872013-02-04 10:07:17 +0000293 # Disable warnings to enable Win64 build, issue 1323.
294 'msvs_disabled_warnings': [
295 4267, # size_t to int truncation.
296 ],
henrik.lundin@webrtc.orgd94659d2013-01-29 12:09:21 +0000297 },
298 ], # targets
299}