From 0a11975b69d93edd9a65704ee9559774b7a35f5b Mon Sep 17 00:00:00 2001 From: Tom Sepez Date: Wed, 17 Jun 2015 15:46:03 -0700 Subject: Merge to XFA: Move libjpeg to third_party/ Original Review URL: https://codereview.chromium.org/1186113005. TBR=thestig@chromium.org Review URL: https://codereview.chromium.org/1175193007. --- third_party/third_party.gyp | 70 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 70 insertions(+) (limited to 'third_party/third_party.gyp') diff --git a/third_party/third_party.gyp b/third_party/third_party.gyp index 524416289e..6dbff565a4 100644 --- a/third_party/third_party.gyp +++ b/third_party/third_party.gyp @@ -129,6 +129,76 @@ }], ], }, + { + 'target_name': 'fx_libjpeg', + 'type': 'static_library', + 'sources': [ + 'libjpeg/cderror.h', + 'libjpeg/cdjpeg.h', + 'libjpeg/fpdfapi_jcapimin.c', + 'libjpeg/fpdfapi_jcapistd.c', + 'libjpeg/fpdfapi_jccoefct.c', + 'libjpeg/fpdfapi_jccolor.c', + 'libjpeg/fpdfapi_jcdctmgr.c', + 'libjpeg/fpdfapi_jchuff.c', + 'libjpeg/fpdfapi_jcinit.c', + 'libjpeg/fpdfapi_jcmainct.c', + 'libjpeg/fpdfapi_jcmarker.c', + 'libjpeg/fpdfapi_jcmaster.c', + 'libjpeg/fpdfapi_jcomapi.c', + 'libjpeg/fpdfapi_jcparam.c', + 'libjpeg/fpdfapi_jcphuff.c', + 'libjpeg/fpdfapi_jcprepct.c', + 'libjpeg/fpdfapi_jcsample.c', + 'libjpeg/fpdfapi_jctrans.c', + 'libjpeg/fpdfapi_jdapimin.c', + 'libjpeg/fpdfapi_jdapistd.c', + 'libjpeg/fpdfapi_jdcoefct.c', + 'libjpeg/fpdfapi_jdcolor.c', + 'libjpeg/fpdfapi_jddctmgr.c', + 'libjpeg/fpdfapi_jdhuff.c', + 'libjpeg/fpdfapi_jdinput.c', + 'libjpeg/fpdfapi_jdmainct.c', + 'libjpeg/fpdfapi_jdmarker.c', + 'libjpeg/fpdfapi_jdmaster.c', + 'libjpeg/fpdfapi_jdmerge.c', + 'libjpeg/fpdfapi_jdphuff.c', + 'libjpeg/fpdfapi_jdpostct.c', + 'libjpeg/fpdfapi_jdsample.c', + 'libjpeg/fpdfapi_jdtrans.c', + 'libjpeg/fpdfapi_jerror.c', + 'libjpeg/fpdfapi_jfdctfst.c', + 'libjpeg/fpdfapi_jfdctint.c', + 'libjpeg/fpdfapi_jidctfst.c', + 'libjpeg/fpdfapi_jidctint.c', + 'libjpeg/fpdfapi_jidctred.c', + 'libjpeg/fpdfapi_jmemmgr.c', + 'libjpeg/fpdfapi_jmemnobs.c', + 'libjpeg/fpdfapi_jutils.c', + 'libjpeg/jchuff.h', + 'libjpeg/jconfig.h', + 'libjpeg/jdct.h', + 'libjpeg/jdhuff.h', + 'libjpeg/jerror.h', + 'libjpeg/jinclude.h', + 'libjpeg/jmemsys.h', + 'libjpeg/jmorecfg.h', + 'libjpeg/jpegint.h', + 'libjpeg/jpeglib.h', + 'libjpeg/jversion.h', + 'libjpeg/makefile', + 'libjpeg/transupp.h', + ], + 'conditions': [ + ['os_posix==1', { + 'cflags': [ + '-Wno-main', + '-Wno-missing-braces', + '-Wno-unused', + ], + }], + ], + }, { 'target_name': 'pdfium_base', 'type': 'none', -- cgit v1.2.3