 Chromium Code Reviews
 Chromium Code Reviews Issue 2717983003:
  Move fake_audio_device to its own target.  (Closed)
    
  
    Issue 2717983003:
  Move fake_audio_device to its own target.  (Closed) 
  | 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 import("//build/config/ui.gni") | 10 import("//build/config/ui.gni") | 
| (...skipping 315 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 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 | |
| 336 rtc_source_set("test_common") { | 352 rtc_source_set("test_common") { | 
| 337 testonly = true | 353 testonly = true | 
| 338 sources = [ | 354 sources = [ | 
| 339 "call_test.cc", | 355 "call_test.cc", | 
| 340 "call_test.h", | 356 "call_test.h", | 
| 341 "configurable_frame_size_encoder.cc", | 357 "configurable_frame_size_encoder.cc", | 
| 342 "configurable_frame_size_encoder.h", | 358 "configurable_frame_size_encoder.h", | 
| 343 "constants.cc", | 359 "constants.cc", | 
| 344 "constants.h", | 360 "constants.h", | 
| 345 "drifting_clock.cc", | 361 "drifting_clock.cc", | 
| 346 "drifting_clock.h", | 362 "drifting_clock.h", | 
| 347 "encoder_settings.cc", | 363 "encoder_settings.cc", | 
| 348 "encoder_settings.h", | 364 "encoder_settings.h", | 
| 349 "fake_audio_device.cc", | |
| 350 "fake_audio_device.h", | |
| 351 "fake_decoder.cc", | 365 "fake_decoder.cc", | 
| 352 "fake_decoder.h", | 366 "fake_decoder.h", | 
| 353 "fake_encoder.cc", | 367 "fake_encoder.cc", | 
| 354 "fake_encoder.h", | 368 "fake_encoder.h", | 
| 355 "fake_videorenderer.h", | 369 "fake_videorenderer.h", | 
| 356 "layer_filtering_transport.cc", | 370 "layer_filtering_transport.cc", | 
| 357 "layer_filtering_transport.h", | 371 "layer_filtering_transport.h", | 
| 358 "mock_transport.h", | 372 "mock_transport.h", | 
| 359 "mock_voe_channel_proxy.h", | 373 "mock_voe_channel_proxy.h", | 
| 360 "mock_voice_engine.h", | 374 "mock_voice_engine.h", | 
| (...skipping 11 matching lines...) Expand all Loading... | |
| 372 ] | 386 ] | 
| 373 } | 387 } | 
| 374 | 388 | 
| 375 if (!build_with_chromium && is_clang) { | 389 if (!build_with_chromium && is_clang) { | 
| 376 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 390 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). | 
| 377 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 391 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 
| 378 } | 392 } | 
| 379 | 393 | 
| 380 deps = [ | 394 deps = [ | 
| 381 ":direct_transport", | 395 ":direct_transport", | 
| 396 ":fake_audio_device", | |
| 382 ":rtp_test_utils", | 397 ":rtp_test_utils", | 
| 383 ":test_support", | 398 ":test_support", | 
| 384 "..:webrtc_common", | 399 "..:webrtc_common", | 
| 385 "../audio", | 400 "../audio", | 
| 386 "../base:rtc_base_approved", | 401 "../base:rtc_base_approved", | 
| 387 "../call", | 402 "../call", | 
| 388 "../modules/audio_device:mock_audio_device", | |
| 
kjellander_webrtc
2017/02/27 20:51:45
Was this unused?
 
perkj_webrtc
2017/02/28 08:47:57
It used the fake_audio_device that seem like it ca
 | |
| 389 "../modules/audio_mixer:audio_mixer_impl", | 403 "../modules/audio_mixer:audio_mixer_impl", | 
| 390 "../modules/audio_processing", | 404 "../modules/audio_processing", | 
| 391 "../video", | 405 "../video", | 
| 392 "//testing/gmock", | 406 "//testing/gmock", | 
| 393 "//testing/gtest", | 407 "//testing/gtest", | 
| 394 ] | 408 ] | 
| 395 } | 409 } | 
| 396 | 410 | 
| 397 config("test_renderer_exported_config") { | 411 config("test_renderer_exported_config") { | 
| 398 if (is_win && is_clang) { | 412 if (is_win && is_clang) { | 
| (...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 459 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 473 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] | 
| 460 } | 474 } | 
| 461 | 475 | 
| 462 deps = [ | 476 deps = [ | 
| 463 ":test_support", | 477 ":test_support", | 
| 464 ":video_test_common", | 478 ":video_test_common", | 
| 465 "../modules/media_file", | 479 "../modules/media_file", | 
| 466 "//testing/gtest", | 480 "//testing/gtest", | 
| 467 ] | 481 ] | 
| 468 } | 482 } | 
| OLD | NEW |