henrik.lundin@webrtc.org | d94659d | 2013-01-29 12:09:21 +0000 | [diff] [blame] | 1 | # 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.org | 9c55f0f | 2014-06-09 08:10:28 +0000 | [diff] [blame] | 15 | 'neteq', |
henrik.lundin@webrtc.org | 75642fc | 2014-02-05 08:49:13 +0000 | [diff] [blame] | 16 | 'neteq_unittest_tools', |
| 17 | 'PCM16B', |
henrik.lundin@webrtc.org | d94659d | 2013-01-29 12:09:21 +0000 | [diff] [blame] | 18 | '<(webrtc_root)/test/test.gyp:test_support_main', |
fischman@webrtc.org | dde7d4c | 2013-08-15 23:31:30 +0000 | [diff] [blame] | 19 | '<(DEPTH)/third_party/gflags/gflags.gyp:gflags', |
henrik.lundin@webrtc.org | d94659d | 2013-01-29 12:09:21 +0000 | [diff] [blame] | 20 | ], |
| 21 | 'sources': [ |
| 22 | 'tools/neteq_rtpplay.cc', |
| 23 | ], |
| 24 | 'defines': [ |
| 25 | ], |
| 26 | }, # neteq_rtpplay |
| 27 | |
| 28 | { |
| 29 | 'target_name': 'RTPencode', |
| 30 | 'type': 'executable', |
| 31 | 'dependencies': [ |
| 32 | # TODO(hlundin): Make RTPencode use ACM to encode files. |
henrik.lundin@webrtc.org | 9c55f0f | 2014-06-09 08:10:28 +0000 | [diff] [blame] | 33 | 'neteq_test_tools',# Test helpers |
henrik.lundin@webrtc.org | d94659d | 2013-01-29 12:09:21 +0000 | [diff] [blame] | 34 | 'G711', |
| 35 | 'G722', |
| 36 | 'PCM16B', |
| 37 | 'iLBC', |
| 38 | 'iSAC', |
| 39 | 'CNG', |
andrew@webrtc.org | 3423537 | 2013-04-30 23:43:26 +0000 | [diff] [blame] | 40 | '<(webrtc_root)/common_audio/common_audio.gyp:common_audio', |
henrik.lundin@webrtc.org | d94659d | 2013-01-29 12:09:21 +0000 | [diff] [blame] | 41 | ], |
| 42 | 'defines': [ |
| 43 | 'CODEC_ILBC', |
| 44 | 'CODEC_PCM16B', |
| 45 | 'CODEC_G711', |
| 46 | 'CODEC_G722', |
| 47 | 'CODEC_ISAC', |
| 48 | 'CODEC_PCM16B_WB', |
| 49 | 'CODEC_ISAC_SWB', |
| 50 | 'CODEC_PCM16B_32KHZ', |
turaj@webrtc.org | 8d1cdaa | 2014-04-11 18:47:55 +0000 | [diff] [blame] | 51 | 'CODEC_PCM16B_48KHZ', |
henrik.lundin@webrtc.org | d94659d | 2013-01-29 12:09:21 +0000 | [diff] [blame] | 52 | 'CODEC_CNGCODEC8', |
| 53 | 'CODEC_CNGCODEC16', |
| 54 | 'CODEC_CNGCODEC32', |
| 55 | 'CODEC_ATEVENT_DECODE', |
| 56 | 'CODEC_RED', |
| 57 | ], |
| 58 | 'include_dirs': [ |
| 59 | 'interface', |
| 60 | 'test', |
pbos@webrtc.org | 57eb858 | 2013-11-11 10:20:27 +0000 | [diff] [blame] | 61 | '<(webrtc_root)', |
henrik.lundin@webrtc.org | d94659d | 2013-01-29 12:09:21 +0000 | [diff] [blame] | 62 | ], |
| 63 | 'sources': [ |
| 64 | 'test/RTPencode.cc', |
| 65 | ], |
kjellander@webrtc.org | fa53d87 | 2013-02-04 10:07:17 +0000 | [diff] [blame] | 66 | # Disable warnings to enable Win64 build, issue 1323. |
| 67 | 'msvs_disabled_warnings': [ |
| 68 | 4267, # size_t to int truncation. |
| 69 | ], |
henrik.lundin@webrtc.org | d94659d | 2013-01-29 12:09:21 +0000 | [diff] [blame] | 70 | }, |
| 71 | |
| 72 | { |
| 73 | 'target_name': 'RTPjitter', |
| 74 | 'type': 'executable', |
| 75 | 'dependencies': [ |
| 76 | '<(DEPTH)/testing/gtest.gyp:gtest', |
| 77 | ], |
| 78 | 'sources': [ |
| 79 | 'test/RTPjitter.cc', |
| 80 | ], |
| 81 | }, |
| 82 | |
| 83 | { |
henrik.lundin@webrtc.org | 184b913 | 2014-04-02 20:56:17 +0000 | [diff] [blame] | 84 | 'target_name': 'rtp_analyze', |
henrik.lundin@webrtc.org | d94659d | 2013-01-29 12:09:21 +0000 | [diff] [blame] | 85 | 'type': 'executable', |
| 86 | 'dependencies': [ |
henrik.lundin@webrtc.org | 810acbc | 2014-04-14 18:42:23 +0000 | [diff] [blame] | 87 | 'neteq_unittest_tools', |
henrik.lundin@webrtc.org | d94659d | 2013-01-29 12:09:21 +0000 | [diff] [blame] | 88 | '<(DEPTH)/testing/gtest.gyp:gtest', |
henrik.lundin@webrtc.org | 184b913 | 2014-04-02 20:56:17 +0000 | [diff] [blame] | 89 | '<(DEPTH)/third_party/gflags/gflags.gyp:gflags', |
andresp@webrtc.org | 86e1e48 | 2015-01-14 09:30:52 +0000 | [diff] [blame] | 90 | '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers_default', |
henrik.lundin@webrtc.org | d94659d | 2013-01-29 12:09:21 +0000 | [diff] [blame] | 91 | ], |
| 92 | 'sources': [ |
henrik.lundin@webrtc.org | 184b913 | 2014-04-02 20:56:17 +0000 | [diff] [blame] | 93 | 'tools/rtp_analyze.cc', |
henrik.lundin@webrtc.org | d94659d | 2013-01-29 12:09:21 +0000 | [diff] [blame] | 94 | ], |
| 95 | }, |
| 96 | |
| 97 | { |
| 98 | 'target_name': 'RTPchange', |
| 99 | 'type': 'executable', |
| 100 | 'dependencies': [ |
henrik.lundin@webrtc.org | 9c55f0f | 2014-06-09 08:10:28 +0000 | [diff] [blame] | 101 | 'neteq_test_tools', |
henrik.lundin@webrtc.org | d94659d | 2013-01-29 12:09:21 +0000 | [diff] [blame] | 102 | '<(DEPTH)/testing/gtest.gyp:gtest', |
| 103 | ], |
| 104 | 'sources': [ |
| 105 | 'test/RTPchange.cc', |
| 106 | ], |
| 107 | }, |
| 108 | |
| 109 | { |
| 110 | 'target_name': 'RTPtimeshift', |
| 111 | 'type': 'executable', |
| 112 | 'dependencies': [ |
henrik.lundin@webrtc.org | 9c55f0f | 2014-06-09 08:10:28 +0000 | [diff] [blame] | 113 | 'neteq_test_tools', |
henrik.lundin@webrtc.org | d94659d | 2013-01-29 12:09:21 +0000 | [diff] [blame] | 114 | '<(DEPTH)/testing/gtest.gyp:gtest', |
| 115 | ], |
| 116 | 'sources': [ |
| 117 | 'test/RTPtimeshift.cc', |
| 118 | ], |
| 119 | }, |
| 120 | |
| 121 | { |
henrik.lundin@webrtc.org | 20446e7 | 2014-12-01 14:23:01 +0000 | [diff] [blame] | 122 | 'target_name': 'rtpcat', |
henrik.lundin@webrtc.org | d94659d | 2013-01-29 12:09:21 +0000 | [diff] [blame] | 123 | 'type': 'executable', |
| 124 | 'dependencies': [ |
henrik.lundin@webrtc.org | d94659d | 2013-01-29 12:09:21 +0000 | [diff] [blame] | 125 | '<(DEPTH)/testing/gtest.gyp:gtest', |
henrik.lundin@webrtc.org | 8331714 | 2014-12-01 11:25:04 +0000 | [diff] [blame] | 126 | '<(webrtc_root)/test/test.gyp:rtp_test_utils', |
henrik.lundin@webrtc.org | d94659d | 2013-01-29 12:09:21 +0000 | [diff] [blame] | 127 | ], |
| 128 | 'sources': [ |
henrik.lundin@webrtc.org | 20446e7 | 2014-12-01 14:23:01 +0000 | [diff] [blame] | 129 | 'tools/rtpcat.cc', |
henrik.lundin@webrtc.org | d94659d | 2013-01-29 12:09:21 +0000 | [diff] [blame] | 130 | ], |
| 131 | }, |
| 132 | |
| 133 | { |
| 134 | 'target_name': 'rtp_to_text', |
| 135 | 'type': 'executable', |
| 136 | 'dependencies': [ |
henrik.lundin@webrtc.org | 9c55f0f | 2014-06-09 08:10:28 +0000 | [diff] [blame] | 137 | 'neteq_test_tools', |
andresp@webrtc.org | 86e1e48 | 2015-01-14 09:30:52 +0000 | [diff] [blame] | 138 | '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers', |
henrik.lundin@webrtc.org | d94659d | 2013-01-29 12:09:21 +0000 | [diff] [blame] | 139 | ], |
| 140 | 'sources': [ |
| 141 | 'test/rtp_to_text.cc', |
| 142 | ], |
| 143 | }, |
| 144 | |
| 145 | { |
jan.skoglund@webrtc.org | c3d13d3 | 2014-03-10 22:50:19 +0000 | [diff] [blame] | 146 | 'target_name': 'audio_classifier_test', |
| 147 | 'type': 'executable', |
| 148 | 'dependencies': [ |
henrik.lundin@webrtc.org | 9c55f0f | 2014-06-09 08:10:28 +0000 | [diff] [blame] | 149 | 'neteq', |
jan.skoglund@webrtc.org | c3d13d3 | 2014-03-10 22:50:19 +0000 | [diff] [blame] | 150 | ], |
| 151 | 'sources': [ |
| 152 | 'test/audio_classifier_test.cc', |
| 153 | ], |
| 154 | }, |
| 155 | |
| 156 | { |
henrik.lundin@webrtc.org | d57b814 | 2014-04-24 13:19:04 +0000 | [diff] [blame] | 157 | 'target_name': 'neteq_test_support', |
| 158 | 'type': 'static_library', |
| 159 | 'dependencies': [ |
henrik.lundin@webrtc.org | 9c55f0f | 2014-06-09 08:10:28 +0000 | [diff] [blame] | 160 | 'neteq', |
henrik.lundin@webrtc.org | d57b814 | 2014-04-24 13:19:04 +0000 | [diff] [blame] | 161 | 'PCM16B', |
| 162 | 'neteq_unittest_tools', |
| 163 | '<(DEPTH)/testing/gtest.gyp:gtest', |
| 164 | '<(DEPTH)/third_party/gflags/gflags.gyp:gflags', |
| 165 | ], |
| 166 | 'sources': [ |
| 167 | 'tools/neteq_performance_test.cc', |
| 168 | 'tools/neteq_performance_test.h', |
| 169 | 'tools/neteq_quality_test.cc', |
| 170 | 'tools/neteq_quality_test.h', |
| 171 | ], |
| 172 | }, # neteq_test_support |
| 173 | |
| 174 | { |
henrik.lundin@webrtc.org | 9c55f0f | 2014-06-09 08:10:28 +0000 | [diff] [blame] | 175 | 'target_name': 'neteq_speed_test', |
henrik.lundin@webrtc.org | d1fc5d4 | 2013-09-17 08:38:02 +0000 | [diff] [blame] | 176 | 'type': 'executable', |
| 177 | 'dependencies': [ |
henrik.lundin@webrtc.org | 9c55f0f | 2014-06-09 08:10:28 +0000 | [diff] [blame] | 178 | 'neteq', |
henrik.lundin@webrtc.org | d57b814 | 2014-04-24 13:19:04 +0000 | [diff] [blame] | 179 | 'neteq_test_support', |
henrik.lundin@webrtc.org | d1fc5d4 | 2013-09-17 08:38:02 +0000 | [diff] [blame] | 180 | '<(DEPTH)/third_party/gflags/gflags.gyp:gflags', |
henrik.lundin@webrtc.org | a366e81 | 2014-01-10 08:24:04 +0000 | [diff] [blame] | 181 | '<(webrtc_root)/test/test.gyp:test_support_main', |
henrik.lundin@webrtc.org | d1fc5d4 | 2013-09-17 08:38:02 +0000 | [diff] [blame] | 182 | ], |
| 183 | 'sources': [ |
| 184 | 'test/neteq_speed_test.cc', |
| 185 | ], |
| 186 | }, |
| 187 | |
| 188 | { |
henrik.lundin@webrtc.org | 9c55f0f | 2014-06-09 08:10:28 +0000 | [diff] [blame] | 189 | 'target_name': 'neteq_opus_fec_quality_test', |
minyue@webrtc.org | b28bfa7 | 2014-03-21 12:07:40 +0000 | [diff] [blame] | 190 | 'type': 'executable', |
| 191 | 'dependencies': [ |
henrik.lundin@webrtc.org | 9c55f0f | 2014-06-09 08:10:28 +0000 | [diff] [blame] | 192 | 'neteq', |
henrik.lundin@webrtc.org | d57b814 | 2014-04-24 13:19:04 +0000 | [diff] [blame] | 193 | 'neteq_test_support', |
minyue@webrtc.org | b28bfa7 | 2014-03-21 12:07:40 +0000 | [diff] [blame] | 194 | 'webrtc_opus', |
| 195 | '<(DEPTH)/testing/gtest.gyp:gtest', |
| 196 | '<(DEPTH)/third_party/gflags/gflags.gyp:gflags', |
| 197 | '<(webrtc_root)/test/test.gyp:test_support_main', |
| 198 | ], |
| 199 | 'sources': [ |
| 200 | 'test/neteq_opus_fec_quality_test.cc', |
| 201 | ], |
| 202 | }, |
| 203 | |
| 204 | { |
minyue@webrtc.org | 6568e97 | 2014-06-25 12:17:41 +0000 | [diff] [blame] | 205 | 'target_name': 'neteq_isac_quality_test', |
| 206 | 'type': 'executable', |
| 207 | 'dependencies': [ |
| 208 | 'neteq', |
| 209 | 'neteq_test_support', |
| 210 | 'iSACFix', |
| 211 | '<(DEPTH)/testing/gtest.gyp:gtest', |
| 212 | '<(DEPTH)/third_party/gflags/gflags.gyp:gflags', |
| 213 | '<(webrtc_root)/test/test.gyp:test_support_main', |
| 214 | ], |
| 215 | 'sources': [ |
| 216 | 'test/neteq_isac_quality_test.cc', |
| 217 | ], |
| 218 | }, |
| 219 | |
| 220 | { |
henrik.lundin@webrtc.org | 9c55f0f | 2014-06-09 08:10:28 +0000 | [diff] [blame] | 221 | 'target_name': 'neteq_test_tools', |
henrik.lundin@webrtc.org | d94659d | 2013-01-29 12:09:21 +0000 | [diff] [blame] | 222 | # Collection of useful functions used in other tests. |
| 223 | 'type': 'static_library', |
| 224 | 'variables': { |
| 225 | # Expects RTP packets without payloads when enabled. |
| 226 | 'neteq_dummy_rtp%': 0, |
| 227 | }, |
| 228 | 'dependencies': [ |
| 229 | 'G711', |
| 230 | 'G722', |
| 231 | 'PCM16B', |
| 232 | 'iLBC', |
| 233 | 'iSAC', |
| 234 | 'CNG', |
| 235 | '<(DEPTH)/testing/gtest.gyp:gtest', |
| 236 | ], |
| 237 | 'direct_dependent_settings': { |
| 238 | 'include_dirs': [ |
| 239 | 'interface', |
| 240 | 'test', |
pbos@webrtc.org | 57eb858 | 2013-11-11 10:20:27 +0000 | [diff] [blame] | 241 | '<(webrtc_root)', |
henrik.lundin@webrtc.org | d94659d | 2013-01-29 12:09:21 +0000 | [diff] [blame] | 242 | ], |
| 243 | }, |
| 244 | 'defines': [ |
| 245 | ], |
| 246 | 'include_dirs': [ |
| 247 | 'interface', |
| 248 | 'test', |
pbos@webrtc.org | 57eb858 | 2013-11-11 10:20:27 +0000 | [diff] [blame] | 249 | '<(webrtc_root)', |
henrik.lundin@webrtc.org | d94659d | 2013-01-29 12:09:21 +0000 | [diff] [blame] | 250 | ], |
| 251 | 'sources': [ |
| 252 | 'test/NETEQTEST_DummyRTPpacket.cc', |
| 253 | 'test/NETEQTEST_DummyRTPpacket.h', |
| 254 | 'test/NETEQTEST_RTPpacket.cc', |
| 255 | 'test/NETEQTEST_RTPpacket.h', |
| 256 | ], |
kjellander@webrtc.org | fa53d87 | 2013-02-04 10:07:17 +0000 | [diff] [blame] | 257 | # Disable warnings to enable Win64 build, issue 1323. |
| 258 | 'msvs_disabled_warnings': [ |
| 259 | 4267, # size_t to int truncation. |
| 260 | ], |
henrik.lundin@webrtc.org | d94659d | 2013-01-29 12:09:21 +0000 | [diff] [blame] | 261 | }, |
| 262 | ], # targets |
| 263 | } |