summaryrefslogtreecommitdiff
path: root/third_party/third_party.gyp
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2015-06-17 17:17:14 -0700
committerTom Sepez <tsepez@chromium.org>2015-06-17 17:17:14 -0700
commitc7a17bf9cdb0d646aa8b653e6ab2678a1837ed6a (patch)
treea63eadd4ebea416b8a400f1fc7e3d103c665a0e4 /third_party/third_party.gyp
parentff8347a4b16f000be628c5e10d03a1e1c17537eb (diff)
downloadpdfium-c7a17bf9cdb0d646aa8b653e6ab2678a1837ed6a.tar.xz
Move libopenjpeg to third_party/
We get to delete a whole bunch of fx_foo.c files that did nothing but #include "foo.c" after defining _CRT_SECURE_NO_WARNINGS. Do this from the .gyp/.gn files instead. Also sort some "config"s in .gn file. R=thestig@chromium.org Review URL: https://codereview.chromium.org/1185373010.
Diffstat (limited to 'third_party/third_party.gyp')
-rw-r--r--third_party/third_party.gyp28
1 files changed, 28 insertions, 0 deletions
diff --git a/third_party/third_party.gyp b/third_party/third_party.gyp
index 6dbff565a4..a385036e49 100644
--- a/third_party/third_party.gyp
+++ b/third_party/third_party.gyp
@@ -200,6 +200,34 @@
],
},
{
+ 'target_name': 'fx_libopenjpeg',
+ 'type': 'static_library',
+ 'defines': [
+ '_CRT_SECURE_NO_WARNINGS',
+ ],
+ 'sources': [
+ 'libopenjpeg20/bio.c',
+ 'libopenjpeg20/cio.c',
+ 'libopenjpeg20/dwt.c',
+ 'libopenjpeg20/event.c',
+ 'libopenjpeg20/function_list.c',
+ 'libopenjpeg20/image.c',
+ 'libopenjpeg20/invert.c',
+ 'libopenjpeg20/j2k.c',
+ 'libopenjpeg20/jp2.c',
+ 'libopenjpeg20/mct.c',
+ 'libopenjpeg20/mqc.c',
+ 'libopenjpeg20/openjpeg.c',
+ 'libopenjpeg20/opj_clock.c',
+ 'libopenjpeg20/pi.c',
+ 'libopenjpeg20/raw.c',
+ 'libopenjpeg20/t1.c',
+ 'libopenjpeg20/t2.c',
+ 'libopenjpeg20/tcd.c',
+ 'libopenjpeg20/tgt.c',
+ ],
+ },
+ {
'target_name': 'pdfium_base',
'type': 'none',
'sources': [