diff options
author | Lei Zhang <thestig@chromium.org> | 2018-10-11 05:30:04 +0000 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2018-10-11 05:30:04 +0000 |
commit | 265886b2befa2a135113155937bafa9704329635 (patch) | |
tree | 8f02e7ff782a628a8e837f44b7f53a35d720c32c | |
parent | 8dc38b40c10321a6858b000c3d0b7d90e4540dca (diff) | |
download | pdfium-265886b2befa2a135113155937bafa9704329635.tar.xz |
Update build rules for CFX_CodecMemory.
It it no longer only used with BMP and GIF formats.
BUG=chromium:894325
TBR=tsepez@chromium.org
Change-Id: I6d53bf29b8b8eb37c30139f3f48ce54d77579f9f
Reviewed-on: https://pdfium-review.googlesource.com/c/43871
Reviewed-by: Lei Zhang <thestig@chromium.org>
Commit-Queue: Lei Zhang <thestig@chromium.org>
-rw-r--r-- | BUILD.gn | 8 |
1 files changed, 2 insertions, 6 deletions
@@ -736,6 +736,8 @@ jumbo_static_library("fxcodec") { "core/fxcodec/codec/ccodec_jpxmodule.h", "core/fxcodec/codec/ccodec_scanlinedecoder.cpp", "core/fxcodec/codec/ccodec_scanlinedecoder.h", + "core/fxcodec/codec/cfx_codec_memory.cpp", + "core/fxcodec/codec/cfx_codec_memory.h", "core/fxcodec/codec/cjpx_decoder.h", "core/fxcodec/codec/codec_int.h", "core/fxcodec/codec/codec_module_iface.h", @@ -830,12 +832,6 @@ jumbo_static_library("fxcodec") { ] deps += [ "third_party:fx_tiff" ] } - if (pdf_enable_xfa_bmp || pdf_enable_xfa_gif) { - sources += [ - "core/fxcodec/codec/cfx_codec_memory.cpp", - "core/fxcodec/codec/cfx_codec_memory.h", - ] - } } } |