blob: 3a0ebdbd46998ea900d05fb5a2459a8e465c4c4c [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',
jan.skoglund@webrtc.orgc3d13d32014-03-10 22:50:19 +0000150 ],
151 'sources': [
152 'test/audio_classifier_test.cc',
153 ],
154 },
155
156 {
henrik.lundin@webrtc.orgd57b8142014-04-24 13:19:04 +0000157 'target_name': 'neteq_test_support',
158 'type': 'static_library',
159 'dependencies': [
henrik.lundin@webrtc.org9c55f0f2014-06-09 08:10:28 +0000160 'neteq',
henrik.lundin@webrtc.orgd57b8142014-04-24 13:19:04 +0000161 'PCM16B',
162 'neteq_unittest_tools',
163 '<(DEPTH)/testing/gtest.gyp:gtest',
164 '<(DEPTH)/third_party/gflags/gflags.gyp:gflags',
165 ],
166 'sources': [
167 'tools/neteq_performance_test.cc',
168 'tools/neteq_performance_test.h',
169 'tools/neteq_quality_test.cc',
170 'tools/neteq_quality_test.h',
171 ],
172 }, # neteq_test_support
173
174 {
henrik.lundin@webrtc.org9c55f0f2014-06-09 08:10:28 +0000175 'target_name': 'neteq_speed_test',
henrik.lundin@webrtc.orgd1fc5d42013-09-17 08:38:02 +0000176 'type': 'executable',
177 'dependencies': [
henrik.lundin@webrtc.org9c55f0f2014-06-09 08:10:28 +0000178 'neteq',
henrik.lundin@webrtc.orgd57b8142014-04-24 13:19:04 +0000179 'neteq_test_support',
henrik.lundin@webrtc.orgd1fc5d42013-09-17 08:38:02 +0000180 '<(DEPTH)/third_party/gflags/gflags.gyp:gflags',
henrik.lundin@webrtc.orga366e812014-01-10 08:24:04 +0000181 '<(webrtc_root)/test/test.gyp:test_support_main',
henrik.lundin@webrtc.orgd1fc5d42013-09-17 08:38:02 +0000182 ],
183 'sources': [
184 'test/neteq_speed_test.cc',
185 ],
186 },
187
188 {
henrik.lundin@webrtc.org9c55f0f2014-06-09 08:10:28 +0000189 'target_name': 'neteq_opus_fec_quality_test',
minyue@webrtc.orgb28bfa72014-03-21 12:07:40 +0000190 'type': 'executable',
191 'dependencies': [
henrik.lundin@webrtc.org9c55f0f2014-06-09 08:10:28 +0000192 'neteq',
henrik.lundin@webrtc.orgd57b8142014-04-24 13:19:04 +0000193 'neteq_test_support',
minyue@webrtc.orgb28bfa72014-03-21 12:07:40 +0000194 'webrtc_opus',
195 '<(DEPTH)/testing/gtest.gyp:gtest',
196 '<(DEPTH)/third_party/gflags/gflags.gyp:gflags',
197 '<(webrtc_root)/test/test.gyp:test_support_main',
198 ],
199 'sources': [
200 'test/neteq_opus_fec_quality_test.cc',
201 ],
202 },
203
204 {
minyue@webrtc.org6568e972014-06-25 12:17:41 +0000205 'target_name': 'neteq_isac_quality_test',
206 'type': 'executable',
207 'dependencies': [
208 'neteq',
209 'neteq_test_support',
210 'iSACFix',
211 '<(DEPTH)/testing/gtest.gyp:gtest',
212 '<(DEPTH)/third_party/gflags/gflags.gyp:gflags',
213 '<(webrtc_root)/test/test.gyp:test_support_main',
214 ],
215 'sources': [
216 'test/neteq_isac_quality_test.cc',
217 ],
218 },
219
220 {
henrik.lundin@webrtc.org9c55f0f2014-06-09 08:10:28 +0000221 'target_name': 'neteq_test_tools',
henrik.lundin@webrtc.orgd94659d2013-01-29 12:09:21 +0000222 # Collection of useful functions used in other tests.
223 'type': 'static_library',
224 'variables': {
225 # Expects RTP packets without payloads when enabled.
226 'neteq_dummy_rtp%': 0,
227 },
228 'dependencies': [
229 'G711',
230 'G722',
231 'PCM16B',
232 'iLBC',
233 'iSAC',
234 'CNG',
235 '<(DEPTH)/testing/gtest.gyp:gtest',
236 ],
237 'direct_dependent_settings': {
238 'include_dirs': [
239 'interface',
240 'test',
pbos@webrtc.org57eb8582013-11-11 10:20:27 +0000241 '<(webrtc_root)',
henrik.lundin@webrtc.orgd94659d2013-01-29 12:09:21 +0000242 ],
243 },
244 'defines': [
245 ],
246 'include_dirs': [
247 'interface',
248 'test',
pbos@webrtc.org57eb8582013-11-11 10:20:27 +0000249 '<(webrtc_root)',
henrik.lundin@webrtc.orgd94659d2013-01-29 12:09:21 +0000250 ],
251 'sources': [
252 'test/NETEQTEST_DummyRTPpacket.cc',
253 'test/NETEQTEST_DummyRTPpacket.h',
254 'test/NETEQTEST_RTPpacket.cc',
255 'test/NETEQTEST_RTPpacket.h',
256 ],
kjellander@webrtc.orgfa53d872013-02-04 10:07:17 +0000257 # Disable warnings to enable Win64 build, issue 1323.
258 'msvs_disabled_warnings': [
259 4267, # size_t to int truncation.
260 ],
henrik.lundin@webrtc.orgd94659d2013-01-29 12:09:21 +0000261 },
262 ], # targets
263}