| OLD | NEW |
| (Empty) |
| 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 'conditions': [ | |
| 11 ['enable_protobuf==1', { | |
| 12 'targets': [ | |
| 13 { | |
| 14 'target_name': 'neteq_rtpplay', | |
| 15 'type': 'executable', | |
| 16 'dependencies': [ | |
| 17 '<(DEPTH)/third_party/gflags/gflags.gyp:gflags', | |
| 18 '<(webrtc_root)/test/test.gyp:test_support', | |
| 19 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:metrics_default'
, | |
| 20 'neteq', | |
| 21 'neteq_unittest_tools', | |
| 22 ], | |
| 23 'sources': [ | |
| 24 'tools/neteq_rtpplay.cc', | |
| 25 ], | |
| 26 'defines': [ | |
| 27 ], | |
| 28 }, # neteq_rtpplay | |
| 29 ], | |
| 30 }], | |
| 31 ], | |
| 32 'targets': [ | |
| 33 { | |
| 34 'target_name': 'RTPencode', | |
| 35 'type': 'executable', | |
| 36 'dependencies': [ | |
| 37 # TODO(hlundin): Make RTPencode use ACM to encode files. | |
| 38 '<(webrtc_root)/common_audio/common_audio.gyp:common_audio', | |
| 39 'cng', | |
| 40 'g711', | |
| 41 'g722', | |
| 42 'ilbc', | |
| 43 'isac', | |
| 44 'neteq_test_tools', # Test helpers | |
| 45 'pcm16b', | |
| 46 'webrtc_opus', | |
| 47 ], | |
| 48 'defines': [ | |
| 49 'CODEC_ILBC', | |
| 50 'CODEC_PCM16B', | |
| 51 'CODEC_G711', | |
| 52 'CODEC_G722', | |
| 53 'CODEC_ISAC', | |
| 54 'CODEC_PCM16B_WB', | |
| 55 'CODEC_ISAC_SWB', | |
| 56 'CODEC_PCM16B_32KHZ', | |
| 57 'CODEC_PCM16B_48KHZ', | |
| 58 'CODEC_CNGCODEC8', | |
| 59 'CODEC_CNGCODEC16', | |
| 60 'CODEC_CNGCODEC32', | |
| 61 'CODEC_ATEVENT_DECODE', | |
| 62 'CODEC_RED', | |
| 63 'CODEC_OPUS', | |
| 64 ], | |
| 65 'include_dirs': [ | |
| 66 'include', | |
| 67 'test', | |
| 68 '<(webrtc_root)', | |
| 69 ], | |
| 70 'sources': [ | |
| 71 'test/RTPencode.cc', | |
| 72 ], | |
| 73 # Disable warnings to enable Win64 build, issue 1323. | |
| 74 'msvs_disabled_warnings': [ | |
| 75 4267, # size_t to int truncation. | |
| 76 ], | |
| 77 }, | |
| 78 | |
| 79 { | |
| 80 'target_name': 'RTPjitter', | |
| 81 'type': 'executable', | |
| 82 'dependencies': [ | |
| 83 '<(webrtc_root)/common.gyp:webrtc_common', | |
| 84 '<(DEPTH)/testing/gtest.gyp:gtest', | |
| 85 ], | |
| 86 'sources': [ | |
| 87 'test/RTPjitter.cc', | |
| 88 ], | |
| 89 }, | |
| 90 | |
| 91 { | |
| 92 'target_name': 'rtp_analyze', | |
| 93 'type': 'executable', | |
| 94 'dependencies': [ | |
| 95 '<(DEPTH)/testing/gtest.gyp:gtest', | |
| 96 '<(DEPTH)/third_party/gflags/gflags.gyp:gflags', | |
| 97 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers_defa
ult', | |
| 98 'neteq_unittest_tools', | |
| 99 ], | |
| 100 'sources': [ | |
| 101 'tools/rtp_analyze.cc', | |
| 102 ], | |
| 103 }, | |
| 104 | |
| 105 { | |
| 106 'target_name': 'RTPchange', | |
| 107 'type': 'executable', | |
| 108 'dependencies': [ | |
| 109 '<(DEPTH)/testing/gtest.gyp:gtest', | |
| 110 'neteq_test_tools', | |
| 111 ], | |
| 112 'sources': [ | |
| 113 'test/RTPchange.cc', | |
| 114 ], | |
| 115 }, | |
| 116 | |
| 117 { | |
| 118 'target_name': 'RTPtimeshift', | |
| 119 'type': 'executable', | |
| 120 'dependencies': [ | |
| 121 '<(DEPTH)/testing/gtest.gyp:gtest', | |
| 122 'neteq_test_tools', | |
| 123 ], | |
| 124 'sources': [ | |
| 125 'test/RTPtimeshift.cc', | |
| 126 ], | |
| 127 }, | |
| 128 | |
| 129 { | |
| 130 'target_name': 'rtpcat', | |
| 131 'type': 'executable', | |
| 132 'dependencies': [ | |
| 133 '<(DEPTH)/testing/gtest.gyp:gtest', | |
| 134 '<(webrtc_root)/test/test.gyp:rtp_test_utils', | |
| 135 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers_defa
ult', | |
| 136 ], | |
| 137 'sources': [ | |
| 138 'tools/rtpcat.cc', | |
| 139 ], | |
| 140 }, | |
| 141 | |
| 142 { | |
| 143 'target_name': 'audio_classifier_test', | |
| 144 'type': 'executable', | |
| 145 'dependencies': [ | |
| 146 'neteq', | |
| 147 'webrtc_opus', | |
| 148 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers_defa
ult', | |
| 149 ], | |
| 150 'sources': [ | |
| 151 'test/audio_classifier_test.cc', | |
| 152 ], | |
| 153 }, | |
| 154 | |
| 155 { | |
| 156 'target_name': 'neteq_test_support', | |
| 157 'type': 'static_library', | |
| 158 'dependencies': [ | |
| 159 '<(DEPTH)/testing/gtest.gyp:gtest', | |
| 160 '<(DEPTH)/third_party/gflags/gflags.gyp:gflags', | |
| 161 'neteq', | |
| 162 'neteq_unittest_tools', | |
| 163 'pcm16b', | |
| 164 ], | |
| 165 'sources': [ | |
| 166 'tools/neteq_external_decoder_test.cc', | |
| 167 'tools/neteq_external_decoder_test.h', | |
| 168 'tools/neteq_performance_test.cc', | |
| 169 'tools/neteq_performance_test.h', | |
| 170 ], | |
| 171 }, # neteq_test_support | |
| 172 | |
| 173 { | |
| 174 'target_name': 'neteq_quality_test_support', | |
| 175 'type': 'static_library', | |
| 176 'dependencies': [ | |
| 177 '<(DEPTH)/testing/gtest.gyp:gtest', | |
| 178 '<(DEPTH)/third_party/gflags/gflags.gyp:gflags', | |
| 179 'neteq', | |
| 180 'neteq_unittest_tools', | |
| 181 ], | |
| 182 'sources': [ | |
| 183 'tools/neteq_quality_test.cc', | |
| 184 'tools/neteq_quality_test.h', | |
| 185 ], | |
| 186 }, # neteq_test_support | |
| 187 | |
| 188 { | |
| 189 'target_name': 'neteq_speed_test', | |
| 190 'type': 'executable', | |
| 191 'dependencies': [ | |
| 192 '<(DEPTH)/third_party/gflags/gflags.gyp:gflags', | |
| 193 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers_defa
ult', | |
| 194 '<(webrtc_root)/test/test.gyp:test_support', | |
| 195 'neteq', | |
| 196 'neteq_test_support', | |
| 197 ], | |
| 198 'sources': [ | |
| 199 'test/neteq_speed_test.cc', | |
| 200 ], | |
| 201 }, | |
| 202 | |
| 203 { | |
| 204 'target_name': 'neteq_opus_quality_test', | |
| 205 'type': 'executable', | |
| 206 'dependencies': [ | |
| 207 '<(DEPTH)/testing/gtest.gyp:gtest', | |
| 208 '<(DEPTH)/third_party/gflags/gflags.gyp:gflags', | |
| 209 '<(webrtc_root)/test/test.gyp:test_support_main', | |
| 210 'neteq', | |
| 211 'neteq_quality_test_support', | |
| 212 'webrtc_opus', | |
| 213 ], | |
| 214 'sources': [ | |
| 215 'test/neteq_opus_quality_test.cc', | |
| 216 ], | |
| 217 }, | |
| 218 | |
| 219 { | |
| 220 'target_name': 'neteq_isac_quality_test', | |
| 221 'type': 'executable', | |
| 222 'dependencies': [ | |
| 223 '<(DEPTH)/testing/gtest.gyp:gtest', | |
| 224 '<(DEPTH)/third_party/gflags/gflags.gyp:gflags', | |
| 225 '<(webrtc_root)/test/test.gyp:test_support_main', | |
| 226 'isac_fix', | |
| 227 'neteq', | |
| 228 'neteq_quality_test_support', | |
| 229 ], | |
| 230 'sources': [ | |
| 231 'test/neteq_isac_quality_test.cc', | |
| 232 ], | |
| 233 }, | |
| 234 | |
| 235 { | |
| 236 'target_name': 'neteq_pcmu_quality_test', | |
| 237 'type': 'executable', | |
| 238 'dependencies': [ | |
| 239 '<(DEPTH)/testing/gtest.gyp:gtest', | |
| 240 '<(DEPTH)/third_party/gflags/gflags.gyp:gflags', | |
| 241 '<(webrtc_root)/test/test.gyp:test_support_main', | |
| 242 'g711', | |
| 243 'neteq', | |
| 244 'neteq_quality_test_support', | |
| 245 ], | |
| 246 'sources': [ | |
| 247 'test/neteq_pcmu_quality_test.cc', | |
| 248 ], | |
| 249 }, | |
| 250 | |
| 251 { | |
| 252 'target_name': 'neteq_ilbc_quality_test', | |
| 253 'type': 'executable', | |
| 254 'dependencies': [ | |
| 255 '<(DEPTH)/testing/gtest.gyp:gtest', | |
| 256 '<(DEPTH)/third_party/gflags/gflags.gyp:gflags', | |
| 257 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers_defa
ult', | |
| 258 '<(webrtc_root)/test/test.gyp:test_support_main', | |
| 259 'neteq', | |
| 260 'neteq_quality_test_support', | |
| 261 'ilbc', | |
| 262 ], | |
| 263 'sources': [ | |
| 264 'test/neteq_ilbc_quality_test.cc', | |
| 265 ], | |
| 266 }, | |
| 267 | |
| 268 { | |
| 269 'target_name': 'neteq_test_tools', | |
| 270 # Collection of useful functions used in other tests. | |
| 271 'type': 'static_library', | |
| 272 'variables': { | |
| 273 # Expects RTP packets without payloads when enabled. | |
| 274 'neteq_dummy_rtp%': 0, | |
| 275 }, | |
| 276 'dependencies': [ | |
| 277 '<(DEPTH)/testing/gtest.gyp:gtest', | |
| 278 '<(webrtc_root)/common.gyp:webrtc_common', | |
| 279 'cng', | |
| 280 'g711', | |
| 281 'g722', | |
| 282 'ilbc', | |
| 283 'isac', | |
| 284 'pcm16b', | |
| 285 ], | |
| 286 'direct_dependent_settings': { | |
| 287 'include_dirs': [ | |
| 288 'include', | |
| 289 'test', | |
| 290 '<(webrtc_root)', | |
| 291 ], | |
| 292 }, | |
| 293 'defines': [ | |
| 294 ], | |
| 295 'include_dirs': [ | |
| 296 'include', | |
| 297 'test', | |
| 298 '<(webrtc_root)', | |
| 299 ], | |
| 300 'sources': [ | |
| 301 'test/NETEQTEST_DummyRTPpacket.cc', | |
| 302 'test/NETEQTEST_DummyRTPpacket.h', | |
| 303 'test/NETEQTEST_RTPpacket.cc', | |
| 304 'test/NETEQTEST_RTPpacket.h', | |
| 305 ], | |
| 306 # Disable warnings to enable Win64 build, issue 1323. | |
| 307 'msvs_disabled_warnings': [ | |
| 308 4267, # size_t to int truncation. | |
| 309 ], | |
| 310 }, | |
| 311 ], # targets | |
| 312 } | |
| OLD | NEW |