blob: 4b0409216296235db2abaa3061ccd625a33615bf [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': [
Zeke Chin786dbdc2015-06-10 13:45:08 -070015 '<(DEPTH)/third_party/gflags/gflags.gyp:gflags',
16 '<(webrtc_root)/test/test.gyp:test_support_main',
henrik.lundin@webrtc.org9c55f0f2014-06-09 08:10:28 +000017 'neteq',
henrik.lundin@webrtc.org75642fc2014-02-05 08:49:13 +000018 'neteq_unittest_tools',
Zeke Chin786dbdc2015-06-10 13:45:08 -070019 'pcm16b',
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.
andrew@webrtc.org34235372013-04-30 23:43:26 +000033 '<(webrtc_root)/common_audio/common_audio.gyp:common_audio',
Zeke Chin786dbdc2015-06-10 13:45:08 -070034 'cng',
35 'g711',
36 'g722',
37 'ilbc',
38 'isac',
39 'neteq_test_tools', # Test helpers
40 'pcm16b',
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.orgd94659d2013-01-29 12:09:21 +000087 '<(DEPTH)/testing/gtest.gyp:gtest',
henrik.lundin@webrtc.org184b9132014-04-02 20:56:17 +000088 '<(DEPTH)/third_party/gflags/gflags.gyp:gflags',
andresp@webrtc.org86e1e482015-01-14 09:30:52 +000089 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers_default',
Zeke Chin786dbdc2015-06-10 13:45:08 -070090 'neteq_unittest_tools',
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.orgd94659d2013-01-29 12:09:21 +0000101 '<(DEPTH)/testing/gtest.gyp:gtest',
Zeke Chin786dbdc2015-06-10 13:45:08 -0700102 'neteq_test_tools',
henrik.lundin@webrtc.orgd94659d2013-01-29 12:09:21 +0000103 ],
104 'sources': [
105 'test/RTPchange.cc',
106 ],
107 },
108
109 {
110 'target_name': 'RTPtimeshift',
111 'type': 'executable',
112 'dependencies': [
henrik.lundin@webrtc.orgd94659d2013-01-29 12:09:21 +0000113 '<(DEPTH)/testing/gtest.gyp:gtest',
Zeke Chin786dbdc2015-06-10 13:45:08 -0700114 'neteq_test_tools',
henrik.lundin@webrtc.orgd94659d2013-01-29 12:09:21 +0000115 ],
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': [
andresp@webrtc.org86e1e482015-01-14 09:30:52 +0000137 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers',
Zeke Chin786dbdc2015-06-10 13:45:08 -0700138 'neteq_test_tools',
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.orgd57b8142014-04-24 13:19:04 +0000161 '<(DEPTH)/testing/gtest.gyp:gtest',
162 '<(DEPTH)/third_party/gflags/gflags.gyp:gflags',
Zeke Chin786dbdc2015-06-10 13:45:08 -0700163 'neteq',
164 'neteq_unittest_tools',
165 'pcm16b',
henrik.lundin@webrtc.orgd57b8142014-04-24 13:19:04 +0000166 ],
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.orgd1fc5d42013-09-17 08:38:02 +0000181 '<(DEPTH)/third_party/gflags/gflags.gyp:gflags',
henrik.lundin@webrtc.orga366e812014-01-10 08:24:04 +0000182 '<(webrtc_root)/test/test.gyp:test_support_main',
Zeke Chin786dbdc2015-06-10 13:45:08 -0700183 'neteq',
184 'neteq_test_support',
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': [
minyue@webrtc.orgb28bfa72014-03-21 12:07:40 +0000195 '<(DEPTH)/testing/gtest.gyp:gtest',
196 '<(DEPTH)/third_party/gflags/gflags.gyp:gflags',
197 '<(webrtc_root)/test/test.gyp:test_support_main',
Zeke Chin786dbdc2015-06-10 13:45:08 -0700198 'neteq',
199 'neteq_test_support',
200 'webrtc_opus',
minyue@webrtc.orgb28bfa72014-03-21 12:07:40 +0000201 ],
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': [
minyue@webrtc.org6568e972014-06-25 12:17:41 +0000211 '<(DEPTH)/testing/gtest.gyp:gtest',
212 '<(DEPTH)/third_party/gflags/gflags.gyp:gflags',
213 '<(webrtc_root)/test/test.gyp:test_support_main',
Zeke Chin786dbdc2015-06-10 13:45:08 -0700214 'isac_fix',
215 'neteq',
216 'neteq_test_support',
minyue@webrtc.org6568e972014-06-25 12:17:41 +0000217 ],
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': [
Henrik Lundine5ff00a2015-05-12 12:09:59 +0200227 '<(DEPTH)/testing/gtest.gyp:gtest',
228 '<(DEPTH)/third_party/gflags/gflags.gyp:gflags',
229 '<(webrtc_root)/test/test.gyp:test_support_main',
Zeke Chin786dbdc2015-06-10 13:45:08 -0700230 'g711',
231 'neteq',
232 'neteq_test_support',
Henrik Lundine5ff00a2015-05-12 12:09:59 +0200233 ],
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': [
Henrik Lundin81717352015-05-12 15:04:34 +0200243 '<(DEPTH)/testing/gtest.gyp:gtest',
244 '<(DEPTH)/third_party/gflags/gflags.gyp:gflags',
245 '<(webrtc_root)/test/test.gyp:test_support_main',
Zeke Chin786dbdc2015-06-10 13:45:08 -0700246 'neteq',
247 'neteq_test_support',
248 'ilbc',
Henrik Lundin81717352015-05-12 15:04:34 +0200249 ],
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': [
henrik.lundin@webrtc.orgd94659d2013-01-29 12:09:21 +0000264 '<(DEPTH)/testing/gtest.gyp:gtest',
Zeke Chin786dbdc2015-06-10 13:45:08 -0700265 '<(webrtc_root)/common.gyp:webrtc_common',
266 'cng',
267 'g711',
268 'g722',
269 'ilbc',
270 'isac',
271 'pcm16b',
henrik.lundin@webrtc.orgd94659d2013-01-29 12:09:21 +0000272 ],
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}