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

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

Issue 2384423002: Relanding "Setting up an RTP input fuzzer for NetEq" (Closed)
Patch Set: Floating point literal in double precision Created 4 years, 2 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/tools/encode_neteq_input.h » ('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 a75fbaa124096f5196d1fa9eb21446953c090125..9b90959d1b74e9eb650ca6a5a07ab3d22541c3cb 100644
--- a/webrtc/modules/audio_coding/BUILD.gn
+++ b/webrtc/modules/audio_coding/BUILD.gn
@@ -868,6 +868,25 @@ rtc_static_library("neteq") {
}
}
+# Although providing only test support, this target must be outside of the
+# rtc_include_tests conditional. The reason is that it supports fuzzer tests
+# that ultimately are built and run as a part of the Chromium ecosystem, which
+# does not set the rtc_include_tests flag.
+rtc_source_set("neteq_test_minimal") {
+ testonly = true
+ sources = [
+ "neteq/tools/encode_neteq_input.cc",
+ "neteq/tools/encode_neteq_input.h",
+ "neteq/tools/neteq_test.cc",
+ "neteq/tools/neteq_test.h",
+ ]
+
+ if (is_clang) {
+ # Suppress warnings from the Chromium Clang plugins (bugs.webrtc.org/163).
+ suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
+ }
+}
+
if (rtc_include_tests) {
rtc_source_set("acm_receive_test") {
testonly = true
@@ -1156,8 +1175,6 @@ if (rtc_include_tests) {
"neteq/tools/neteq_packet_source_input.h",
"neteq/tools/neteq_replacement_input.cc",
"neteq/tools/neteq_replacement_input.h",
- "neteq/tools/neteq_test.cc",
- "neteq/tools/neteq_test.h",
"neteq/tools/output_audio_file.h",
"neteq/tools/output_wav_file.h",
"neteq/tools/packet.cc",
@@ -1180,6 +1197,7 @@ if (rtc_include_tests) {
}
deps = [
+ ":neteq_test_minimal",
"../../common_audio",
"../../test:rtp_test_utils",
"../rtp_rtcp",
« no previous file with comments | « no previous file | webrtc/modules/audio_coding/neteq/tools/encode_neteq_input.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698