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

Unified Diff: webrtc/test/fuzzers/BUILD.gn

Issue 1499093002: Create fuzzer tests for audio decoders (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Created 5 years 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/test/fuzzers/BUILD.gn
diff --git a/webrtc/test/fuzzers/BUILD.gn b/webrtc/test/fuzzers/BUILD.gn
index 4cf6a5ce9135e78e7092b617d4b7930c190df890..e5d66329c16c368ae6945bd792d5c14defbb2a7e 100644
--- a/webrtc/test/fuzzers/BUILD.gn
+++ b/webrtc/test/fuzzers/BUILD.gn
@@ -50,3 +50,75 @@ test("vp8_qp_parser_fuzzer") {
configs -= [ "//build/config/clang:find_bad_constructs" ]
}
}
+
+test("audio_decoder_ilbc_fuzzer") {
+ sources = [
+ "audio_decoder_fuzzer.cc",
+ "audio_decoder_fuzzer.h",
+ "audio_decoder_ilbc_fuzzer.cc",
+ ]
+ deps = [
+ ":webrtc_fuzzer_main",
+ "../../modules/audio_coding:ilbc",
+ ]
+
+ if (is_clang) {
+ # Suppress warnings from Chrome's Clang plugins.
+ # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
+ configs -= [ "//build/config/clang:find_bad_constructs" ]
+ }
+}
+
+test("audio_decoder_isac_fuzzer") {
+ sources = [
+ "audio_decoder_fuzzer.cc",
pbos-webrtc 2015/12/04 14:27:25 Break out audio_decoder_fuzzer to its own source_s
hlundin-webrtc 2015/12/04 14:58:06 Done.
+ "audio_decoder_fuzzer.h",
+ "audio_decoder_isac_fuzzer.cc",
+ ]
+ deps = [
+ ":webrtc_fuzzer_main",
+ "../../modules/audio_coding:isac",
+ ]
+
+ if (is_clang) {
+ # Suppress warnings from Chrome's Clang plugins.
+ # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
+ configs -= [ "//build/config/clang:find_bad_constructs" ]
+ }
+}
+
+test("audio_decoder_isacfix_fuzzer") {
+ sources = [
+ "audio_decoder_fuzzer.cc",
+ "audio_decoder_fuzzer.h",
+ "audio_decoder_isacfix_fuzzer.cc",
+ ]
+ deps = [
+ ":webrtc_fuzzer_main",
+ "../../modules/audio_coding:isac_fix",
+ ]
+
+ if (is_clang) {
+ # Suppress warnings from Chrome's Clang plugins.
+ # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
+ configs -= [ "//build/config/clang:find_bad_constructs" ]
+ }
+}
+
+test("audio_decoder_opus_fuzzer") {
+ sources = [
+ "audio_decoder_fuzzer.cc",
+ "audio_decoder_fuzzer.h",
+ "audio_decoder_opus_fuzzer.cc",
+ ]
+ deps = [
+ ":webrtc_fuzzer_main",
+ "../../modules/audio_coding:webrtc_opus",
+ ]
+
+ if (is_clang) {
+ # Suppress warnings from Chrome's Clang plugins.
+ # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
+ configs -= [ "//build/config/clang:find_bad_constructs" ]
+ }
+}

Powered by Google App Engine
This is Rietveld 408576698