Add zlib gyp and config files to deps.
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..6e15639
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,25 @@
+/* zlib.h -- interface of the 'zlib' general purpose compression library
+ version 1.2.5, April 19th, 2010
+
+ Copyright (C) 1995-2010 Jean-loup Gailly and Mark Adler
+
+ This software is provided 'as-is', without any express or implied
+ warranty. In no event will the authors be held liable for any damages
+ arising from the use of this software.
+
+ Permission is granted to anyone to use this software for any purpose,
+ including commercial applications, and to alter it and redistribute it
+ freely, subject to the following restrictions:
+
+ 1. The origin of this software must not be misrepresented; you must not
+ claim that you wrote the original software. If you use this software
+ in a product, an acknowledgment in the product documentation would be
+ appreciated but is not required.
+ 2. Altered source versions must be plainly marked as such, and must not be
+ misrepresented as being the original software.
+ 3. This notice may not be removed or altered from any source distribution.
+
+ Jean-loup Gailly
+ Mark Adler
+
+*/
diff --git a/README.pagespeed b/README.pagespeed
new file mode 100644
index 0000000..14d999a
--- /dev/null
+++ b/README.pagespeed
@@ -0,0 +1,10 @@
+URL: http://zlib.net/
+Version: 1.2.5
+License: zlib/libpng
+License File: LICENSE
+
+Description:
+General purpose compression library
+
+Local Modifications:
+none
diff --git a/zlib.gyp b/zlib.gyp
new file mode 100644
index 0000000..52db72a
--- /dev/null
+++ b/zlib.gyp
@@ -0,0 +1,84 @@
+# Copyright (c) 2009 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+{
+ 'variables': {
+ 'conditions': [
+ [ 'os_posix == 1 and OS != "mac" and OS != "openbsd"', {
+ # Link to system .so since we already use it due to GTK.
+ # TODO(pvalchev): OpenBSD is purposefully left out, as the system
+ # zlib brings up an incompatibility that breaks rendering.
+ 'use_system_zlib%': 1,
+ }, { # os_posix != 1 or OS == "mac" or OS == "openbsd"
+ 'use_system_zlib%': 0,
+ }],
+ ],
+ },
+ 'conditions': [
+ ['use_system_zlib==0', {
+ 'targets': [
+ {
+ 'target_name': 'zlib',
+ 'type': 'static_library',
+ 'sources': [
+ 'adler32.c',
+ 'compress.c',
+ 'crc32.c',
+ 'crc32.h',
+ 'deflate.c',
+ 'deflate.h',
+ 'infback.c',
+ 'inffast.c',
+ 'inffast.h',
+ 'inffixed.h',
+ 'inflate.c',
+ 'inflate.h',
+ 'inftrees.c',
+ 'inftrees.h',
+ 'trees.c',
+ 'trees.h',
+ 'uncompr.c',
+ 'zconf.h',
+ 'zlib.h',
+ 'zutil.c',
+ 'zutil.h',
+ ],
+ 'include_dirs': [
+ '<(DEPTH)',
+ '.',
+ ],
+ 'direct_dependent_settings': {
+ 'include_dirs': [
+ '<(DEPTH)',
+ '.',
+ ],
+ },
+ },
+ ],
+ }, {
+ 'targets': [
+ {
+ 'target_name': 'zlib',
+ 'type': 'settings',
+ 'direct_dependent_settings': {
+ 'defines': [
+ 'USE_SYSTEM_ZLIB',
+ ],
+ },
+ 'link_settings': {
+ 'libraries': [
+ '-lz',
+ ],
+ },
+ },
+ ],
+ }],
+ ],
+}
+
+# Local Variables:
+# tab-width:2
+# indent-tabs-mode:nil
+# End:
+# vim: set expandtab tabstop=2 shiftwidth=2: