| OLD | NEW |
| 1 # Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. |
| 2 # | 2 # |
| 3 # Use of this source code is governed by a BSD-style license | 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 | 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 | 5 # tree. An additional intellectual property rights grant can be found |
| 6 # in the file PATENTS. All contributing project authors may | 6 # in the file PATENTS. All contributing project authors may |
| 7 # be found in the AUTHORS file in the root of the source tree. | 7 # be found in the AUTHORS file in the root of the source tree. |
| 8 | 8 |
| 9 { | 9 { |
| 10 'variables': { | 10 'variables': { |
| (...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 127 'sync_buffer.h', | 127 'sync_buffer.h', |
| 128 'tick_timer.cc', | 128 'tick_timer.cc', |
| 129 'tick_timer.h', | 129 'tick_timer.h', |
| 130 'timestamp_scaler.cc', | 130 'timestamp_scaler.cc', |
| 131 'timestamp_scaler.h', | 131 'timestamp_scaler.h', |
| 132 'time_stretch.cc', | 132 'time_stretch.cc', |
| 133 'time_stretch.h', | 133 'time_stretch.h', |
| 134 ], | 134 ], |
| 135 }, | 135 }, |
| 136 ], # targets | 136 ], # targets |
| 137 'conditions': [ | |
| 138 ['include_tests==1', { | |
| 139 'includes': ['neteq_tests.gypi',], | |
| 140 'targets': [ | |
| 141 { | |
| 142 'target_name': 'audio_decoder_unittests', | |
| 143 'type': '<(gtest_target_type)', | |
| 144 'dependencies': [ | |
| 145 '<@(codecs)', | |
| 146 'g722', | |
| 147 'ilbc', | |
| 148 'isac', | |
| 149 'isac_fix', | |
| 150 'audio_decoder_interface', | |
| 151 'neteq_unittest_tools', | |
| 152 '<(DEPTH)/testing/gtest.gyp:gtest', | |
| 153 '<(webrtc_root)/common_audio/common_audio.gyp:common_audio', | |
| 154 '<(webrtc_root)/test/test.gyp:test_support_main', | |
| 155 ], | |
| 156 'defines': [ | |
| 157 '<@(neteq_defines)', | |
| 158 ], | |
| 159 'sources': [ | |
| 160 'audio_decoder_unittest.cc', | |
| 161 ], | |
| 162 'conditions': [ | |
| 163 ['OS=="android"', { | |
| 164 'dependencies': [ | |
| 165 '<(DEPTH)/testing/android/native_test.gyp:native_test_native_cod
e', | |
| 166 ], | |
| 167 }], | |
| 168 ['OS=="ios"', { | |
| 169 'mac_bundle_resources': [ | |
| 170 '<(DEPTH)/resources/audio_coding/testfile32kHz.pcm', | |
| 171 ], | |
| 172 }], | |
| 173 ], | |
| 174 }, # audio_decoder_unittests | |
| 175 | |
| 176 { | |
| 177 'target_name': 'rtc_event_log_source', | |
| 178 'type': 'static_library', | |
| 179 'dependencies': [ | |
| 180 '<(webrtc_root)/webrtc.gyp:rtc_event_log_parser', | |
| 181 '<(webrtc_root)/webrtc.gyp:rtc_event_log_proto', | |
| 182 ], | |
| 183 'export_dependent_settings': [ | |
| 184 '<(webrtc_root)/webrtc.gyp:rtc_event_log_parser', | |
| 185 ], | |
| 186 'sources': [ | |
| 187 'tools/rtc_event_log_source.h', | |
| 188 'tools/rtc_event_log_source.cc', | |
| 189 ], | |
| 190 }, | |
| 191 | |
| 192 { | |
| 193 'target_name': 'neteq_unittest_proto', | |
| 194 'type': 'static_library', | |
| 195 'sources': [ | |
| 196 'neteq_unittest.proto', | |
| 197 ], | |
| 198 'variables': { | |
| 199 'proto_in_dir': '.', | |
| 200 # Workaround to protect against gyp's pathname relativization when | |
| 201 # this file is included by modules.gyp. | |
| 202 'proto_out_protected': 'webrtc/audio_coding/neteq', | |
| 203 'proto_out_dir': '<(proto_out_protected)', | |
| 204 }, | |
| 205 'includes': ['../../../build/protoc.gypi',], | |
| 206 }, | |
| 207 | |
| 208 { | |
| 209 'target_name': 'neteq_unittest_tools', | |
| 210 'type': 'static_library', | |
| 211 'dependencies': [ | |
| 212 'neteq', | |
| 213 'rtp_rtcp', | |
| 214 'rtc_event_log_source', | |
| 215 '<(webrtc_root)/common_audio/common_audio.gyp:common_audio', | |
| 216 '<(webrtc_root)/test/test.gyp:rtp_test_utils', | |
| 217 ], | |
| 218 'direct_dependent_settings': { | |
| 219 'include_dirs': [ | |
| 220 'tools', | |
| 221 ], | |
| 222 }, | |
| 223 'include_dirs': [ | |
| 224 'tools', | |
| 225 ], | |
| 226 'sources': [ | |
| 227 'tools/audio_checksum.h', | |
| 228 'tools/audio_loop.cc', | |
| 229 'tools/audio_loop.h', | |
| 230 'tools/audio_sink.h', | |
| 231 'tools/audio_sink.cc', | |
| 232 'tools/constant_pcm_packet_source.cc', | |
| 233 'tools/constant_pcm_packet_source.h', | |
| 234 'tools/fake_decode_from_file.cc', | |
| 235 'tools/fake_decode_from_file.h', | |
| 236 'tools/input_audio_file.cc', | |
| 237 'tools/input_audio_file.h', | |
| 238 'tools/neteq_input.h', | |
| 239 'tools/neteq_packet_source_input.cc', | |
| 240 'tools/neteq_packet_source_input.h', | |
| 241 'tools/neteq_replacement_input.cc', | |
| 242 'tools/neteq_replacement_input.h', | |
| 243 'tools/neteq_test.cc', | |
| 244 'tools/neteq_test.h', | |
| 245 'tools/output_audio_file.h', | |
| 246 'tools/output_wav_file.h', | |
| 247 'tools/packet.cc', | |
| 248 'tools/packet.h', | |
| 249 'tools/packet_source.cc', | |
| 250 'tools/packet_source.h', | |
| 251 'tools/resample_input_audio_file.cc', | |
| 252 'tools/resample_input_audio_file.h', | |
| 253 'tools/rtp_file_source.cc', | |
| 254 'tools/rtp_file_source.h', | |
| 255 'tools/rtp_generator.cc', | |
| 256 'tools/rtp_generator.h', | |
| 257 ], | |
| 258 }, # neteq_unittest_tools | |
| 259 ], # targets | |
| 260 }], # include_tests | |
| 261 ], # conditions | |
| 262 } | 137 } |
| OLD | NEW |