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

Unified Diff: webrtc/modules/audio_processing/aec_dump/BUILD.gn

Issue 2888533005: MockAecDump and integration tests between AecDump and AudioProcessing (Closed)
Patch Set: Remove test which is special case of next test. Created 3 years, 6 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
Index: webrtc/modules/audio_processing/aec_dump/BUILD.gn
diff --git a/webrtc/modules/audio_processing/aec_dump/BUILD.gn b/webrtc/modules/audio_processing/aec_dump/BUILD.gn
index 4a02299eaa0d2ce2143b805ec7901726448ff7d3..950dd68b176a49485d213e032c6c06db12ff6725 100644
--- a/webrtc/modules/audio_processing/aec_dump/BUILD.gn
+++ b/webrtc/modules/audio_processing/aec_dump/BUILD.gn
@@ -1,3 +1,11 @@
+# Copyright (c) 2017 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.
+
import("../../../webrtc.gni") # This contains def of 'rtc_enable_protobuf'
rtc_source_set("aec_dump") {
@@ -14,6 +22,38 @@ rtc_source_set("aec_dump") {
]
}
+rtc_source_set("mock_aec_dump") {
+ testonly = true
+ sources = [
+ "mock_aec_dump.cc",
+ "mock_aec_dump.h",
+ ]
+
+ deps = [
+ "..:aec_dump_interface",
+ ]
+ public_deps = [
+ "../..:module_api",
+ "../../../test:test_support",
+ "//testing/gmock",
+ ]
+}
+
+rtc_source_set("mock_aec_dump_unittests") {
+ testonly = true
+
+ sources = [
+ "aec_dump_integration_test.cc",
+ ]
+
+ deps = [
+ ":mock_aec_dump",
+ "..:audio_processing",
+ "../../../base:rtc_base_approved",
+ "//testing/gtest",
+ ]
+}
+
if (rtc_enable_protobuf) {
rtc_source_set("aec_dump_impl") {
sources = [
« no previous file with comments | « webrtc/modules/audio_processing/BUILD.gn ('k') | webrtc/modules/audio_processing/aec_dump/aec_dump_integration_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698