Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(14)

Side by Side Diff: webrtc/test/BUILD.gn

Issue 2718083003: Revert of Move fake_audio_device to its own target. (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « webrtc/modules/rtp_rtcp/test/testAPI/test_api_rtcp.cc ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 import("//build/config/ui.gni") 10 import("//build/config/ui.gni")
(...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after
326 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 326 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
327 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 327 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
328 } 328 }
329 deps = [ 329 deps = [
330 "../api:transport_api", 330 "../api:transport_api",
331 "../base:rtc_base_approved", 331 "../base:rtc_base_approved",
332 "../call", 332 "../call",
333 ] 333 ]
334 } 334 }
335 335
336 rtc_source_set("fake_audio_device") {
337 testonly = true
338 sources = [
339 "fake_audio_device.cc",
340 "fake_audio_device.h",
341 ]
342 if (!build_with_chromium && is_clang) {
343 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
344 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
345 }
346 deps = [
347 "../base:rtc_base_approved",
348 "../modules/audio_device:audio_device",
349 ]
350 }
351
352 rtc_source_set("test_common") { 336 rtc_source_set("test_common") {
353 testonly = true 337 testonly = true
354 sources = [ 338 sources = [
355 "call_test.cc", 339 "call_test.cc",
356 "call_test.h", 340 "call_test.h",
357 "configurable_frame_size_encoder.cc", 341 "configurable_frame_size_encoder.cc",
358 "configurable_frame_size_encoder.h", 342 "configurable_frame_size_encoder.h",
359 "constants.cc", 343 "constants.cc",
360 "constants.h", 344 "constants.h",
361 "drifting_clock.cc", 345 "drifting_clock.cc",
362 "drifting_clock.h", 346 "drifting_clock.h",
363 "encoder_settings.cc", 347 "encoder_settings.cc",
364 "encoder_settings.h", 348 "encoder_settings.h",
349 "fake_audio_device.cc",
350 "fake_audio_device.h",
365 "fake_decoder.cc", 351 "fake_decoder.cc",
366 "fake_decoder.h", 352 "fake_decoder.h",
367 "fake_encoder.cc", 353 "fake_encoder.cc",
368 "fake_encoder.h", 354 "fake_encoder.h",
369 "fake_videorenderer.h", 355 "fake_videorenderer.h",
370 "layer_filtering_transport.cc", 356 "layer_filtering_transport.cc",
371 "layer_filtering_transport.h", 357 "layer_filtering_transport.h",
372 "mock_transport.h", 358 "mock_transport.h",
373 "mock_voe_channel_proxy.h", 359 "mock_voe_channel_proxy.h",
374 "mock_voice_engine.h", 360 "mock_voice_engine.h",
(...skipping 11 matching lines...) Expand all
386 ] 372 ]
387 } 373 }
388 374
389 if (!build_with_chromium && is_clang) { 375 if (!build_with_chromium && is_clang) {
390 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 376 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
391 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 377 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
392 } 378 }
393 379
394 deps = [ 380 deps = [
395 ":direct_transport", 381 ":direct_transport",
396 ":fake_audio_device",
397 ":rtp_test_utils", 382 ":rtp_test_utils",
398 ":test_support", 383 ":test_support",
399 "..:webrtc_common", 384 "..:webrtc_common",
400 "../audio", 385 "../audio",
401 "../base:rtc_base_approved", 386 "../base:rtc_base_approved",
402 "../call", 387 "../call",
388 "../modules/audio_device:mock_audio_device",
403 "../modules/audio_mixer:audio_mixer_impl", 389 "../modules/audio_mixer:audio_mixer_impl",
404 "../modules/audio_processing", 390 "../modules/audio_processing",
405 "../video", 391 "../video",
406 "//testing/gmock", 392 "//testing/gmock",
407 "//testing/gtest", 393 "//testing/gtest",
408 ] 394 ]
409 } 395 }
410 396
411 config("test_renderer_exported_config") { 397 config("test_renderer_exported_config") {
412 if (is_win && is_clang) { 398 if (is_win && is_clang) {
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
473 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 459 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
474 } 460 }
475 461
476 deps = [ 462 deps = [
477 ":test_support", 463 ":test_support",
478 ":video_test_common", 464 ":video_test_common",
479 "../modules/media_file", 465 "../modules/media_file",
480 "//testing/gtest", 466 "//testing/gtest",
481 ] 467 ]
482 } 468 }
OLDNEW
« no previous file with comments | « webrtc/modules/rtp_rtcp/test/testAPI/test_api_rtcp.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698