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

Unified Diff: third_party/brotli/BUILD.gn

Issue 2748323002: Pickup github update for brotli fuzz target. (Closed)
Patch Set: Move fuzzer to brotli/fuzz Created 3 years, 9 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 | « testing/libfuzzer/fuzzers/brotli_fuzzer.cc ('k') | third_party/brotli/README.chromium » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/brotli/BUILD.gn
diff --git a/third_party/brotli/BUILD.gn b/third_party/brotli/BUILD.gn
index 2acb54b50760faf6194048f2788142fd407f758c..43911338745b0e1200892133fe3b479403b73e1f 100644
--- a/third_party/brotli/BUILD.gn
+++ b/third_party/brotli/BUILD.gn
@@ -2,6 +2,8 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
+import("//testing/libfuzzer/fuzzer_test.gni")
+
if (is_win) {
import("//build/config/win/visual_studio_version.gni")
}
@@ -128,3 +130,13 @@ if (current_toolchain == host_toolchain) {
}
}
}
+
+fuzzer_test("brotli_fuzzer") {
+ sources = [
+ "fuzz/decode_fuzzer.cc",
+ ]
+ deps = [
+ ":dec",
+ ]
+ libfuzzer_options = [ "max_len=1280" ]
+}
« no previous file with comments | « testing/libfuzzer/fuzzers/brotli_fuzzer.cc ('k') | third_party/brotli/README.chromium » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698