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

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

Issue 2362623002: Add fuzzer for icc codec (Closed)
Patch Set: address tsepez's comments 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 | testing/libfuzzer/pdf_codec_icc_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 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
162 deps = [ 162 deps = [
163 "//third_party/pdfium:pdfium", 163 "//third_party/pdfium:pdfium",
164 ] 164 ]
165 configs -= [ "//build/config/compiler:chromium_code" ] 165 configs -= [ "//build/config/compiler:chromium_code" ]
166 configs += [ 166 configs += [
167 "//build/config/compiler:no_chromium_code", 167 "//build/config/compiler:no_chromium_code",
168 ":libfuzzer_config", 168 ":libfuzzer_config",
169 ] 169 ]
170 } 170 }
171 171
172 source_set("pdf_codec_icc_fuzzer") {
173 testonly = true
174 sources = [
175 "pdf_codec_icc_fuzzer.cc",
176 ]
177 deps = [
178 "//third_party/pdfium:pdfium",
179 ]
180 configs -= [ "//build/config/compiler:chromium_code" ]
181 configs += [
182 "//build/config/compiler:no_chromium_code",
183 ":libfuzzer_config",
184 ]
185 }
186
172 source_set("pdf_jpx_fuzzer") { 187 source_set("pdf_jpx_fuzzer") {
173 testonly = true 188 testonly = true
174 sources = [ 189 sources = [
175 "pdf_jpx_fuzzer.cc", 190 "pdf_jpx_fuzzer.cc",
176 ] 191 ]
177 deps = [ 192 deps = [
178 "//third_party/pdfium:pdfium", 193 "//third_party/pdfium:pdfium",
179 ] 194 ]
180 configs -= [ "//build/config/compiler:chromium_code" ] 195 configs -= [ "//build/config/compiler:chromium_code" ]
181 configs += [ 196 configs += [
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 ] 236 ]
222 deps = [ 237 deps = [
223 "//third_party/pdfium:pdfium", 238 "//third_party/pdfium:pdfium",
224 ] 239 ]
225 configs -= [ "//build/config/compiler:chromium_code" ] 240 configs -= [ "//build/config/compiler:chromium_code" ]
226 configs += [ 241 configs += [
227 "//build/config/compiler:no_chromium_code", 242 "//build/config/compiler:no_chromium_code",
228 ":libfuzzer_config", 243 ":libfuzzer_config",
229 ] 244 ]
230 } 245 }
OLDNEW
« no previous file with comments | « no previous file | testing/libfuzzer/pdf_codec_icc_fuzzer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698