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

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

Issue 2267403003: GN build rules for four audio processing test executables (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: use default dependency names 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/audio_processing/BUILD.gn
diff --git a/webrtc/modules/audio_processing/BUILD.gn b/webrtc/modules/audio_processing/BUILD.gn
index dca33885ffd8da0df0b18de570fada9ca64446a8..84ff8a087706aff39af7feccde9eb3f3c7fadfca 100644
--- a/webrtc/modules/audio_processing/BUILD.gn
+++ b/webrtc/modules/audio_processing/BUILD.gn
@@ -163,6 +163,7 @@ source_set("audio_processing") {
defines = []
deps = [
"../..:webrtc_common",
+ "../../system_wrappers:metrics_default",
"../audio_coding:isac",
]
@@ -430,6 +431,71 @@ if (rtc_include_tests) {
]
}
+ executable("transient_suppression_test") {
+ testonly = true
+ sources = [
+ "transient/file_utils.cc",
+ "transient/file_utils.h",
+ "transient/transient_suppression_test.cc",
+ ]
+ deps = [
+ ":audio_processing",
+ "../../test:test_support",
+ "//testing/gtest",
+ "//third_party/gflags",
+ ]
+ if (is_clang) {
+ # Suppress warnings from the Chromium Clang plugins (bugs.webrtc.org/163).
+ configs -= [ "//build/config/clang:find_bad_constructs" ]
+ }
+ }
+
+ executable("click_annotate") {
+ testonly = true
+ sources = [
+ "transient/click_annotate.cc",
+ "transient/file_utils.cc",
+ "transient/file_utils.h",
+ ]
+ deps = [
+ ":audio_processing",
+ ]
+ }
+
+ executable("nonlinear_beamformer_test") {
+ testonly = true
+ sources = [
+ "beamformer/nonlinear_beamformer_test.cc",
+ ]
+ deps = [
+ ":audio_processing",
+ ":audioproc_test_utils",
+ "//third_party/gflags",
+ ]
+ if (is_clang) {
+ # Suppress warnings from the Chromium Clang plugins (bugs.webrtc.org/163).
+ configs -= [ "//build/config/clang:find_bad_constructs" ]
+ }
+ }
+
+ executable("intelligibility_proc") {
+ testonly = true
+ sources = [
+ "intelligibility/test/intelligibility_proc.cc",
+ ]
+ deps = [
+ ":audio_processing",
+ ":audioproc_test_utils",
+ "../../test:test_support",
+ "//testing/gtest",
+ "//third_party/gflags",
+ ]
+ if (is_clang) {
+ # Suppress warnings from the Chromium Clang plugins (bugs.webrtc.org/163).
+ configs -= [ "//build/config/clang:find_bad_constructs" ]
+ }
+ }
+
if (rtc_enable_protobuf) {
proto_library("audioproc_unittest_proto") {
sources = [
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698