diff options
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 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 += [ |