Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(527)

Unified Diff: third_party/third_party.gyp

Issue 1392373004: Rename lpng and tiff to third_party/ (Closed) Base URL: https://pdfium.googlesource.com/pdfium.git@xfa
Patch Set: GN Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/third_party.gyp
diff --git a/third_party/third_party.gyp b/third_party/third_party.gyp
index df5341d44a54f19e106f7fc9e00b764159e65916..e77a92a0085f8e91f4fec913de3e6e4920ade152 100644
--- a/third_party/third_party.gyp
+++ b/third_party/third_party.gyp
@@ -6,6 +6,9 @@
'target_defaults': {
'defines': [
'OPJ_STATIC',
+ 'PNG_PREFIX',
Lei Zhang 2015/10/12 22:17:01 Do these need to be added to third_party/BUILD.gn?
+ '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',
Lei Zhang 2015/10/12 22:17:01 also sort
+ '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': [

Powered by Google App Engine
This is Rietveld 408576698