Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(26)

Unified Diff: third_party/zlib/README.chromium

Issue 2023703002: Beginning work on GN build (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Really add //build. Add dart_bootstrap rule. Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/zlib/OWNERS ('k') | third_party/zlib/adler32.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/zlib/README.chromium
diff --git a/third_party/zlib/README.chromium b/third_party/zlib/README.chromium
new file mode 100644
index 0000000000000000000000000000000000000000..ddb63d7a70f5ac43a347a30c7889cacf27351bab
--- /dev/null
+++ b/third_party/zlib/README.chromium
@@ -0,0 +1,38 @@
+Name: zlib
+URL: http://zlib.net/
+Version: 1.2.5
+Security Critical: yes
+License: Custom license
+License Android Compatible: yes
+
+Description:
+General purpose compression library
+
+Local Modifications:
+A few minor changes, all marked with "Google":
+- Added #ifdefs to avoid compile warnings when NO_GZCOMPRESS is defined.
+- Removed use of strerror for WinCE in gzio.c.
+- Added 'int z_errno' global for WinCE, to which 'errno' is defined in zutil.h.
+- Added 'mozzconf.h' to mangle the function names.
+- Added logic in zlib.h to undef our earlier mangles when defaulting to 64 bit offset versions of API.
+- Added casts to suppress VC++ warnings
+The 'google.patch' file represents our changes from the original zlib-1.2.5.
+
+A more significant change to support mixed-source data compression. See
+crbug.com/139744 and mixed-source.patch.
+
+Integrated Intel SIMD optimisations from: https://github.com/jtkukunas/zlib/
+and modified to accomodate the older version and existing changes in tree.
+
+This introduces new files: simd_stub.c, crc_folding.c, fill_window_sse.c and
+x86.[ch]. All but the latter are built into a static library to allow the
+compiler to use the desired instructions only when valid. The latter version is
+only built on x86 (32-bit and 64-bit) systems with it's functionality stubbed
+on the others.
+
+Other changes to accomodate:
+- fill_window() implementation calls into _sse() variant when supported and the
+ original implementation renamed to _c()
+- read_buf was moved from local to ZLIB_INTERNAL for fill_window_sse.c to use
+- INSERT_STRING macro was made a function, insert_string() and an implementation using CRC instruction added
+- some crc funcionality moved into crc32.c
« no previous file with comments | « third_party/zlib/OWNERS ('k') | third_party/zlib/adler32.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698