| OLD | NEW |
| 1 # Copyright (c) 2011 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2011 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 'includes': [ | 10 'includes': [ |
| (...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 158 '-Wno-reorder', | 158 '-Wno-reorder', |
| 159 '-Wno-tautological-constant-out-of-range-compare', | 159 '-Wno-tautological-constant-out-of-range-compare', |
| 160 '-Wno-unused-private-field', | 160 '-Wno-unused-private-field', |
| 161 ], | 161 ], |
| 162 }, | 162 }, |
| 163 }, | 163 }, |
| 164 }], | 164 }], |
| 165 ], # conditions. | 165 ], # conditions. |
| 166 }, | 166 }, |
| 167 { | 167 { |
| 168 'target_name': 'voice_engine_unittests', | |
| 169 'type': '<(gtest_target_type)', | |
| 170 'dependencies': [ | |
| 171 'channel_transport', | |
| 172 'voice_engine', | |
| 173 '<(DEPTH)/testing/gmock.gyp:gmock', | |
| 174 '<(DEPTH)/testing/gtest.gyp:gtest', | |
| 175 # The rest are to satisfy the unittests' include chain. | |
| 176 # This would be unnecessary if we used qualified includes. | |
| 177 '<(webrtc_root)/common_audio/common_audio.gyp:common_audio', | |
| 178 '<(webrtc_root)/modules/modules.gyp:audio_device', | |
| 179 '<(webrtc_root)/modules/modules.gyp:audio_processing', | |
| 180 '<(webrtc_root)/modules/modules.gyp:audio_coding_module', | |
| 181 '<(webrtc_root)/modules/modules.gyp:audio_conference_mixer', | |
| 182 '<(webrtc_root)/modules/modules.gyp:media_file', | |
| 183 '<(webrtc_root)/modules/modules.gyp:rtp_rtcp', | |
| 184 '<(webrtc_root)/modules/modules.gyp:webrtc_utility', | |
| 185 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers'
, | |
| 186 '<(webrtc_root)/test/test.gyp:test_support_main', | |
| 187 ], | |
| 188 'sources': [ | |
| 189 'channel_unittest.cc', | |
| 190 'network_predictor_unittest.cc', | |
| 191 'test/channel_transport/udp_transport_unittest.cc', | |
| 192 'test/channel_transport/udp_socket_manager_unittest.cc', | |
| 193 'test/channel_transport/udp_socket_wrapper_unittest.cc', | |
| 194 'transmit_mixer_unittest.cc', | |
| 195 'utility_unittest.cc', | |
| 196 'voe_audio_processing_unittest.cc', | |
| 197 'voe_base_unittest.cc', | |
| 198 'voe_codec_unittest.cc', | |
| 199 'voe_network_unittest.cc', | |
| 200 'voice_engine_fixture.cc', | |
| 201 'voice_engine_fixture.h', | |
| 202 ], | |
| 203 'conditions': [ | |
| 204 ['OS=="android"', { | |
| 205 'dependencies': [ | |
| 206 '<(DEPTH)/testing/android/native_test.gyp:native_test_native_cod
e', | |
| 207 ], | |
| 208 }], | |
| 209 ], | |
| 210 }, | |
| 211 { | |
| 212 # command line test that should work on linux/mac/win | 168 # command line test that should work on linux/mac/win |
| 213 'target_name': 'voe_cmd_test', | 169 'target_name': 'voe_cmd_test', |
| 214 'type': 'executable', | 170 'type': 'executable', |
| 215 'dependencies': [ | 171 'dependencies': [ |
| 216 'channel_transport', | 172 'channel_transport', |
| 217 'voice_engine', | 173 'voice_engine', |
| 218 '<(DEPTH)/testing/gtest.gyp:gtest', | 174 '<(DEPTH)/testing/gtest.gyp:gtest', |
| 219 '<(DEPTH)/third_party/gflags/gflags.gyp:gflags', | 175 '<(DEPTH)/third_party/gflags/gflags.gyp:gflags', |
| 220 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers'
, | 176 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers'
, |
| 221 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers_
default', | 177 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers_
default', |
| 222 '<(webrtc_root)/test/test.gyp:test_support', | 178 '<(webrtc_root)/test/test.gyp:test_support', |
| 223 '<(webrtc_root)/webrtc.gyp:rtc_event_log', | 179 '<(webrtc_root)/webrtc.gyp:rtc_event_log', |
| 224 ], | 180 ], |
| 225 'sources': [ | 181 'sources': [ |
| 226 'test/cmd_test/voe_cmd_test.cc', | 182 'test/cmd_test/voe_cmd_test.cc', |
| 227 ], | 183 ], |
| 228 }, | 184 }, |
| 229 ], # targets | 185 ], # targets |
| 230 'conditions': [ | |
| 231 ['OS!="ios"', { | |
| 232 'targets': [ | |
| 233 { | |
| 234 'target_name': 'voe_auto_test', | |
| 235 'type': 'executable', | |
| 236 'dependencies': [ | |
| 237 'channel_transport', | |
| 238 'voice_engine', | |
| 239 '<(DEPTH)/testing/gmock.gyp:gmock', | |
| 240 '<(DEPTH)/testing/gtest.gyp:gtest', | |
| 241 '<(DEPTH)/third_party/gflags/gflags.gyp:gflags', | |
| 242 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrapp
ers', | |
| 243 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrapp
ers_default', | |
| 244 '<(webrtc_root)/test/test.gyp:test_common', | |
| 245 '<(webrtc_root)/test/test.gyp:test_support', | |
| 246 '<(webrtc_root)/webrtc.gyp:rtc_event_log', | |
| 247 ], | |
| 248 'sources': [ | |
| 249 'test/auto_test/automated_mode.cc', | |
| 250 'test/auto_test/extended/agc_config_test.cc', | |
| 251 'test/auto_test/extended/ec_metrics_test.cc', | |
| 252 'test/auto_test/fakes/conference_transport.cc', | |
| 253 'test/auto_test/fakes/conference_transport.h', | |
| 254 'test/auto_test/fakes/loudest_filter.cc', | |
| 255 'test/auto_test/fakes/loudest_filter.h', | |
| 256 'test/auto_test/fixtures/after_initialization_fixture.cc', | |
| 257 'test/auto_test/fixtures/after_initialization_fixture.h', | |
| 258 'test/auto_test/fixtures/after_streaming_fixture.cc', | |
| 259 'test/auto_test/fixtures/after_streaming_fixture.h', | |
| 260 'test/auto_test/fixtures/before_initialization_fixture.cc', | |
| 261 'test/auto_test/fixtures/before_initialization_fixture.h', | |
| 262 'test/auto_test/fixtures/before_streaming_fixture.cc', | |
| 263 'test/auto_test/fixtures/before_streaming_fixture.h', | |
| 264 'test/auto_test/standard/audio_processing_test.cc', | |
| 265 'test/auto_test/standard/codec_before_streaming_test.cc', | |
| 266 'test/auto_test/standard/codec_test.cc', | |
| 267 'test/auto_test/standard/dtmf_test.cc', | |
| 268 'test/auto_test/standard/external_media_test.cc', | |
| 269 'test/auto_test/standard/file_before_streaming_test.cc', | |
| 270 'test/auto_test/standard/file_test.cc', | |
| 271 'test/auto_test/standard/hardware_before_initializing_test.cc', | |
| 272 'test/auto_test/standard/hardware_before_streaming_test.cc', | |
| 273 'test/auto_test/standard/hardware_test.cc', | |
| 274 'test/auto_test/standard/mixing_test.cc', | |
| 275 'test/auto_test/standard/neteq_stats_test.cc', | |
| 276 'test/auto_test/standard/rtp_rtcp_before_streaming_test.cc', | |
| 277 'test/auto_test/standard/rtp_rtcp_extensions.cc', | |
| 278 'test/auto_test/standard/rtp_rtcp_test.cc', | |
| 279 'test/auto_test/standard/voe_base_misc_test.cc', | |
| 280 'test/auto_test/standard/video_sync_test.cc', | |
| 281 'test/auto_test/standard/volume_test.cc', | |
| 282 'test/auto_test/resource_manager.cc', | |
| 283 'test/auto_test/voe_conference_test.cc', | |
| 284 'test/auto_test/voe_cpu_test.cc', | |
| 285 'test/auto_test/voe_cpu_test.h', | |
| 286 'test/auto_test/voe_output_test.cc', | |
| 287 'test/auto_test/voe_standard_test.cc', | |
| 288 'test/auto_test/voe_standard_test.h', | |
| 289 'test/auto_test/voe_stress_test.cc', | |
| 290 'test/auto_test/voe_stress_test.h', | |
| 291 'test/auto_test/voe_test_defines.h', | |
| 292 'test/auto_test/voe_test_interface.h', | |
| 293 ], | |
| 294 'conditions': [ | |
| 295 ['OS=="android"', { | |
| 296 # some tests are not supported on android yet, exclude these t
ests. | |
| 297 'sources!': [ | |
| 298 'test/auto_test/standard/hardware_before_streaming_test.cc', | |
| 299 ], | |
| 300 }], | |
| 301 ['enable_protobuf==1', { | |
| 302 'defines': [ | |
| 303 'ENABLE_RTC_EVENT_LOG', | |
| 304 ], | |
| 305 }], | |
| 306 ], | |
| 307 # Disable warnings to enable Win64 build, issue 1323. | |
| 308 'msvs_disabled_warnings': [ | |
| 309 4267, # size_t to int truncation. | |
| 310 ], | |
| 311 }, | |
| 312 ], | |
| 313 }], | |
| 314 ['OS=="android"', { | |
| 315 'targets': [ | |
| 316 { | |
| 317 'target_name': 'voice_engine_unittests_apk_target', | |
| 318 'type': 'none', | |
| 319 'dependencies': [ | |
| 320 '<(android_tests_path):voice_engine_unittests_apk', | |
| 321 ], | |
| 322 }, | |
| 323 ], | |
| 324 'conditions': [ | |
| 325 ['test_isolation_mode != "noop"', | |
| 326 { | |
| 327 'targets': [ | |
| 328 { | |
| 329 'target_name': 'voice_engine_unittests_apk_run', | |
| 330 'type': 'none', | |
| 331 'dependencies': [ | |
| 332 '<(android_tests_path):voice_engine_unittests_apk', | |
| 333 ], | |
| 334 'includes': [ | |
| 335 '../build/isolate.gypi', | |
| 336 ], | |
| 337 'sources': [ | |
| 338 'voice_engine_unittests_apk.isolate', | |
| 339 ], | |
| 340 }, | |
| 341 ], | |
| 342 }, | |
| 343 ], | |
| 344 ], | |
| 345 }], | |
| 346 ['test_isolation_mode != "noop"', { | |
| 347 'targets': [ | |
| 348 { | |
| 349 'target_name': 'voice_engine_unittests_run', | |
| 350 'type': 'none', | |
| 351 'dependencies': [ | |
| 352 'voice_engine_unittests', | |
| 353 ], | |
| 354 'includes': [ | |
| 355 '../build/isolate.gypi', | |
| 356 ], | |
| 357 'sources': [ | |
| 358 'voice_engine_unittests.isolate', | |
| 359 ], | |
| 360 }, | |
| 361 { | |
| 362 'target_name': 'voe_auto_test_run', | |
| 363 'type': 'none', | |
| 364 'dependencies': [ | |
| 365 'voe_auto_test', | |
| 366 ], | |
| 367 'includes': [ | |
| 368 '../build/isolate.gypi', | |
| 369 ], | |
| 370 'sources': [ | |
| 371 'voe_auto_test.isolate', | |
| 372 ], | |
| 373 }, | |
| 374 ], | |
| 375 }], | |
| 376 ], # conditions | |
| 377 }], # include_tests==1 | 186 }], # include_tests==1 |
| 378 ], # conditions | 187 ], # conditions |
| 379 } | 188 } |
| OLD | NEW |