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

Unified Diff: webrtc/modules/audio_device/BUILD.gn

Issue 2216423002: Add gn target for audio_device_tests. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Rebase Created 4 years, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « .gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/audio_device/BUILD.gn
diff --git a/webrtc/modules/audio_device/BUILD.gn b/webrtc/modules/audio_device/BUILD.gn
index 35a99eaac7e6cae274ddb9607b6d17cc175eaa7e..369d88af59a1dd5bfa2394960fa1c87a458f1c8c 100644
--- a/webrtc/modules/audio_device/BUILD.gn
+++ b/webrtc/modules/audio_device/BUILD.gn
@@ -29,6 +29,7 @@ source_set("audio_device") {
"../..:webrtc_common",
"../../base:rtc_base",
"../../base:rtc_base_approved",
+ "../../base:rtc_task_queue",
"../../common_audio",
"../../system_wrappers",
"../utility",
@@ -210,3 +211,30 @@ source_set("audio_device") {
configs -= [ "//build/config/clang:find_bad_constructs" ]
}
}
+
+# These tests do not work on ios, see
+# https://bugs.chromium.org/p/webrtc/issues/detail?id=4755
+if (rtc_include_tests && !is_ios) {
+ executable("audio_device_tests") {
+ testonly = true
+ sources = [
+ "test/audio_device_test_api.cc",
+ "test/audio_device_test_defines.h",
+ ]
+ deps = [
+ ":audio_device",
+ "../..:webrtc_common",
+ "../../system_wrappers",
+ "../../test:test_support",
+ "../../test:test_support_main",
+ "../rtp_rtcp",
+ "../utility",
+ "//testing/gtest",
+ ]
+ configs += [ "../..:common_config" ]
+ public_configs = [
+ "../..:common_inherited_config",
+ ":audio_device_config",
+ ]
+ }
+}
« no previous file with comments | « .gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698