Replace some Release() calls with virtual destructors.
[pdfium.git] / pdfium.gyp
index ad4ecc2..8b19c83 100644 (file)
       'type': 'static_library',
       'dependencies': [
         'third_party/third_party.gyp:fx_lcms2',
+        'third_party/third_party.gyp:fx_libjpeg',
       ],
       'ldflags': [ '-L<(PRODUCT_DIR)',],
       'sources': [
         'core/src/fxcodec/jbig2/JBig2_SymbolDict.h',
         'core/src/fxcodec/lcms2/fx_lcms2.h',
         'core/src/fxcodec/lcms2/fx_lcms2_plugin.h',
-        'core/src/fxcodec/libjpeg/cderror.h',
-        'core/src/fxcodec/libjpeg/cdjpeg.h',
-        'core/src/fxcodec/libjpeg/fpdfapi_jcapimin.c',
-        'core/src/fxcodec/libjpeg/fpdfapi_jcapistd.c',
-        'core/src/fxcodec/libjpeg/fpdfapi_jccoefct.c',
-        'core/src/fxcodec/libjpeg/fpdfapi_jccolor.c',
-        'core/src/fxcodec/libjpeg/fpdfapi_jcdctmgr.c',
-        'core/src/fxcodec/libjpeg/fpdfapi_jchuff.c',
-        'core/src/fxcodec/libjpeg/fpdfapi_jcinit.c',
-        'core/src/fxcodec/libjpeg/fpdfapi_jcmainct.c',
-        'core/src/fxcodec/libjpeg/fpdfapi_jcmarker.c',
-        'core/src/fxcodec/libjpeg/fpdfapi_jcmaster.c',
-        'core/src/fxcodec/libjpeg/fpdfapi_jcomapi.c',
-        'core/src/fxcodec/libjpeg/fpdfapi_jcparam.c',
-        'core/src/fxcodec/libjpeg/fpdfapi_jcphuff.c',
-        'core/src/fxcodec/libjpeg/fpdfapi_jcprepct.c',
-        'core/src/fxcodec/libjpeg/fpdfapi_jcsample.c',
-        'core/src/fxcodec/libjpeg/fpdfapi_jctrans.c',
-        'core/src/fxcodec/libjpeg/fpdfapi_jdapimin.c',
-        'core/src/fxcodec/libjpeg/fpdfapi_jdapistd.c',
-        'core/src/fxcodec/libjpeg/fpdfapi_jdcoefct.c',
-        'core/src/fxcodec/libjpeg/fpdfapi_jdcolor.c',
-        'core/src/fxcodec/libjpeg/fpdfapi_jddctmgr.c',
-        'core/src/fxcodec/libjpeg/fpdfapi_jdhuff.c',
-        'core/src/fxcodec/libjpeg/fpdfapi_jdinput.c',
-        'core/src/fxcodec/libjpeg/fpdfapi_jdmainct.c',
-        'core/src/fxcodec/libjpeg/fpdfapi_jdmarker.c',
-        'core/src/fxcodec/libjpeg/fpdfapi_jdmaster.c',
-        'core/src/fxcodec/libjpeg/fpdfapi_jdmerge.c',
-        'core/src/fxcodec/libjpeg/fpdfapi_jdphuff.c',
-        'core/src/fxcodec/libjpeg/fpdfapi_jdpostct.c',
-        'core/src/fxcodec/libjpeg/fpdfapi_jdsample.c',
-        'core/src/fxcodec/libjpeg/fpdfapi_jdtrans.c',
-        'core/src/fxcodec/libjpeg/fpdfapi_jerror.c',
-        'core/src/fxcodec/libjpeg/fpdfapi_jfdctfst.c',
-        'core/src/fxcodec/libjpeg/fpdfapi_jfdctint.c',
-        'core/src/fxcodec/libjpeg/fpdfapi_jidctfst.c',
-        'core/src/fxcodec/libjpeg/fpdfapi_jidctint.c',
-        'core/src/fxcodec/libjpeg/fpdfapi_jidctred.c',
-        'core/src/fxcodec/libjpeg/fpdfapi_jmemmgr.c',
-        'core/src/fxcodec/libjpeg/fpdfapi_jmemnobs.c',
-        'core/src/fxcodec/libjpeg/fpdfapi_jutils.c',
-        'core/src/fxcodec/libjpeg/jchuff.h',
-        'core/src/fxcodec/libjpeg/jconfig.h',
-        'core/src/fxcodec/libjpeg/jdct.h',
-        'core/src/fxcodec/libjpeg/jdhuff.h',
-        'core/src/fxcodec/libjpeg/jerror.h',
-        'core/src/fxcodec/libjpeg/jinclude.h',
-        'core/src/fxcodec/libjpeg/jmemsys.h',
-        'core/src/fxcodec/libjpeg/jmorecfg.h',
-        'core/src/fxcodec/libjpeg/jpegint.h',
-        'core/src/fxcodec/libjpeg/jpeglib.h',
-        'core/src/fxcodec/libjpeg/jversion.h',
-        'core/src/fxcodec/libjpeg/makefile',
-        'core/src/fxcodec/libjpeg/transupp.h',
+        'core/src/fxcodec/libjpeg/fx_libjpeg.h',
       ],
       'msvs_settings': {
         'VCCLCompilerTool': {