OLD | NEW |
1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2014 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 import("../webrtc.gni") | 9 import("../webrtc.gni") |
10 | 10 |
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
226 ] | 226 ] |
227 | 227 |
228 configs += [ ":channel_transport_warnings_config" ] | 228 configs += [ ":channel_transport_warnings_config" ] |
229 | 229 |
230 if (!build_with_chromium && is_clang) { | 230 if (!build_with_chromium && is_clang) { |
231 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 231 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
232 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 232 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
233 } | 233 } |
234 | 234 |
235 deps = [ | 235 deps = [ |
| 236 ":voice_engine", |
236 "..:webrtc_common", | 237 "..:webrtc_common", |
237 "../api:transport_api", | 238 "../api:transport_api", |
| 239 "../base:rtc_base_approved", |
238 "../system_wrappers", | 240 "../system_wrappers", |
| 241 "../test:test_support", |
239 "//testing/gtest", | 242 "//testing/gtest", |
240 ] | 243 ] |
241 } | 244 } |
242 | 245 |
243 rtc_test("voice_engine_unittests") { | 246 rtc_test("voice_engine_unittests") { |
244 deps = [ | 247 deps = [ |
245 ":channel_transport", | 248 ":channel_transport", |
| 249 ":file_player", |
246 ":voice_engine", | 250 ":voice_engine", |
| 251 "../base:rtc_base_approved", |
| 252 "../test:test_common", |
247 "//testing/gmock", | 253 "//testing/gmock", |
248 "//testing/gtest", | 254 "//testing/gtest", |
249 "//third_party/gflags", | 255 "//third_party/gflags", |
250 "//webrtc/common_audio", | 256 "//webrtc/common_audio", |
251 "//webrtc/modules/audio_coding", | 257 "//webrtc/modules/audio_coding", |
252 "//webrtc/modules/audio_conference_mixer", | 258 "//webrtc/modules/audio_conference_mixer", |
253 "//webrtc/modules/audio_device", | 259 "//webrtc/modules/audio_device", |
254 "//webrtc/modules/audio_processing", | 260 "//webrtc/modules/audio_processing", |
255 "//webrtc/modules/media_file", | 261 "//webrtc/modules/media_file", |
256 "//webrtc/modules/rtp_rtcp", | 262 "//webrtc/modules/rtp_rtcp", |
257 "//webrtc/modules/utility", | 263 "//webrtc/modules/utility", |
| 264 "//webrtc/modules/video_capture:video_capture", |
258 "//webrtc/system_wrappers", | 265 "//webrtc/system_wrappers", |
259 "//webrtc/test:test_main", | 266 "//webrtc/test:test_main", |
| 267 "//webrtc/test:video_test_common", |
260 ] | 268 ] |
261 | 269 |
262 if (is_android) { | 270 if (is_android) { |
263 deps += [ "//testing/android/native_test:native_test_native_code" ] | 271 deps += [ "//testing/android/native_test:native_test_native_code" ] |
264 shard_timeout = 900 | 272 shard_timeout = 900 |
265 } | 273 } |
266 | 274 |
267 sources = [ | 275 sources = [ |
268 "channel_unittest.cc", | 276 "channel_unittest.cc", |
269 "file_player_unittests.cc", | 277 "file_player_unittests.cc", |
(...skipping 29 matching lines...) Expand all Loading... |
299 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 307 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
300 } | 308 } |
301 } | 309 } |
302 | 310 |
303 rtc_executable("voe_cmd_test") { | 311 rtc_executable("voe_cmd_test") { |
304 testonly = true | 312 testonly = true |
305 | 313 |
306 deps = [ | 314 deps = [ |
307 ":channel_transport", | 315 ":channel_transport", |
308 ":voice_engine", | 316 ":voice_engine", |
| 317 "..:webrtc_common", |
| 318 "../base:rtc_base_approved", |
309 "//testing/gtest", | 319 "//testing/gtest", |
310 "//third_party/gflags", | 320 "//third_party/gflags", |
311 "//webrtc/logging:rtc_event_log_api", | 321 "//webrtc/logging:rtc_event_log_api", |
| 322 "//webrtc/modules/audio_processing", |
312 "//webrtc/system_wrappers", | 323 "//webrtc/system_wrappers", |
313 "//webrtc/system_wrappers:system_wrappers_default", | 324 "//webrtc/system_wrappers:system_wrappers_default", |
314 "//webrtc/test:test_support", | 325 "//webrtc/test:test_support", |
315 ] | 326 ] |
316 | 327 |
317 sources = [ | 328 sources = [ |
318 "test/cmd_test/voe_cmd_test.cc", | 329 "test/cmd_test/voe_cmd_test.cc", |
319 ] | 330 ] |
320 | 331 |
321 if (!build_with_chromium && is_clang) { | 332 if (!build_with_chromium && is_clang) { |
322 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 333 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). |
323 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 334 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
324 } | 335 } |
325 } | 336 } |
326 | 337 |
327 if (!is_ios) { | 338 if (!is_ios) { |
328 rtc_executable("voe_auto_test") { | 339 rtc_executable("voe_auto_test") { |
329 testonly = true | 340 testonly = true |
330 | 341 |
331 deps = [ | 342 deps = [ |
332 ":channel_transport", | 343 ":channel_transport", |
333 ":voice_engine", | 344 ":voice_engine", |
| 345 "..:webrtc_common", |
| 346 "../base:rtc_base_approved", |
| 347 "../modules/audio_device:audio_device", |
| 348 "../modules/audio_processing:audio_processing", |
| 349 "../modules/rtp_rtcp:rtp_rtcp", |
334 "//testing/gmock", | 350 "//testing/gmock", |
335 "//testing/gtest", | 351 "//testing/gtest", |
336 "//third_party/gflags", | 352 "//third_party/gflags", |
337 "//webrtc/logging:rtc_event_log_api", | 353 "//webrtc/logging:rtc_event_log_api", |
338 "//webrtc/modules/video_capture", | 354 "//webrtc/modules/video_capture", |
339 "//webrtc/system_wrappers", | 355 "//webrtc/system_wrappers", |
340 "//webrtc/system_wrappers/:system_wrappers_default", | 356 "//webrtc/system_wrappers/:system_wrappers_default", |
341 "//webrtc/test/:test_common", | 357 "//webrtc/test/:test_common", |
342 "//webrtc/test/:test_support", | 358 "//webrtc/test/:test_support", |
343 "//webrtc/test/:video_test_common", | 359 "//webrtc/test/:video_test_common", |
(...skipping 27 matching lines...) Expand all Loading... |
371 "test/auto_test/standard/neteq_stats_test.cc", | 387 "test/auto_test/standard/neteq_stats_test.cc", |
372 "test/auto_test/standard/rtp_rtcp_before_streaming_test.cc", | 388 "test/auto_test/standard/rtp_rtcp_before_streaming_test.cc", |
373 "test/auto_test/standard/rtp_rtcp_extensions.cc", | 389 "test/auto_test/standard/rtp_rtcp_extensions.cc", |
374 "test/auto_test/standard/rtp_rtcp_test.cc", | 390 "test/auto_test/standard/rtp_rtcp_test.cc", |
375 "test/auto_test/standard/voe_base_misc_test.cc", | 391 "test/auto_test/standard/voe_base_misc_test.cc", |
376 "test/auto_test/standard/volume_test.cc", | 392 "test/auto_test/standard/volume_test.cc", |
377 "test/auto_test/voe_conference_test.cc", | 393 "test/auto_test/voe_conference_test.cc", |
378 "test/auto_test/voe_standard_test.cc", | 394 "test/auto_test/voe_standard_test.cc", |
379 "test/auto_test/voe_standard_test.h", | 395 "test/auto_test/voe_standard_test.h", |
380 "test/auto_test/voe_test_defines.h", | 396 "test/auto_test/voe_test_defines.h", |
381 "test/auto_test/voe_test_interface.h", | |
382 ] | 397 ] |
383 | 398 |
384 if (!is_android) { | 399 if (!is_android) { |
385 # Some tests are not supported on android yet, exclude these tests. | 400 # Some tests are not supported on android yet, exclude these tests. |
386 sources += | 401 sources += |
387 [ "test/auto_test/standard/hardware_before_streaming_test.cc" ] | 402 [ "test/auto_test/standard/hardware_before_streaming_test.cc" ] |
388 } | 403 } |
389 | 404 |
390 defines = [] | 405 defines = [] |
391 | 406 |
(...skipping 11 matching lines...) Expand all Loading... |
403 ] | 418 ] |
404 } | 419 } |
405 | 420 |
406 if (!build_with_chromium && is_clang) { | 421 if (!build_with_chromium && is_clang) { |
407 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163)
. | 422 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163)
. |
408 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 423 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] |
409 } | 424 } |
410 } | 425 } |
411 } | 426 } |
412 } | 427 } |
OLD | NEW |