Commit bb372ca2 authored by Ryan Harrison's avatar Ryan Harrison Committed by Commit Bot

Disable LZW fuzzer when GIF codec disabled

This fuzzer is testing the LZW decompressor implementation in the GIF
codec, so its inclusion/exclusion from builds should be coupled with
the GIF codec's.

BUG=pdfium:1080

Change-Id: I0ead2c6b3f7d109f71dd9402eae49e0e157f2dd5
Reviewed-on: https://chromium-review.googlesource.com/1052223Reviewed-by: default avatarTom Sepez <tsepez@chromium.org>
Reviewed-by: default avatardsinclair <dsinclair@chromium.org>
Commit-Queue: Ryan Harrison <rharrison@chromium.org>
Cr-Commit-Position: refs/heads/master@{#557297}
parent 1bcc133e
......@@ -35,7 +35,6 @@ group("pdf_fuzzers") {
":pdf_css_fuzzer",
":pdf_fm2js_fuzzer",
":pdf_formcalc_fuzzer",
":pdf_lzw_fuzzer",
":pdf_xml_fuzzer",
":pdfium_xfa_fuzzer",
]
......@@ -43,7 +42,10 @@ group("pdf_fuzzers") {
deps += [ ":pdf_codec_bmp_fuzzer" ]
}
if (pdf_enable_xfa_gif) {
deps += [ ":pdf_codec_gif_fuzzer" ]
deps += [
":pdf_codec_gif_fuzzer",
":pdf_lzw_fuzzer",
]
}
if (pdf_enable_xfa_png) {
deps += [ ":pdf_codec_png_fuzzer" ]
......@@ -235,11 +237,13 @@ if (pdf_enable_xfa) {
dict = "dicts/pdf_formcalc.dict"
}
fuzzer_test("pdf_lzw_fuzzer") {
sources = []
deps = [
"//third_party/pdfium/testing/libfuzzer:pdf_lzw_fuzzer",
]
if (pdf_enable_xfa_gif) {
fuzzer_test("pdf_lzw_fuzzer") {
sources = []
deps = [
"//third_party/pdfium/testing/libfuzzer:pdf_lzw_fuzzer",
]
}
}
fuzzer_test("pdf_xml_fuzzer") {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment