blob: 2be4737961bb9f1213e232ce725f2c73aa03e041 [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.org1b9df052014-05-28 07:33:39 +000015 'NetEq4',
16 'NetEq4TestTools',
henrik.lundin@webrtc.org75642fc2014-02-05 08:49:13 +000017 'neteq_unittest_tools',
18 'PCM16B',
henrik.lundin@webrtc.orgd94659d2013-01-29 12:09:21 +000019 '<(webrtc_root)/test/test.gyp:test_support_main',
fischman@webrtc.orgdde7d4c2013-08-15 23:31:30 +000020 '<(DEPTH)/third_party/gflags/gflags.gyp:gflags',
henrik.lundin@webrtc.orgd94659d2013-01-29 12:09:21 +000021 ],
22 'sources': [
23 'tools/neteq_rtpplay.cc',
24 ],
25 'defines': [
26 ],
27 }, # neteq_rtpplay
28
29 {
30 'target_name': 'RTPencode',
31 'type': 'executable',
32 'dependencies': [
33 # TODO(hlundin): Make RTPencode use ACM to encode files.
henrik.lundin@webrtc.org1b9df052014-05-28 07:33:39 +000034 'NetEq4TestTools',# Test helpers
henrik.lundin@webrtc.orgd94659d2013-01-29 12:09:21 +000035 'G711',
36 'G722',
37 'PCM16B',
38 'iLBC',
39 'iSAC',
40 'CNG',
andrew@webrtc.org34235372013-04-30 23:43:26 +000041 '<(webrtc_root)/common_audio/common_audio.gyp:common_audio',
henrik.lundin@webrtc.orgd94659d2013-01-29 12:09:21 +000042 ],
43 'defines': [
44 'CODEC_ILBC',
45 'CODEC_PCM16B',
46 'CODEC_G711',
47 'CODEC_G722',
48 'CODEC_ISAC',
49 'CODEC_PCM16B_WB',
50 'CODEC_ISAC_SWB',
51 'CODEC_PCM16B_32KHZ',
turaj@webrtc.org8d1cdaa2014-04-11 18:47:55 +000052 'CODEC_PCM16B_48KHZ',
henrik.lundin@webrtc.orgd94659d2013-01-29 12:09:21 +000053 'CODEC_CNGCODEC8',
54 'CODEC_CNGCODEC16',
55 'CODEC_CNGCODEC32',
56 'CODEC_ATEVENT_DECODE',
57 'CODEC_RED',
58 ],
59 'include_dirs': [
60 'interface',
61 'test',
pbos@webrtc.org57eb8582013-11-11 10:20:27 +000062 '<(webrtc_root)',
henrik.lundin@webrtc.orgd94659d2013-01-29 12:09:21 +000063 ],
64 'sources': [
65 'test/RTPencode.cc',
66 ],
kjellander@webrtc.orgfa53d872013-02-04 10:07:17 +000067 # Disable warnings to enable Win64 build, issue 1323.
68 'msvs_disabled_warnings': [
69 4267, # size_t to int truncation.
70 ],
henrik.lundin@webrtc.orgd94659d2013-01-29 12:09:21 +000071 },
72
73 {
74 'target_name': 'RTPjitter',
75 'type': 'executable',
76 'dependencies': [
77 '<(DEPTH)/testing/gtest.gyp:gtest',
78 ],
79 'sources': [
80 'test/RTPjitter.cc',
81 ],
82 },
83
84 {
henrik.lundin@webrtc.org184b9132014-04-02 20:56:17 +000085 'target_name': 'rtp_analyze',
henrik.lundin@webrtc.orgd94659d2013-01-29 12:09:21 +000086 'type': 'executable',
87 'dependencies': [
henrik.lundin@webrtc.org810acbc2014-04-14 18:42:23 +000088 'neteq_unittest_tools',
henrik.lundin@webrtc.orgd94659d2013-01-29 12:09:21 +000089 '<(DEPTH)/testing/gtest.gyp:gtest',
henrik.lundin@webrtc.org184b9132014-04-02 20:56:17 +000090 '<(DEPTH)/third_party/gflags/gflags.gyp:gflags',
andresp@webrtc.orga36ad692014-05-14 12:24:04 +000091 '<(webrtc_root)/system_wrappers/source/system_wrappers.gyp:field_trial_default',
henrik.lundin@webrtc.orgd94659d2013-01-29 12:09:21 +000092 ],
93 'sources': [
henrik.lundin@webrtc.org184b9132014-04-02 20:56:17 +000094 'tools/rtp_analyze.cc',
henrik.lundin@webrtc.orgd94659d2013-01-29 12:09:21 +000095 ],
96 },
97
98 {
99 'target_name': 'RTPchange',
100 'type': 'executable',
101 'dependencies': [
henrik.lundin@webrtc.org1b9df052014-05-28 07:33:39 +0000102 'NetEq4TestTools',
henrik.lundin@webrtc.orgd94659d2013-01-29 12:09:21 +0000103 '<(DEPTH)/testing/gtest.gyp:gtest',
104 ],
105 'sources': [
106 'test/RTPchange.cc',
107 ],
108 },
109
110 {
111 'target_name': 'RTPtimeshift',
112 'type': 'executable',
113 'dependencies': [
henrik.lundin@webrtc.org1b9df052014-05-28 07:33:39 +0000114 'NetEq4TestTools',
henrik.lundin@webrtc.orgd94659d2013-01-29 12:09:21 +0000115 '<(DEPTH)/testing/gtest.gyp:gtest',
116 ],
117 'sources': [
118 'test/RTPtimeshift.cc',
119 ],
120 },
121
122 {
123 'target_name': 'RTPcat',
124 'type': 'executable',
125 'dependencies': [
henrik.lundin@webrtc.org1b9df052014-05-28 07:33:39 +0000126 'NetEq4TestTools',
henrik.lundin@webrtc.orgd94659d2013-01-29 12:09:21 +0000127 '<(DEPTH)/testing/gtest.gyp:gtest',
128 ],
129 'sources': [
130 'test/RTPcat.cc',
131 ],
132 },
133
134 {
135 'target_name': 'rtp_to_text',
136 'type': 'executable',
137 'dependencies': [
henrik.lundin@webrtc.org1b9df052014-05-28 07:33:39 +0000138 'NetEq4TestTools',
henrik.lundin@webrtc.orgd94659d2013-01-29 12:09:21 +0000139 '<(webrtc_root)/system_wrappers/source/system_wrappers.gyp:system_wrappers',
140 ],
141 'sources': [
142 'test/rtp_to_text.cc',
143 ],
144 },
145
146 {
jan.skoglund@webrtc.orgc3d13d32014-03-10 22:50:19 +0000147 'target_name': 'audio_classifier_test',
148 'type': 'executable',
149 'dependencies': [
henrik.lundin@webrtc.org1b9df052014-05-28 07:33:39 +0000150 'NetEq4',
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.org1b9df052014-05-28 07:33:39 +0000161 'NetEq4',
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': [
168 'tools/neteq_performance_test.cc',
169 'tools/neteq_performance_test.h',
170 'tools/neteq_quality_test.cc',
171 'tools/neteq_quality_test.h',
172 ],
173 }, # neteq_test_support
174
175 {
henrik.lundin@webrtc.org1b9df052014-05-28 07:33:39 +0000176 'target_name': 'neteq4_speed_test',
henrik.lundin@webrtc.orgd1fc5d42013-09-17 08:38:02 +0000177 'type': 'executable',
178 'dependencies': [
henrik.lundin@webrtc.org1b9df052014-05-28 07:33:39 +0000179 'NetEq4',
henrik.lundin@webrtc.orgd57b8142014-04-24 13:19:04 +0000180 'neteq_test_support',
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',
henrik.lundin@webrtc.orgd1fc5d42013-09-17 08:38:02 +0000183 ],
184 'sources': [
185 'test/neteq_speed_test.cc',
186 ],
187 },
188
189 {
henrik.lundin@webrtc.org1b9df052014-05-28 07:33:39 +0000190 'target_name': 'neteq4_opus_fec_quality_test',
minyue@webrtc.orgb28bfa72014-03-21 12:07:40 +0000191 'type': 'executable',
192 'dependencies': [
henrik.lundin@webrtc.org1b9df052014-05-28 07:33:39 +0000193 'NetEq4',
henrik.lundin@webrtc.orgd57b8142014-04-24 13:19:04 +0000194 'neteq_test_support',
minyue@webrtc.orgb28bfa72014-03-21 12:07:40 +0000195 'webrtc_opus',
196 '<(DEPTH)/testing/gtest.gyp:gtest',
197 '<(DEPTH)/third_party/gflags/gflags.gyp:gflags',
198 '<(webrtc_root)/test/test.gyp:test_support_main',
199 ],
200 'sources': [
201 'test/neteq_opus_fec_quality_test.cc',
202 ],
203 },
204
205 {
henrik.lundin@webrtc.org1b9df052014-05-28 07:33:39 +0000206 'target_name': 'NetEq4TestTools',
henrik.lundin@webrtc.orgd94659d2013-01-29 12:09:21 +0000207 # Collection of useful functions used in other tests.
208 'type': 'static_library',
209 'variables': {
210 # Expects RTP packets without payloads when enabled.
211 'neteq_dummy_rtp%': 0,
212 },
213 'dependencies': [
214 'G711',
215 'G722',
216 'PCM16B',
217 'iLBC',
218 'iSAC',
219 'CNG',
220 '<(DEPTH)/testing/gtest.gyp:gtest',
221 ],
222 'direct_dependent_settings': {
223 'include_dirs': [
224 'interface',
225 'test',
pbos@webrtc.org57eb8582013-11-11 10:20:27 +0000226 '<(webrtc_root)',
henrik.lundin@webrtc.orgd94659d2013-01-29 12:09:21 +0000227 ],
228 },
229 'defines': [
230 ],
231 'include_dirs': [
232 'interface',
233 'test',
pbos@webrtc.org57eb8582013-11-11 10:20:27 +0000234 '<(webrtc_root)',
henrik.lundin@webrtc.orgd94659d2013-01-29 12:09:21 +0000235 ],
236 'sources': [
237 'test/NETEQTEST_DummyRTPpacket.cc',
238 'test/NETEQTEST_DummyRTPpacket.h',
239 'test/NETEQTEST_RTPpacket.cc',
240 'test/NETEQTEST_RTPpacket.h',
241 ],
kjellander@webrtc.orgfa53d872013-02-04 10:07:17 +0000242 # Disable warnings to enable Win64 build, issue 1323.
243 'msvs_disabled_warnings': [
244 4267, # size_t to int truncation.
245 ],
henrik.lundin@webrtc.orgd94659d2013-01-29 12:09:21 +0000246 },
247 ], # targets
248}