summaryrefslogtreecommitdiff
path: root/third_party/BUILD.gn
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2015-06-19 12:57:10 -0700
committerTom Sepez <tsepez@chromium.org>2015-06-19 12:57:10 -0700
commit6f93de501d591a6c2980d38a1ff0a6b5e434b80a (patch)
treeebcf5e9817911e84b25c9f975ca8e0679d736b07 /third_party/BUILD.gn
parent6fd997b710e96e0c66d6dcd2e1c5cfd950d6accd (diff)
downloadpdfium-6f93de501d591a6c2980d38a1ff0a6b5e434b80a.tar.xz
Merge to XFA: Move zlib to third_party/
(cherry picked from commit 959eb05140a8f5af7724a2da4cf5d04e2e50f4a6) Original Review URL: https://codereview.chromium.org/1197693003. TBR=thestig@chromium.org Review URL: https://codereview.chromium.org/1197863002.
Diffstat (limited to 'third_party/BUILD.gn')
-rw-r--r--third_party/BUILD.gn25
1 files changed, 25 insertions, 0 deletions
diff --git a/third_party/BUILD.gn b/third_party/BUILD.gn
index c988e7d8b0..549df8a3ae 100644
--- a/third_party/BUILD.gn
+++ b/third_party/BUILD.gn
@@ -225,6 +225,31 @@ source_set("fx_libopenjpeg") {
]
}
+source_set("fx_zlib") {
+ configs -= [ "//build/config/compiler:chromium_code" ]
+ configs += [
+ "//build/config/compiler:no_chromium_code",
+ "//third_party/pdfium:pdfium_config",
+ ]
+ sources = [
+ "zlib_v128/adler32.c",
+ "zlib_v128/compress.c",
+ "zlib_v128/crc32.c",
+ "zlib_v128/deflate.c",
+ "zlib_v128/gzclose.c",
+ "zlib_v128/gzlib.c",
+ "zlib_v128/gzread.c",
+ "zlib_v128/gzwrite.c",
+ "zlib_v128/infback.c",
+ "zlib_v128/inffast.c",
+ "zlib_v128/inflate.c",
+ "zlib_v128/inftrees.c",
+ "zlib_v128/trees.c",
+ "zlib_v128/uncompr.c",
+ "zlib_v128/zutil.c",
+ ]
+}
+
source_set("pdfium_base") {
configs -= [ "//build/config/compiler:chromium_code" ]
configs += [