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

Side by Side Diff: third_party/hunspell/BUILD.gn

Issue 2223603002: [Hunspell Fuzzer] Restrict fuzzer data to valid UTF8 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Clearly, adding a dependency is HARD. Created 4 years, 3 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 | « no previous file | third_party/hunspell/fuzz/DEPS » ('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") 5 import("//testing/libfuzzer/fuzzer_test.gni")
6 6
7 config("hunspell_config") { 7 config("hunspell_config") {
8 defines = [ 8 defines = [
9 "HUNSPELL_STATIC", 9 "HUNSPELL_STATIC",
10 "HUNSPELL_CHROME_CLIENT", 10 "HUNSPELL_CHROME_CLIENT",
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 } 112 }
113 } 113 }
114 114
115 fuzzer_test("hunspell_fuzzer") { 115 fuzzer_test("hunspell_fuzzer") {
116 sources = [ 116 sources = [
117 "fuzz/hunspell_fuzzer.cc", 117 "fuzz/hunspell_fuzzer.cc",
118 "fuzz/hunspell_fuzzer_hunspell_dictionary.h", 118 "fuzz/hunspell_fuzzer_hunspell_dictionary.h",
119 ] 119 ]
120 deps = [ 120 deps = [
121 ":hunspell", 121 ":hunspell",
122 "//base:base",
122 ] 123 ]
123 124
124 # This is a dictionary for the fuzzer, not a spellcheck dictionary. 125 # This is a dictionary for the fuzzer, not a spellcheck dictionary.
125 dict = "fuzz/hunspell.dict" 126 dict = "fuzz/hunspell.dict"
126 } 127 }
OLDNEW
« no previous file with comments | « no previous file | third_party/hunspell/fuzz/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698