summaryrefslogtreecommitdiff
path: root/testing/libfuzzer/BUILD.gn
diff options
context:
space:
mode:
authorOliver Chang <ochang@chromium.org>2016-03-18 16:45:33 -0700
committerOliver Chang <ochang@chromium.org>2016-03-18 16:45:33 -0700
commitbf067b461368abf7303a1285183128790134b169 (patch)
tree539cedebd405e2b170c869c918e9f31171e998ab /testing/libfuzzer/BUILD.gn
parent262e3246921f284c97fdf8968f8093782df5d487 (diff)
downloadpdfium-bf067b461368abf7303a1285183128790134b169.tar.xz
Add an openjpeg libfuzzer.
BUG=591789 R=tsepez@chromium.org Review URL: https://codereview.chromium.org/1814223003 .
Diffstat (limited to 'testing/libfuzzer/BUILD.gn')
-rw-r--r--testing/libfuzzer/BUILD.gn14
1 files changed, 14 insertions, 0 deletions
diff --git a/testing/libfuzzer/BUILD.gn b/testing/libfuzzer/BUILD.gn
index d5ccb7f40f..0fb43f2790 100644
--- a/testing/libfuzzer/BUILD.gn
+++ b/testing/libfuzzer/BUILD.gn
@@ -47,4 +47,18 @@ if (pdf_enable_xfa) {
":libfuzzer_config",
]
}
+ source_set("pdf_jpx_fuzzer") {
+ testonly = true
+ sources = [
+ "pdf_jpx_fuzzer.cc",
+ ]
+ deps = [
+ "//third_party/pdfium:pdfium",
+ ]
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [
+ "//build/config/compiler:no_chromium_code",
+ ":libfuzzer_config",
+ ]
+ }
}