Revert "Move libopenjpeg to third_party/"
[pdfium.git] / BUILD.gn
index 76e05d6..97a475d 100644 (file)
--- a/BUILD.gn
+++ b/BUILD.gn
@@ -338,7 +338,6 @@ static_library("fxcodec") {
   deps = [
     "third_party:fx_lcms2",
     "third_party:fx_libjpeg",
-    "third_party:fx_libopenjpeg",
   ]
   sources = [
     "core/include/fxcodec/fx_codec.h",
@@ -353,6 +352,28 @@ static_library("fxcodec") {
     "core/src/fxcodec/codec/fx_codec_jbig_enc.cpp",
     "core/src/fxcodec/codec/fx_codec_jpeg.cpp",
     "core/src/fxcodec/codec/fx_codec_jpx_opj.cpp",
+    "core/src/fxcodec/fx_libopenjpeg/include/fx_openjpeg.h",
+    "core/src/fxcodec/fx_libopenjpeg/src/fx_bio.c",
+    "core/src/fxcodec/fx_libopenjpeg/src/fx_cio.c",
+    "core/src/fxcodec/fx_libopenjpeg/src/fx_dwt.c",
+    "core/src/fxcodec/fx_libopenjpeg/src/fx_event.c",
+    "core/src/fxcodec/fx_libopenjpeg/src/fx_function_list.c",
+    "core/src/fxcodec/fx_libopenjpeg/src/fx_image.c",
+    "core/src/fxcodec/fx_libopenjpeg/src/fx_invert.c",
+    "core/src/fxcodec/fx_libopenjpeg/src/fx_j2k.c",
+    "core/src/fxcodec/fx_libopenjpeg/src/fx_j2k_lib.c",
+    "core/src/fxcodec/fx_libopenjpeg/src/fx_jpt.c",
+    "core/src/fxcodec/fx_libopenjpeg/src/fx_mct.c",
+    "core/src/fxcodec/fx_libopenjpeg/src/fx_mqc.c",
+    "core/src/fxcodec/fx_libopenjpeg/src/fx_openjpeg.c",
+    "core/src/fxcodec/fx_libopenjpeg/src/fx_openjpeg_jp2.c",
+    "core/src/fxcodec/fx_libopenjpeg/src/fx_opj_clock.c",
+    "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_t2.c",
+    "core/src/fxcodec/fx_libopenjpeg/src/fx_tcd.c",
+    "core/src/fxcodec/fx_libopenjpeg/src/fx_tgt.c",
     "core/src/fxcodec/fx_zlib/include/fx_zlib.h",
     "core/src/fxcodec/fx_zlib/src/fx_zlib_adler32.c",
     "core/src/fxcodec/fx_zlib/src/fx_zlib_compress.c",