| 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" ]
|
| +}
|
|
|