blob: faf7332f28dc85bb4ad16ada9361590e2646d46a [file] [log] [blame]
henrik.lundin@webrtc.org9a400812013-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.org1e817c32013-08-15 23:31:30 +000018 '<(DEPTH)/third_party/gflags/gflags.gyp:gflags',
henrik.lundin@webrtc.org9a400812013-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.org166153e2013-04-30 23:43:26 +000039 '<(webrtc_root)/common_audio/common_audio.gyp:common_audio',
henrik.lundin@webrtc.org9a400812013-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',
59 ],
60 'sources': [
61 'test/RTPencode.cc',
62 ],
kjellander@webrtc.org1e7f77a2013-02-04 10:07:17 +000063 # Disable warnings to enable Win64 build, issue 1323.
64 'msvs_disabled_warnings': [
65 4267, # size_t to int truncation.
66 ],
henrik.lundin@webrtc.org9a400812013-01-29 12:09:21 +000067 },
68
69 {
70 'target_name': 'RTPjitter',
71 'type': 'executable',
72 'dependencies': [
73 '<(DEPTH)/testing/gtest.gyp:gtest',
74 ],
75 'sources': [
76 'test/RTPjitter.cc',
77 ],
78 },
79
80 {
81 'target_name': 'RTPanalyze',
82 'type': 'executable',
83 'dependencies': [
84 'NetEq4TestTools',
85 '<(DEPTH)/testing/gtest.gyp:gtest',
86 ],
87 'sources': [
88 'test/RTPanalyze.cc',
89 ],
90 },
91
92 {
93 'target_name': 'RTPchange',
94 'type': 'executable',
95 'dependencies': [
96 'NetEq4TestTools',
97 '<(DEPTH)/testing/gtest.gyp:gtest',
98 ],
99 'sources': [
100 'test/RTPchange.cc',
101 ],
102 },
103
104 {
105 'target_name': 'RTPtimeshift',
106 'type': 'executable',
107 'dependencies': [
108 'NetEq4TestTools',
109 '<(DEPTH)/testing/gtest.gyp:gtest',
110 ],
111 'sources': [
112 'test/RTPtimeshift.cc',
113 ],
114 },
115
116 {
117 'target_name': 'RTPcat',
118 'type': 'executable',
119 'dependencies': [
120 'NetEq4TestTools',
121 '<(DEPTH)/testing/gtest.gyp:gtest',
122 ],
123 'sources': [
124 'test/RTPcat.cc',
125 ],
126 },
127
128 {
129 'target_name': 'rtp_to_text',
130 'type': 'executable',
131 'dependencies': [
132 'NetEq4TestTools',
133 '<(webrtc_root)/system_wrappers/source/system_wrappers.gyp:system_wrappers',
134 ],
135 'sources': [
136 'test/rtp_to_text.cc',
137 ],
138 },
139
140 {
henrik.lundin@webrtc.org79d33552013-09-17 08:38:02 +0000141 'target_name': 'neteq4_speed_test',
142 'type': 'executable',
143 'dependencies': [
144 'NetEq4',
145 'neteq_unittest_tools',
146 'PCM16B',
147 '<(DEPTH)/third_party/gflags/gflags.gyp:gflags',
148 ],
149 'sources': [
150 'test/neteq_speed_test.cc',
151 ],
152 },
153
154 {
henrik.lundin@webrtc.org9a400812013-01-29 12:09:21 +0000155 'target_name': 'NetEq4TestTools',
156 # Collection of useful functions used in other tests.
157 'type': 'static_library',
158 'variables': {
159 # Expects RTP packets without payloads when enabled.
160 'neteq_dummy_rtp%': 0,
161 },
162 'dependencies': [
163 'G711',
164 'G722',
165 'PCM16B',
166 'iLBC',
167 'iSAC',
168 'CNG',
169 '<(DEPTH)/testing/gtest.gyp:gtest',
170 ],
171 'direct_dependent_settings': {
172 'include_dirs': [
173 'interface',
174 'test',
175 ],
176 },
177 'defines': [
178 ],
179 'include_dirs': [
180 'interface',
181 'test',
182 ],
183 'sources': [
184 'test/NETEQTEST_DummyRTPpacket.cc',
185 'test/NETEQTEST_DummyRTPpacket.h',
186 'test/NETEQTEST_RTPpacket.cc',
187 'test/NETEQTEST_RTPpacket.h',
188 ],
kjellander@webrtc.org1e7f77a2013-02-04 10:07:17 +0000189 # Disable warnings to enable Win64 build, issue 1323.
190 'msvs_disabled_warnings': [
191 4267, # size_t to int truncation.
192 ],
henrik.lundin@webrtc.org9a400812013-01-29 12:09:21 +0000193 },
194 ], # targets
195}