blob: aa85f7410e89e5cb935a6d7ea4b4d00f577dfd35 [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',
18 '<(DEPTH)/third_party/google-gflags/google-gflags.gyp:google-gflags',
19 ],
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',
39 '<(webrtc_root)/common_audio/common_audio.gyp:vad',
40 ],
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 ],
63 },
64
65 {
66 'target_name': 'RTPjitter',
67 'type': 'executable',
68 'dependencies': [
69 '<(DEPTH)/testing/gtest.gyp:gtest',
70 ],
71 'sources': [
72 'test/RTPjitter.cc',
73 ],
74 },
75
76 {
77 'target_name': 'RTPanalyze',
78 'type': 'executable',
79 'dependencies': [
80 'NetEq4TestTools',
81 '<(DEPTH)/testing/gtest.gyp:gtest',
82 ],
83 'sources': [
84 'test/RTPanalyze.cc',
85 ],
86 },
87
88 {
89 'target_name': 'RTPchange',
90 'type': 'executable',
91 'dependencies': [
92 'NetEq4TestTools',
93 '<(DEPTH)/testing/gtest.gyp:gtest',
94 ],
95 'sources': [
96 'test/RTPchange.cc',
97 ],
98 },
99
100 {
101 'target_name': 'RTPtimeshift',
102 'type': 'executable',
103 'dependencies': [
104 'NetEq4TestTools',
105 '<(DEPTH)/testing/gtest.gyp:gtest',
106 ],
107 'sources': [
108 'test/RTPtimeshift.cc',
109 ],
110 },
111
112 {
113 'target_name': 'RTPcat',
114 'type': 'executable',
115 'dependencies': [
116 'NetEq4TestTools',
117 '<(DEPTH)/testing/gtest.gyp:gtest',
118 ],
119 'sources': [
120 'test/RTPcat.cc',
121 ],
122 },
123
124 {
125 'target_name': 'rtp_to_text',
126 'type': 'executable',
127 'dependencies': [
128 'NetEq4TestTools',
129 '<(webrtc_root)/system_wrappers/source/system_wrappers.gyp:system_wrappers',
130 ],
131 'sources': [
132 'test/rtp_to_text.cc',
133 ],
134 },
135
136 {
137 'target_name': 'NetEq4TestTools',
138 # Collection of useful functions used in other tests.
139 'type': 'static_library',
140 'variables': {
141 # Expects RTP packets without payloads when enabled.
142 'neteq_dummy_rtp%': 0,
143 },
144 'dependencies': [
145 'G711',
146 'G722',
147 'PCM16B',
148 'iLBC',
149 'iSAC',
150 'CNG',
151 '<(DEPTH)/testing/gtest.gyp:gtest',
152 ],
153 'direct_dependent_settings': {
154 'include_dirs': [
155 'interface',
156 'test',
157 ],
158 },
159 'defines': [
160 ],
161 'include_dirs': [
162 'interface',
163 'test',
164 ],
165 'sources': [
166 'test/NETEQTEST_DummyRTPpacket.cc',
167 'test/NETEQTEST_DummyRTPpacket.h',
168 'test/NETEQTEST_RTPpacket.cc',
169 'test/NETEQTEST_RTPpacket.h',
170 ],
171 },
172 ], # targets
173}
174
175# Local Variables:
176# tab-width:2
177# indent-tabs-mode:nil
178# End:
179# vim: set expandtab tabstop=2 shiftwidth=2: