diff options
author | Tom Sepez <tsepez@chromium.org> | 2015-06-19 12:39:19 -0700 |
---|---|---|
committer | Tom Sepez <tsepez@chromium.org> | 2015-06-19 12:39:19 -0700 |
commit | 959eb05140a8f5af7724a2da4cf5d04e2e50f4a6 (patch) | |
tree | 75f987b6df1fe356124ec8d39fb7aee194dceb5e /third_party/BUILD.gn | |
parent | e295819e5ded76e405b6d5800401cb5983b4ce10 (diff) | |
download | pdfium-959eb05140a8f5af7724a2da4cf5d04e2e50f4a6.tar.xz |
Move zlib to third_party/
Remove some fx_* files that simply included other files along the way.
R=thestig@chromium.org
Review URL: https://codereview.chromium.org/1197693003.
Diffstat (limited to 'third_party/BUILD.gn')
-rw-r--r-- | third_party/BUILD.gn | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/third_party/BUILD.gn b/third_party/BUILD.gn index be6538e990..5e7dd5f575 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 += [ |