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

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

Issue 2252413002: Refactor neteq_test_support. (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Remove unused dependencies (2). 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 | webrtc/modules/audio_coding/neteq/neteq_tests.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webrtc/modules/audio_coding/BUILD.gn
diff --git a/webrtc/modules/audio_coding/BUILD.gn b/webrtc/modules/audio_coding/BUILD.gn
index 0491022034333b64ebedad77eb1c16e3cc52a2f3..7556bf1f9150f0b145d54123130364dcc79dfd82 100644
--- a/webrtc/modules/audio_coding/BUILD.gn
+++ b/webrtc/modules/audio_coding/BUILD.gn
@@ -1144,8 +1144,6 @@ if (rtc_include_tests) {
"neteq/tools/neteq_external_decoder_test.h",
"neteq/tools/neteq_performance_test.cc",
"neteq/tools/neteq_performance_test.h",
- "neteq/tools/neteq_quality_test.cc",
- "neteq/tools/neteq_quality_test.h",
]
configs += [ "../..:common_config" ]
@@ -1165,6 +1163,28 @@ if (rtc_include_tests) {
]
}
+ source_set("neteq_quality_test_support") {
+ testonly = true
+ sources = [
+ "neteq/tools/neteq_quality_test.cc",
+ "neteq/tools/neteq_quality_test.h",
+ ]
+
+ configs += [ "../..:common_config" ]
+ public_configs = [ "../..:common_inherited_config" ]
+
+ if (is_clang) {
+ # Suppress warnings from the Chromium Clang plugins (bugs.webrtc.org/163).
+ configs -= [ "//build/config/clang:find_bad_constructs" ]
+ }
+
+ deps = [
+ ":neteq",
+ ":neteq_unittest_tools",
+ "//third_party/gflags",
+ ]
+ }
+
config("neteq_unittest_tools_config") {
include_dirs = [ "tools" ]
}
@@ -1402,7 +1422,7 @@ if (rtc_include_tests) {
deps = [
":neteq",
- ":neteq_test_support",
+ ":neteq_quality_test_support",
":neteq_unittest_tools",
":webrtc_opus",
"../../test:test_support_main",
@@ -1452,7 +1472,7 @@ if (rtc_include_tests) {
deps = [
":ilbc",
":neteq",
- ":neteq_test_support",
+ ":neteq_quality_test_support",
":neteq_unittest_tools",
"../../system_wrappers:system_wrappers_default",
"../../test:test_support_main",
@@ -1472,7 +1492,7 @@ if (rtc_include_tests) {
deps = [
":isac_fix",
":neteq",
- ":neteq_test_support",
+ ":neteq_quality_test_support",
"../../test:test_support_main",
"//build/config/sanitizers:deps",
"//testing/gtest",
@@ -1490,7 +1510,7 @@ if (rtc_include_tests) {
deps = [
":g711",
":neteq",
- ":neteq_test_support",
+ ":neteq_quality_test_support",
"../../test:test_support_main",
"//build/config/sanitizers:deps",
"//testing/gtest",
« no previous file with comments | « no previous file | webrtc/modules/audio_coding/neteq/neteq_tests.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698