blob: a2b9265613f77288e5d55b004a6b7bf6e24a3b7f [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': [
15 'NetEq4',
16 'NetEq4TestTools',
17 '<(webrtc_root)/test/test.gyp:test_support_main',
fischman@webrtc.orgdde7d4c2013-08-15 23:31:30 +000018 '<(DEPTH)/third_party/gflags/gflags.gyp:gflags',
henrik.lundin@webrtc.orgd94659d2013-01-29 12:09:21 +000019 ],
20 'sources': [
21 'tools/neteq_rtpplay.cc',
22 ],
23 'defines': [
24 ],
25 }, # neteq_rtpplay
26
27 {
28 'target_name': 'RTPencode',
29 'type': 'executable',
30 'dependencies': [
31 # TODO(hlundin): Make RTPencode use ACM to encode files.
32 'NetEq4TestTools',# Test helpers
33 'G711',
34 'G722',
35 'PCM16B',
36 'iLBC',
37 'iSAC',
38 'CNG',
andrew@webrtc.org34235372013-04-30 23:43:26 +000039 '<(webrtc_root)/common_audio/common_audio.gyp:common_audio',
henrik.lundin@webrtc.orgd94659d2013-01-29 12:09:21 +000040 ],
41 'defines': [
42 'CODEC_ILBC',
43 'CODEC_PCM16B',
44 'CODEC_G711',
45 'CODEC_G722',
46 'CODEC_ISAC',
47 'CODEC_PCM16B_WB',
48 'CODEC_ISAC_SWB',
49 'CODEC_PCM16B_32KHZ',
50 'CODEC_CNGCODEC8',
51 'CODEC_CNGCODEC16',
52 'CODEC_CNGCODEC32',
53 'CODEC_ATEVENT_DECODE',
54 'CODEC_RED',
55 ],
56 'include_dirs': [
57 'interface',
58 'test',
pbos@webrtc.org57eb8582013-11-11 10:20:27 +000059 '<(webrtc_root)',
henrik.lundin@webrtc.orgd94659d2013-01-29 12:09:21 +000060 ],
61 'sources': [
62 'test/RTPencode.cc',
63 ],
kjellander@webrtc.orgfa53d872013-02-04 10:07:17 +000064 # Disable warnings to enable Win64 build, issue 1323.
65 'msvs_disabled_warnings': [
66 4267, # size_t to int truncation.
67 ],
henrik.lundin@webrtc.orgd94659d2013-01-29 12:09:21 +000068 },
69
70 {
71 'target_name': 'RTPjitter',
72 'type': 'executable',
73 'dependencies': [
74 '<(DEPTH)/testing/gtest.gyp:gtest',
75 ],
76 'sources': [
77 'test/RTPjitter.cc',
78 ],
79 },
80
81 {
82 'target_name': 'RTPanalyze',
83 'type': 'executable',
84 'dependencies': [
85 'NetEq4TestTools',
86 '<(DEPTH)/testing/gtest.gyp:gtest',
87 ],
88 'sources': [
89 'test/RTPanalyze.cc',
90 ],
91 },
92
93 {
94 'target_name': 'RTPchange',
95 'type': 'executable',
96 'dependencies': [
97 'NetEq4TestTools',
98 '<(DEPTH)/testing/gtest.gyp:gtest',
99 ],
100 'sources': [
101 'test/RTPchange.cc',
102 ],
103 },
104
105 {
106 'target_name': 'RTPtimeshift',
107 'type': 'executable',
108 'dependencies': [
109 'NetEq4TestTools',
110 '<(DEPTH)/testing/gtest.gyp:gtest',
111 ],
112 'sources': [
113 'test/RTPtimeshift.cc',
114 ],
115 },
116
117 {
118 'target_name': 'RTPcat',
119 'type': 'executable',
120 'dependencies': [
121 'NetEq4TestTools',
122 '<(DEPTH)/testing/gtest.gyp:gtest',
123 ],
124 'sources': [
125 'test/RTPcat.cc',
126 ],
127 },
128
129 {
130 'target_name': 'rtp_to_text',
131 'type': 'executable',
132 'dependencies': [
133 'NetEq4TestTools',
134 '<(webrtc_root)/system_wrappers/source/system_wrappers.gyp:system_wrappers',
135 ],
136 'sources': [
137 'test/rtp_to_text.cc',
138 ],
139 },
140
141 {
henrik.lundin@webrtc.orgd1fc5d42013-09-17 08:38:02 +0000142 'target_name': 'neteq4_speed_test',
143 'type': 'executable',
144 'dependencies': [
145 'NetEq4',
146 'neteq_unittest_tools',
147 'PCM16B',
148 '<(DEPTH)/third_party/gflags/gflags.gyp:gflags',
149 ],
150 'sources': [
151 'test/neteq_speed_test.cc',
152 ],
153 },
154
155 {
henrik.lundin@webrtc.orgd94659d2013-01-29 12:09:21 +0000156 'target_name': 'NetEq4TestTools',
157 # Collection of useful functions used in other tests.
158 'type': 'static_library',
159 'variables': {
160 # Expects RTP packets without payloads when enabled.
161 'neteq_dummy_rtp%': 0,
162 },
163 'dependencies': [
164 'G711',
165 'G722',
166 'PCM16B',
167 'iLBC',
168 'iSAC',
169 'CNG',
170 '<(DEPTH)/testing/gtest.gyp:gtest',
171 ],
172 'direct_dependent_settings': {
173 'include_dirs': [
174 'interface',
175 'test',
pbos@webrtc.org57eb8582013-11-11 10:20:27 +0000176 '<(webrtc_root)',
henrik.lundin@webrtc.orgd94659d2013-01-29 12:09:21 +0000177 ],
178 },
179 'defines': [
180 ],
181 'include_dirs': [
182 'interface',
183 'test',
pbos@webrtc.org57eb8582013-11-11 10:20:27 +0000184 '<(webrtc_root)',
henrik.lundin@webrtc.orgd94659d2013-01-29 12:09:21 +0000185 ],
186 'sources': [
187 'test/NETEQTEST_DummyRTPpacket.cc',
188 'test/NETEQTEST_DummyRTPpacket.h',
189 'test/NETEQTEST_RTPpacket.cc',
190 'test/NETEQTEST_RTPpacket.h',
191 ],
kjellander@webrtc.orgfa53d872013-02-04 10:07:17 +0000192 # Disable warnings to enable Win64 build, issue 1323.
193 'msvs_disabled_warnings': [
194 4267, # size_t to int truncation.
195 ],
henrik.lundin@webrtc.orgd94659d2013-01-29 12:09:21 +0000196 },
197 ], # targets
198}