From 265886b2befa2a135113155937bafa9704329635 Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Thu, 11 Oct 2018 05:30:04 +0000 Subject: 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 Commit-Queue: Lei Zhang --- BUILD.gn | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/BUILD.gn b/BUILD.gn index e0762c094d..9ba9d891c6 100644 --- a/BUILD.gn +++ b/BUILD.gn @@ -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", - ] - } } } -- cgit v1.2.3