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