Remove OpenJPEG header generator binary from PDFium build.
authorJohn Abd-El-Malek <jam@chromium.org>
Tue, 3 Feb 2015 17:12:23 +0000 (09:12 -0800)
committerJohn Abd-El-Malek <jam@chromium.org>
Tue, 3 Feb 2015 17:12:23 +0000 (09:12 -0800)
This is giving duplicate symbols for main when linking PDFium into Chromium.

BUG=453844
R=tsepez@chromium.org

Review URL: https://codereview.chromium.org/897463003

BUILD.gn
pdfium.gyp

index 988ca7e..d71002d 100644 (file)
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -339,7 +339,6 @@ static_library("fxcodec") {
     "core/src/fxcodec/fx_libopenjpeg/src/fx_pi.c",
     "core/src/fxcodec/fx_libopenjpeg/src/fx_raw.c",
     "core/src/fxcodec/fx_libopenjpeg/src/fx_t1.c",
-    "core/src/fxcodec/fx_libopenjpeg/src/fx_t1_generate_luts.c",
     "core/src/fxcodec/fx_libopenjpeg/src/fx_t2.c",
     "core/src/fxcodec/fx_libopenjpeg/src/fx_tcd.c",
     "core/src/fxcodec/fx_libopenjpeg/src/fx_tgt.c",
index 7b6ac0c..a09caa1 100644 (file)
         'core/src/fxcodec/fx_libopenjpeg/src/fx_pi.c',
         'core/src/fxcodec/fx_libopenjpeg/src/fx_raw.c',
         'core/src/fxcodec/fx_libopenjpeg/src/fx_t1.c',
-        'core/src/fxcodec/fx_libopenjpeg/src/fx_t1_generate_luts.c',
         'core/src/fxcodec/fx_libopenjpeg/src/fx_t2.c',
         'core/src/fxcodec/fx_libopenjpeg/src/fx_tcd.c',
         'core/src/fxcodec/fx_libopenjpeg/src/fx_tgt.c',