diff options
author | Tom Sepez <tsepez@chromium.org> | 2015-10-12 15:43:01 -0700 |
---|---|---|
committer | Tom Sepez <tsepez@chromium.org> | 2015-10-12 15:43:01 -0700 |
commit | 5ef9faa8e8f5593556d78f775d86f1e52e4c341a (patch) | |
tree | 6690eee12e5ab604337fe30db7c5a725aaac3e2c /third_party/BUILD.gn | |
parent | 0dfd03060be722485f44446f18e2e4eaf9344595 (diff) | |
download | pdfium-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/BUILD.gn')
-rw-r--r-- | third_party/BUILD.gn | 72 |
1 files changed, 72 insertions, 0 deletions
diff --git a/third_party/BUILD.gn b/third_party/BUILD.gn index a6c9520aba..5814a7db97 100644 --- a/third_party/BUILD.gn +++ b/third_party/BUILD.gn @@ -234,6 +234,78 @@ source_set("fx_libopenjpeg") { ] } +source_set("fx_lpng") { + configs -= [ "//build/config/compiler:chromium_code" ] + configs += [ + "//build/config/compiler:no_chromium_code", + "//third_party/pdfium:pdfium_config", + ] + 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", + ] +} + +source_set("fx_tiff") { + configs -= [ "//build/config/compiler:chromium_code" ] + configs += [ + "//build/config/compiler:no_chromium_code", + "//third_party/pdfium:pdfium_config", + ] + 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", + ] +} + source_set("fx_zlib") { configs -= [ "//build/config/compiler:chromium_code" ] configs += [ |