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

Unified Diff: webrtc/audio/BUILD.gn

Issue 3008273002: Replace voe_conference_test. (Closed)
Patch Set: rebase Created 3 years, 3 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 | « no previous file | webrtc/audio/test/audio_end_to_end_test.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/audio/BUILD.gn
diff --git a/webrtc/audio/BUILD.gn b/webrtc/audio/BUILD.gn
index 42b74ffcd6babee026b54df39f86bd6b5f9521a4..890de510d6ca23058d57c3697a069f1894f05055 100644
--- a/webrtc/audio/BUILD.gn
+++ b/webrtc/audio/BUILD.gn
@@ -58,6 +58,27 @@ rtc_static_library("audio") {
]
}
if (rtc_include_tests) {
+ rtc_source_set("audio_end_to_end_test") {
+ testonly = true
+
+ sources = [
+ "test/audio_end_to_end_test.cc",
+ "test/audio_end_to_end_test.h",
+ ]
+ deps = [
+ ":audio",
+ "../system_wrappers:system_wrappers",
+ "../test:fake_audio_device",
+ "../test:test_common",
+ "../test:test_support",
+ ]
+
+ 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" ]
+ }
+ }
+
rtc_source_set("audio_tests") {
testonly = true
@@ -80,6 +101,7 @@ if (rtc_include_tests) {
]
deps = [
":audio",
+ ":audio_end_to_end_test",
"../api:mock_audio_mixer",
"../call:rtp_receiver",
"../modules/audio_device:mock_audio_device",
@@ -96,6 +118,11 @@ if (rtc_include_tests) {
"//testing/gtest",
]
+ if (!rtc_use_memcheck) {
+ # This test is timing dependent, which rules out running on memcheck bots.
+ sources += [ "test/audio_stats_test.cc" ]
+ }
+
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" ]
@@ -108,10 +135,10 @@ if (rtc_include_tests) {
sources = [
"test/low_bandwidth_audio_test.cc",
- "test/low_bandwidth_audio_test.h",
]
deps = [
+ ":audio_end_to_end_test",
"../common_audio",
"../rtc_base:rtc_base_approved",
"../system_wrappers",
« no previous file with comments | « no previous file | webrtc/audio/test/audio_end_to_end_test.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698