summaryrefslogtreecommitdiff
path: root/third_party/BUILD.gn
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2015-06-17 15:24:01 -0700
committerTom Sepez <tsepez@chromium.org>2015-06-17 15:24:01 -0700
commit13c1272fcd9717cfa481f211617e56a3e78a8f1a (patch)
tree4dfc7f26d909c59b54f8d1418a18f0dfc688aba3 /third_party/BUILD.gn
parent16a0b24fb35b6cb2e7e57a42735c0081fb9f2a20 (diff)
downloadpdfium-13c1272fcd9717cfa481f211617e56a3e78a8f1a.tar.xz
Move libjpeg to third_party/
Removal of fpdfapi_ suffix can be part of a future CL. R=thestig@chromium.org Review URL: https://codereview.chromium.org/1186113005.
Diffstat (limited to 'third_party/BUILD.gn')
-rw-r--r--third_party/BUILD.gn65
1 files changed, 65 insertions, 0 deletions
diff --git a/third_party/BUILD.gn b/third_party/BUILD.gn
index b80ae5179b..11da543683 100644
--- a/third_party/BUILD.gn
+++ b/third_party/BUILD.gn
@@ -131,6 +131,71 @@ source_set("fx_lcms2") {
]
}
+source_set("fx_libjpeg") {
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [
+ "//build/config/compiler:no_chromium_code",
+ "//third_party/pdfium:pdfium_config",
+ ]
+ 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",
+ ]
+}
+
source_set("pdfium_base") {
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [