| Index: webrtc/modules/audio_device/BUILD.gn
|
| diff --git a/webrtc/modules/audio_device/BUILD.gn b/webrtc/modules/audio_device/BUILD.gn
|
| index 2f678d6dc082529657946346d84dac3e36960508..6476831d728cabd890b8d06ed5fd49d5f0f46443 100644
|
| --- a/webrtc/modules/audio_device/BUILD.gn
|
| +++ b/webrtc/modules/audio_device/BUILD.gn
|
| @@ -254,6 +254,19 @@ config("mock_audio_device_config") {
|
| }
|
| }
|
|
|
| +rtc_source_set("mock_audio_device") {
|
| + testonly = true
|
| + sources = [
|
| + "include/mock_audio_device.h",
|
| + "include/mock_audio_transport.h",
|
| + ]
|
| + deps = [
|
| + ":audio_device",
|
| + "../../test:test_support",
|
| + ]
|
| + all_dependent_configs = [ ":mock_audio_device_config" ]
|
| +}
|
| +
|
| if (rtc_include_tests) {
|
| rtc_source_set("audio_device_unittests") {
|
| testonly = true
|
| @@ -309,19 +322,6 @@ if (rtc_include_tests) {
|
| }
|
| }
|
|
|
| - rtc_source_set("mock_audio_device") {
|
| - testonly = true
|
| - sources = [
|
| - "include/mock_audio_device.h",
|
| - "include/mock_audio_transport.h",
|
| - ]
|
| - deps = [
|
| - ":audio_device",
|
| - "../../test:test_support",
|
| - ]
|
| - all_dependent_configs = [ ":mock_audio_device_config" ]
|
| - }
|
| -
|
| if (!is_ios) {
|
| # These tests do not work on ios, see
|
| # https://bugs.chromium.org/p/webrtc/issues/detail?id=4755
|
|
|