blob: b2b3d3d6f0d42c0bfed32d8e23ac484f9af565cd [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',
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',
59 ],
60 'sources': [
61 'test/RTPencode.cc',
62 ],
kjellander@webrtc.orgfa53d872013-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.orgd94659d2013-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 {
141 'target_name': 'NetEq4TestTools',
142 # Collection of useful functions used in other tests.
143 'type': 'static_library',
144 'variables': {
145 # Expects RTP packets without payloads when enabled.
146 'neteq_dummy_rtp%': 0,
147 },
148 'dependencies': [
149 'G711',
150 'G722',
151 'PCM16B',
152 'iLBC',
153 'iSAC',
154 'CNG',
155 '<(DEPTH)/testing/gtest.gyp:gtest',
156 ],
157 'direct_dependent_settings': {
158 'include_dirs': [
159 'interface',
160 'test',
161 ],
162 },
163 'defines': [
164 ],
165 'include_dirs': [
166 'interface',
167 'test',
168 ],
169 'sources': [
170 'test/NETEQTEST_DummyRTPpacket.cc',
171 'test/NETEQTEST_DummyRTPpacket.h',
172 'test/NETEQTEST_RTPpacket.cc',
173 'test/NETEQTEST_RTPpacket.h',
174 ],
kjellander@webrtc.orgfa53d872013-02-04 10:07:17 +0000175 # Disable warnings to enable Win64 build, issue 1323.
176 'msvs_disabled_warnings': [
177 4267, # size_t to int truncation.
178 ],
henrik.lundin@webrtc.orgd94659d2013-01-29 12:09:21 +0000179 },
180 ], # targets
181}