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

Side by Side 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 unified diff | 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//testing/libfuzzer/fuzzer_test.gni")
6
5 if (is_win) { 7 if (is_win) {
6 import("//build/config/win/visual_studio_version.gni") 8 import("//build/config/win/visual_studio_version.gni")
7 } 9 }
8 10
9 config("includes") { 11 config("includes") {
10 include_dirs = [ "include" ] 12 include_dirs = [ "include" ]
11 } 13 }
12 14
13 static_library("common") { 15 static_library("common") {
14 sources = [ 16 sources = [
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
121 cflags = [ "/wd4334" ] 123 cflags = [ "/wd4334" ]
122 } 124 }
123 125
124 # Always build release since this is a build tool. 126 # Always build release since this is a build tool.
125 if (is_debug) { 127 if (is_debug) {
126 configs -= [ "//build/config:debug" ] 128 configs -= [ "//build/config:debug" ]
127 configs += [ "//build/config:release" ] 129 configs += [ "//build/config:release" ]
128 } 130 }
129 } 131 }
130 } 132 }
133
134 fuzzer_test("brotli_fuzzer") {
135 sources = [
136 "fuzz/decode_fuzzer.cc",
137 ]
138 deps = [
139 ":dec",
140 ]
141 libfuzzer_options = [ "max_len=1280" ]
142 }
OLDNEW
« 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