Separate test/fake_audio_device on API and implementation. Step 3.
Remove test/fake_audio_device.h Bug: webrtc:8946 Change-Id: Ib6d86313bd6b897971c3f6eb4b0f1f947f5c3d4d Reviewed-on: https://webrtc-review.googlesource.com/61322 Reviewed-by: Karl Wiberg <kwiberg@webrtc.org> Commit-Queue: Artem Titov <titovartem@webrtc.org> Cr-Commit-Position: refs/heads/master@{#22398}
This commit is contained in:
parent
1288c59c35
commit
e61bf67b99
@ -525,28 +525,6 @@ rtc_source_set("single_threaded_task_queue") {
|
||||
]
|
||||
}
|
||||
|
||||
rtc_source_set("fake_audio_device") {
|
||||
visibility = [ "*" ]
|
||||
testonly = true
|
||||
sources = [
|
||||
"fake_audio_device.h",
|
||||
]
|
||||
if (!build_with_chromium && is_clang) {
|
||||
# Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
|
||||
suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
|
||||
}
|
||||
deps = [
|
||||
"..:webrtc_common",
|
||||
"../:typedefs",
|
||||
"../api:array_view",
|
||||
"../common_audio:common_audio",
|
||||
"../modules/audio_device",
|
||||
"../rtc_base:checks",
|
||||
"../rtc_base:rtc_base_approved",
|
||||
"../system_wrappers",
|
||||
]
|
||||
}
|
||||
|
||||
rtc_source_set("test_common") {
|
||||
testonly = true
|
||||
sources = [
|
||||
|
||||
@ -1,26 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) 2013 The WebRTC project authors. All Rights Reserved.
|
||||
*
|
||||
* Use of this source code is governed by a BSD-style license
|
||||
* that can be found in the LICENSE file in the root of the source
|
||||
* tree. An additional intellectual property rights grant can be found
|
||||
* in the file PATENTS. All contributing project authors may
|
||||
* be found in the AUTHORS file in the root of the source tree.
|
||||
*/
|
||||
#ifndef TEST_FAKE_AUDIO_DEVICE_H_
|
||||
#define TEST_FAKE_AUDIO_DEVICE_H_
|
||||
|
||||
#include "modules/audio_device/include/test_audio_device_impl.h"
|
||||
|
||||
namespace webrtc {
|
||||
|
||||
namespace test {
|
||||
|
||||
// This class is deprecated. Use webrtc::TestAudioDevice from
|
||||
// modules/audio_device/include/test_audio_device.h instead.
|
||||
using FakeAudioDevice = webrtc::webrtc_impl::TestAudioDeviceModuleImpl;
|
||||
|
||||
} // namespace test
|
||||
} // namespace webrtc
|
||||
|
||||
#endif // TEST_FAKE_AUDIO_DEVICE_H_
|
||||
Loading…
x
Reference in New Issue
Block a user