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