| OLD | NEW |
| 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 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 192 deps = [ | 192 deps = [ |
| 193 "//third_party/pdfium:pdfium", | 193 "//third_party/pdfium:pdfium", |
| 194 ] | 194 ] |
| 195 configs -= [ "//build/config/compiler:chromium_code" ] | 195 configs -= [ "//build/config/compiler:chromium_code" ] |
| 196 configs += [ | 196 configs += [ |
| 197 "//build/config/compiler:no_chromium_code", | 197 "//build/config/compiler:no_chromium_code", |
| 198 ":libfuzzer_config", | 198 ":libfuzzer_config", |
| 199 ] | 199 ] |
| 200 } | 200 } |
| 201 | 201 |
| 202 source_set("pdf_codec_jbig2_fuzzer") { |
| 203 testonly = true |
| 204 sources = [ |
| 205 "pdf_codec_jbig2_fuzzer.cc", |
| 206 ] |
| 207 deps = [ |
| 208 "//third_party/pdfium:pdfium", |
| 209 ] |
| 210 configs -= [ "//build/config/compiler:chromium_code" ] |
| 211 configs += [ |
| 212 "//build/config/compiler:no_chromium_code", |
| 213 ":libfuzzer_config", |
| 214 ] |
| 215 } |
| 216 |
| 202 source_set("pdf_jpx_fuzzer") { | 217 source_set("pdf_jpx_fuzzer") { |
| 203 testonly = true | 218 testonly = true |
| 204 sources = [ | 219 sources = [ |
| 205 "pdf_jpx_fuzzer.cc", | 220 "pdf_jpx_fuzzer.cc", |
| 206 ] | 221 ] |
| 207 deps = [ | 222 deps = [ |
| 208 "//third_party/pdfium:pdfium", | 223 "//third_party/pdfium:pdfium", |
| 209 ] | 224 ] |
| 210 configs -= [ "//build/config/compiler:chromium_code" ] | 225 configs -= [ "//build/config/compiler:chromium_code" ] |
| 211 configs += [ | 226 configs += [ |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 251 ] | 266 ] |
| 252 deps = [ | 267 deps = [ |
| 253 "//third_party/pdfium:pdfium", | 268 "//third_party/pdfium:pdfium", |
| 254 ] | 269 ] |
| 255 configs -= [ "//build/config/compiler:chromium_code" ] | 270 configs -= [ "//build/config/compiler:chromium_code" ] |
| 256 configs += [ | 271 configs += [ |
| 257 "//build/config/compiler:no_chromium_code", | 272 "//build/config/compiler:no_chromium_code", |
| 258 ":libfuzzer_config", | 273 ":libfuzzer_config", |
| 259 ] | 274 ] |
| 260 } | 275 } |
| OLD | NEW |