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

Side by Side Diff: testing/libfuzzer/BUILD.gn

Issue 2365143002: Add fuzzer for cmap parsing (Closed)
Patch Set: Created 4 years, 2 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 | testing/libfuzzer/pdf_cmap_fuzzer.cc » ('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 2016 The PDFium Authors. All rights reserved. 1 # Copyright 2016 The PDFium 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("../../pdfium.gni") 5 import("../../pdfium.gni")
6 6
7 config("libfuzzer_config") { 7 config("libfuzzer_config") {
8 configs = [ "//third_party/pdfium:pdfium_core_config" ] 8 configs = [ "//third_party/pdfium:pdfium_core_config" ]
9 9
10 defines = [ 10 defines = [
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
147 "//third_party/pdfium:pdfium", 147 "//third_party/pdfium:pdfium",
148 ] 148 ]
149 configs -= [ "//build/config/compiler:chromium_code" ] 149 configs -= [ "//build/config/compiler:chromium_code" ]
150 configs += [ 150 configs += [
151 "//build/config/compiler:no_chromium_code", 151 "//build/config/compiler:no_chromium_code",
152 ":libfuzzer_config", 152 ":libfuzzer_config",
153 ] 153 ]
154 } 154 }
155 } 155 }
156 156
157 source_set("pdf_cmap_fuzzer") {
158 testonly = true
159 sources = [
160 "pdf_cmap_fuzzer.cc",
161 ]
162 deps = [
163 "//third_party/pdfium:pdfium",
164 ]
165 configs -= [ "//build/config/compiler:chromium_code" ]
166 configs += [
167 "//build/config/compiler:no_chromium_code",
168 ":libfuzzer_config",
169 ]
170 }
171
157 source_set("pdf_codec_fax_fuzzer") { 172 source_set("pdf_codec_fax_fuzzer") {
158 testonly = true 173 testonly = true
159 sources = [ 174 sources = [
160 "pdf_codec_fax_fuzzer.cc", 175 "pdf_codec_fax_fuzzer.cc",
161 ] 176 ]
162 deps = [ 177 deps = [
163 "//third_party/pdfium:pdfium", 178 "//third_party/pdfium:pdfium",
164 ] 179 ]
165 configs -= [ "//build/config/compiler:chromium_code" ] 180 configs -= [ "//build/config/compiler:chromium_code" ]
166 configs += [ 181 configs += [
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 ] 251 ]
237 deps = [ 252 deps = [
238 "//third_party/pdfium:pdfium", 253 "//third_party/pdfium:pdfium",
239 ] 254 ]
240 configs -= [ "//build/config/compiler:chromium_code" ] 255 configs -= [ "//build/config/compiler:chromium_code" ]
241 configs += [ 256 configs += [
242 "//build/config/compiler:no_chromium_code", 257 "//build/config/compiler:no_chromium_code",
243 ":libfuzzer_config", 258 ":libfuzzer_config",
244 ] 259 ]
245 } 260 }
OLDNEW
« no previous file with comments | « no previous file | testing/libfuzzer/pdf_cmap_fuzzer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698