Move test_audio_device_module to compile only without chromium

Bug: b/272350185, webrtc:15081
Change-Id: I1fea6652cb2acb359f3848d64918e5212e2e2a75
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/303841
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Commit-Queue: Artem Titov <titovartem@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#39965}
This commit is contained in:
Artem Titov 2023-04-28 11:28:27 +02:00 committed by WebRTC LUCI CQ
parent aee5b17f66
commit cf95dd13a2

View File

@ -177,6 +177,7 @@ rtc_source_set("audio_device_module_from_input_and_output") {
} }
} }
if (!build_with_chromium) {
rtc_library("test_audio_device_module") { rtc_library("test_audio_device_module") {
visibility = [ "*" ] visibility = [ "*" ]
sources = [ sources = [
@ -206,6 +207,7 @@ rtc_library("test_audio_device_module") {
] ]
absl_deps = [ "//third_party/abseil-cpp/absl/strings" ] absl_deps = [ "//third_party/abseil-cpp/absl/strings" ]
} }
}
# Contains default implementations of webrtc::AudioDeviceModule for Windows, # Contains default implementations of webrtc::AudioDeviceModule for Windows,
# Linux, Mac, iOS and Android. # Linux, Mac, iOS and Android.