summaryrefslogtreecommitdiff
path: root/third_party/third_party.gyp
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2015-10-12 15:43:01 -0700
committerTom Sepez <tsepez@chromium.org>2015-10-12 15:43:01 -0700
commit5ef9faa8e8f5593556d78f775d86f1e52e4c341a (patch)
tree6690eee12e5ab604337fe30db7c5a725aaac3e2c /third_party/third_party.gyp
parent0dfd03060be722485f44446f18e2e4eaf9344595 (diff)
downloadpdfium-5ef9faa8e8f5593556d78f775d86f1e52e4c341a.tar.xz
XFA: Move fx_codec's lpng and tiff to third_party/
We did this with the other codecs in master, but these two are XFA-only, and did not get the same treatment. Remove some fx_ prefixes in the third-party file names. R=thestig@chromium.org Review URL: https://codereview.chromium.org/1392373004 .
Diffstat (limited to 'third_party/third_party.gyp')
-rw-r--r--third_party/third_party.gyp67
1 files changed, 67 insertions, 0 deletions
diff --git a/third_party/third_party.gyp b/third_party/third_party.gyp
index df5341d44a..e77a92a008 100644
--- a/third_party/third_party.gyp
+++ b/third_party/third_party.gyp
@@ -6,6 +6,9 @@
'target_defaults': {
'defines': [
'OPJ_STATIC',
+ 'PNG_PREFIX',
+ 'PNGPREFIX_H',
+ 'PNG_USE_READ_MACROS',
'_CRT_SECURE_NO_WARNINGS',
],
'msvs_disabled_warnings': [
@@ -238,6 +241,70 @@
],
},
{
+ 'target_name': 'fx_lpng',
+ 'type': 'static_library',
+ 'sources': [
+ 'lpng_v163/png.h',
+ 'lpng_v163/png.c',
+ 'lpng_v163/pngerror.c',
+ 'lpng_v163/pngget.c',
+ 'lpng_v163/pngmem.c',
+ 'lpng_v163/pngpread.c',
+ 'lpng_v163/pngread.c',
+ 'lpng_v163/pngrio.c',
+ 'lpng_v163/pngrtran.c',
+ 'lpng_v163/pngrutil.c',
+ 'lpng_v163/pngset.c',
+ 'lpng_v163/pngtrans.c',
+ 'lpng_v163/pngwio.c',
+ 'lpng_v163/pngwrite.c',
+ 'lpng_v163/pngwtran.c',
+ 'lpng_v163/pngwutil.c',
+ ],
+ },
+ {
+ 'target_name': 'fx_tiff',
+ 'type': 'static_library',
+ 'sources': [
+ 'tiff_v403/tiffiop.h',
+ 'tiff_v403/tif_aux.c',
+ 'tiff_v403/tif_close.c',
+ 'tiff_v403/tif_codec.c',
+ 'tiff_v403/tif_color.c',
+ 'tiff_v403/tif_compress.c',
+ 'tiff_v403/tif_dir.c',
+ 'tiff_v403/tif_dirinfo.c',
+ 'tiff_v403/tif_dirread.c',
+ 'tiff_v403/tif_dirwrite.c',
+ 'tiff_v403/tif_dumpmode.c',
+ 'tiff_v403/tif_error.c',
+ 'tiff_v403/tif_extension.c',
+ 'tiff_v403/tif_fax3.c',
+ 'tiff_v403/tif_fax3sm.c',
+ 'tiff_v403/tif_flush.c',
+ 'tiff_v403/tif_getimage.c',
+ 'tiff_v403/tif_jpeg.c',
+ 'tiff_v403/tif_luv.c',
+ 'tiff_v403/tif_lzw.c',
+ 'tiff_v403/tif_next.c',
+ 'tiff_v403/tif_ojpeg.c',
+ 'tiff_v403/tif_open.c',
+ 'tiff_v403/tif_packbits.c',
+ 'tiff_v403/tif_pixarlog.c',
+ 'tiff_v403/tif_predict.c',
+ 'tiff_v403/tif_print.c',
+ 'tiff_v403/tif_read.c',
+ 'tiff_v403/tif_strip.c',
+ 'tiff_v403/tif_swab.c',
+ 'tiff_v403/tif_thunder.c',
+ 'tiff_v403/tif_tile.c',
+ 'tiff_v403/tif_version.c',
+ 'tiff_v403/tif_warning.c',
+ 'tiff_v403/tif_write.c',
+ 'tiff_v403/tif_zip.c',
+ ],
+ },
+ {
'target_name': 'fx_zlib',
'type': 'static_library',
'sources': [