summaryrefslogtreecommitdiffstats
path: root/third_party
diff options
context:
space:
mode:
authormark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-25 21:26:55 +0000
committermark@chromium.org <mark@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-25 21:26:55 +0000
commit2f80c3109c9fc7724740f405b3ef739d4a68ac81 (patch)
treeff089a486e0f5fcd197d3f555400f31fc7ebb8e0 /third_party
parenta2318cda8a1092f127ed6b88b12fad8208608ad1 (diff)
downloadchromium_src-2f80c3109c9fc7724740f405b3ef739d4a68ac81.zip
chromium_src-2f80c3109c9fc7724740f405b3ef739d4a68ac81.tar.gz
chromium_src-2f80c3109c9fc7724740f405b3ef739d4a68ac81.tar.bz2
Import .gyp files into the Chromium tree
Review URL: http://codereview.chromium.org/27158 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@10380 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party')
-rw-r--r--third_party/bzip2/bzip2.gyp39
-rw-r--r--third_party/libevent/libevent.gyp50
-rw-r--r--third_party/libjpeg/libjpeg.gyp79
-rw-r--r--third_party/libpng/libpng.gyp59
-rw-r--r--third_party/libxml/libxml.gyp190
-rw-r--r--third_party/libxslt/libxslt.gyp91
-rw-r--r--third_party/modp_b64/modp_b64.gyp23
-rw-r--r--third_party/npapi/npapi.gyp23
-rw-r--r--third_party/sqlite/sqlite.gyp174
-rw-r--r--third_party/zlib/zlib.gyp64
10 files changed, 792 insertions, 0 deletions
diff --git a/third_party/bzip2/bzip2.gyp b/third_party/bzip2/bzip2.gyp
new file mode 100644
index 0000000..47963a0
--- /dev/null
+++ b/third_party/bzip2/bzip2.gyp
@@ -0,0 +1,39 @@
+# 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.
+
+{
+ 'includes': [
+ '../../build/common.gypi',
+ ],
+ 'targets': [
+ {
+ 'target_name': 'bzip2',
+ 'type': 'static_library',
+ 'defines': ['BZ_NO_STDIO'],
+ 'sources': [
+ 'blocksort.c',
+ 'bzlib.c',
+ 'bzlib.h',
+ 'bzlib_private.h',
+ 'compress.c',
+ 'crctable.c',
+ 'decompress.c',
+ 'huffman.c',
+ 'randtable.c',
+ ],
+ 'direct_dependent_settings': {
+ 'include_dirs': [
+ '.',
+ ],
+ },
+ 'conditions': [
+ ['OS=="win"', {
+ 'product_name': 'libbzip2',
+ }, { # else: OS!="win"
+ 'product_name': 'bz2',
+ }],
+ ],
+ },
+ ],
+}
diff --git a/third_party/libevent/libevent.gyp b/third_party/libevent/libevent.gyp
new file mode 100644
index 0000000..213009a
--- /dev/null
+++ b/third_party/libevent/libevent.gyp
@@ -0,0 +1,50 @@
+# 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': {
+ 'chromium_code': 1,
+ },
+ 'includes': [
+ '../../build/common.gypi',
+ ],
+ 'targets': [
+ {
+ 'target_name': 'libevent',
+ 'product_name': 'event',
+ 'type': 'static_library',
+ 'sources': [
+ 'buffer.c',
+ 'evbuffer.c',
+ 'evdns.c',
+ 'event.c',
+ 'event_tagging.c',
+ 'evrpc.c',
+ 'evutil.c',
+ 'http.c',
+ 'log.c',
+ 'poll.c',
+ 'select.c',
+ 'signal.c',
+ 'strlcpy.c',
+ ],
+ 'defines': [
+ 'HAVE_CONFIG_H',
+ ],
+ 'include_dirs': [
+ '.', # libevent includes some of its own headers with #include <...>
+ # instead of #include "..."
+ ],
+ 'conditions': [
+ # libevent has platform-specific implementation files. Since its
+ # native build uses autoconf, platform-specific config.h files are
+ # provided and live in platform-specific directories.
+ [ 'OS == "linux"', { 'sources': [ 'epoll.c', 'epoll_sub.c' ],
+ 'include_dirs': [ 'linux' ] } ],
+ [ 'OS == "mac"', { 'sources': [ 'kqueue.c' ],
+ 'include_dirs': [ 'mac' ] } ],
+ ],
+ },
+ ],
+}
diff --git a/third_party/libjpeg/libjpeg.gyp b/third_party/libjpeg/libjpeg.gyp
new file mode 100644
index 0000000..ea7acd9
--- /dev/null
+++ b/third_party/libjpeg/libjpeg.gyp
@@ -0,0 +1,79 @@
+# 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.
+
+{
+ 'includes': [
+ '../../build/common.gypi',
+ ],
+ 'targets': [
+ {
+ 'target_name': 'libjpeg',
+ 'type': 'static_library',
+ 'sources': [
+ 'jcapimin.c',
+ 'jcapistd.c',
+ 'jccoefct.c',
+ 'jccolor.c',
+ 'jcdctmgr.c',
+ 'jchuff.c',
+ 'jchuff.h',
+ 'jcinit.c',
+ 'jcmainct.c',
+ 'jcmarker.c',
+ 'jcmaster.c',
+ 'jcomapi.c',
+ 'jconfig.h',
+ 'jcparam.c',
+ 'jcphuff.c',
+ 'jcprepct.c',
+ 'jcsample.c',
+ 'jdapimin.c',
+ 'jdapistd.c',
+ 'jdatadst.c',
+ 'jdatasrc.c',
+ 'jdcoefct.c',
+ 'jdcolor.c',
+ 'jdct.h',
+ 'jddctmgr.c',
+ 'jdhuff.c',
+ 'jdhuff.h',
+ 'jdinput.c',
+ 'jdmainct.c',
+ 'jdmarker.c',
+ 'jdmaster.c',
+ 'jdmerge.c',
+ 'jdphuff.c',
+ 'jdpostct.c',
+ 'jdsample.c',
+ 'jerror.c',
+ 'jerror.h',
+ 'jfdctflt.c',
+ 'jfdctfst.c',
+ 'jfdctint.c',
+ 'jidctflt.c',
+ 'jidctfst.c',
+ 'jidctint.c',
+ 'jinclude.h',
+ 'jmemmgr.c',
+ 'jmemnobs.c',
+ 'jmemsys.h',
+ 'jmorecfg.h',
+ 'jpegint.h',
+ 'jpeglib.h',
+ 'jquant1.c',
+ 'jquant2.c',
+ 'jutils.c',
+ 'jversion.h',
+ ],
+ 'direct_dependent_settings': {
+ 'include_dirs': [
+ '.',
+ ],
+ },
+ 'conditions': [
+ ['OS!="win"', {'product_name': 'jpeg'}],
+ ],
+ },
+ ],
+}
diff --git a/third_party/libpng/libpng.gyp b/third_party/libpng/libpng.gyp
new file mode 100644
index 0000000..dc0cf84
--- /dev/null
+++ b/third_party/libpng/libpng.gyp
@@ -0,0 +1,59 @@
+# 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.
+
+{
+ 'includes': [
+ '../../build/common.gypi',
+ ],
+ 'targets': [
+ {
+ 'target_name': 'libpng',
+ 'type': 'static_library',
+ 'dependencies': [
+ '../zlib/zlib.gyp:zlib',
+ ],
+ 'defines': [
+ 'CHROME_PNG_WRITE_SUPPORT',
+ 'PNG_USER_CONFIG',
+ ],
+ 'sources': [
+ 'png.c',
+ 'png.h',
+ 'pngconf.h',
+ 'pngerror.c',
+ 'pnggccrd.c',
+ 'pngget.c',
+ 'pngmem.c',
+ 'pngpread.c',
+ 'pngread.c',
+ 'pngrio.c',
+ 'pngrtran.c',
+ 'pngrutil.c',
+ 'pngset.c',
+ 'pngtrans.c',
+ 'pngusr.h',
+ 'pngvcrd.c',
+ 'pngwio.c',
+ 'pngwrite.c',
+ 'pngwtran.c',
+ 'pngwutil.c',
+ ],
+ 'direct_dependent_settings': {
+ 'include_dirs': [
+ '.',
+ ],
+ 'defines': [
+ 'CHROME_PNG_WRITE_SUPPORT',
+ 'PNG_USER_CONFIG',
+ ],
+ },
+ 'export_dependent_settings': [
+ '../zlib/zlib.gyp:zlib',
+ ],
+ 'conditions': [
+ ['OS!="win"', {'product_name': 'png'}],
+ ],
+ },
+ ],
+}
diff --git a/third_party/libxml/libxml.gyp b/third_party/libxml/libxml.gyp
new file mode 100644
index 0000000..636da8b
--- /dev/null
+++ b/third_party/libxml/libxml.gyp
@@ -0,0 +1,190 @@
+# 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=="linux"', {'os_include': 'linux'}],
+ ['OS=="mac"', {'os_include': 'mac'}],
+ ['OS=="win"', {'os_include': 'win32'}],
+ ],
+ },
+ 'includes': [
+ '../../build/common.gypi',
+ ],
+ 'targets': [
+ {
+ 'target_name': 'libxml',
+ 'type': 'static_library',
+ 'sources': [
+ 'include/libxml/c14n.h',
+ 'include/libxml/catalog.h',
+ 'include/libxml/chvalid.h',
+ 'include/libxml/debugXML.h',
+ 'include/libxml/dict.h',
+ 'include/libxml/DOCBparser.h',
+ 'include/libxml/encoding.h',
+ 'include/libxml/entities.h',
+ 'include/libxml/globals.h',
+ 'include/libxml/hash.h',
+ 'include/libxml/HTMLparser.h',
+ 'include/libxml/HTMLtree.h',
+ 'include/libxml/list.h',
+ 'include/libxml/nanoftp.h',
+ 'include/libxml/nanohttp.h',
+ 'include/libxml/parser.h',
+ 'include/libxml/parserInternals.h',
+ 'include/libxml/pattern.h',
+ 'include/libxml/relaxng.h',
+ 'include/libxml/SAX.h',
+ 'include/libxml/SAX2.h',
+ 'include/libxml/schemasInternals.h',
+ 'include/libxml/schematron.h',
+ 'include/libxml/threads.h',
+ 'include/libxml/tree.h',
+ 'include/libxml/uri.h',
+ 'include/libxml/valid.h',
+ 'include/libxml/xinclude.h',
+ 'include/libxml/xlink.h',
+ 'include/libxml/xmlautomata.h',
+ 'include/libxml/xmlerror.h',
+ 'include/libxml/xmlexports.h',
+ 'include/libxml/xmlIO.h',
+ 'include/libxml/xmlmemory.h',
+ 'include/libxml/xmlmodule.h',
+ 'include/libxml/xmlreader.h',
+ 'include/libxml/xmlregexp.h',
+ 'include/libxml/xmlsave.h',
+ 'include/libxml/xmlschemas.h',
+ 'include/libxml/xmlschemastypes.h',
+ 'include/libxml/xmlstring.h',
+ 'include/libxml/xmlunicode.h',
+ 'include/libxml/xmlwriter.h',
+ 'include/libxml/xpath.h',
+ 'include/libxml/xpathInternals.h',
+ 'include/libxml/xpointer.h',
+ 'include/win32config.h',
+ 'include/wsockcompat.h',
+ 'linux/config.h',
+ 'linux/include/libxml/xmlversion.h',
+ 'mac/config.h',
+ 'mac/include/libxml/xmlversion.h',
+ 'win32/config.h',
+ 'win32/include/libxml/xmlversion.h',
+ 'acconfig.h',
+ 'c14n.c',
+ 'catalog.c',
+ 'chvalid.c',
+ 'debugXML.c',
+ 'dict.c',
+ 'DOCBparser.c',
+ 'elfgcchack.h',
+ 'encoding.c',
+ 'entities.c',
+ 'error.c',
+ 'globals.c',
+ 'hash.c',
+ 'HTMLparser.c',
+ 'HTMLtree.c',
+ 'legacy.c',
+ 'libxml.h',
+ 'list.c',
+ 'nanoftp.c',
+ 'nanohttp.c',
+ 'parser.c',
+ 'parserInternals.c',
+ 'pattern.c',
+ 'relaxng.c',
+ 'SAX.c',
+ 'SAX2.c',
+ 'schematron.c',
+ 'threads.c',
+ 'tree.c',
+ #'trio.c',
+ #'trio.h',
+ #'triodef.h',
+ #'trionan.c',
+ #'trionan.h',
+ #'triop.h',
+ #'triostr.c',
+ #'triostr.h',
+ 'uri.c',
+ 'valid.c',
+ 'xinclude.c',
+ 'xlink.c',
+ 'xmlIO.c',
+ 'xmlmemory.c',
+ 'xmlmodule.c',
+ 'xmlreader.c',
+ 'xmlregexp.c',
+ 'xmlsave.c',
+ 'xmlschemas.c',
+ 'xmlschemastypes.c',
+ 'xmlstring.c',
+ 'xmlunicode.c',
+ 'xmlwriter.c',
+ 'xpath.c',
+ 'xpointer.c',
+ ],
+ 'defines': [
+ 'LIBXML_STATIC',
+ ],
+ 'include_dirs': [
+ '<(os_include)',
+ '<(os_include)/include',
+ 'include',
+ ],
+ 'dependencies': [
+ '../icu38/icu38.gyp:icuuc',
+ '../zlib/zlib.gyp:zlib',
+ ],
+ 'export_dependent_settings': [
+ '../icu38/icu38.gyp:icuuc',
+ ],
+ 'direct_dependent_settings': {
+ 'defines': [
+ 'LIBXML_STATIC',
+ ],
+ 'include_dirs': [
+ '<(os_include)/include',
+ 'include',
+ ],
+ },
+ 'conditions': [
+ ['OS=="mac"', {'defines': ['_REENTRANT']}],
+ ['OS=="win"', {
+ 'product_name': 'libxml2',
+ }, { # else: OS!="win"
+ 'product_name': 'xml2',
+ }],
+ ],
+ },
+ {
+ 'target_name': 'xmlcatalog',
+ 'type': 'executable',
+ 'sources': [
+ 'xmlcatalog.c',
+ ],
+ 'include_dirs': [
+ '<(os_include)',
+ ],
+ 'dependencies': [
+ 'libxml',
+ ],
+ },
+ {
+ 'target_name': 'xmllint',
+ 'type': 'executable',
+ 'sources': [
+ 'xmllint.c',
+ ],
+ 'include_dirs': [
+ '<(os_include)',
+ ],
+ 'dependencies': [
+ 'libxml',
+ ],
+ },
+ ],
+}
diff --git a/third_party/libxslt/libxslt.gyp b/third_party/libxslt/libxslt.gyp
new file mode 100644
index 0000000..f2ed3c4
--- /dev/null
+++ b/third_party/libxslt/libxslt.gyp
@@ -0,0 +1,91 @@
+# 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=="linux"', {'os_include': 'linux'}],
+ ['OS=="mac"', {'os_include': 'mac'}],
+ ['OS=="win"', {'os_include': 'win32'}],
+ ],
+ },
+ 'includes': [
+ '../../build/common.gypi',
+ ],
+ 'targets': [
+ {
+ 'target_name': 'libxslt',
+ 'type': 'static_library',
+ 'sources': [
+ 'libxslt/attributes.c',
+ 'libxslt/attributes.h',
+ 'libxslt/attrvt.c',
+ 'libxslt/documents.c',
+ 'libxslt/documents.h',
+ 'libxslt/extensions.c',
+ 'libxslt/extensions.h',
+ 'libxslt/extra.c',
+ 'libxslt/extra.h',
+ 'libxslt/functions.c',
+ 'libxslt/functions.h',
+ 'libxslt/imports.c',
+ 'libxslt/imports.h',
+ 'libxslt/keys.c',
+ 'libxslt/keys.h',
+ 'libxslt/libxslt.h',
+ 'libxslt/namespaces.c',
+ 'libxslt/namespaces.h',
+ 'libxslt/numbers.c',
+ 'libxslt/numbersInternals.h',
+ 'libxslt/pattern.c',
+ 'libxslt/pattern.h',
+ 'libxslt/preproc.c',
+ 'libxslt/preproc.h',
+ 'libxslt/security.c',
+ 'libxslt/security.h',
+ 'libxslt/templates.c',
+ 'libxslt/templates.h',
+ 'libxslt/transform.c',
+ 'libxslt/transform.h',
+ 'libxslt/trio.h',
+ 'libxslt/triodef.h',
+ 'libxslt/variables.c',
+ 'libxslt/variables.h',
+ 'libxslt/win32config.h',
+ 'libxslt/xslt.c',
+ 'libxslt/xslt.h',
+ 'libxslt/xsltconfig.h',
+ 'libxslt/xsltexports.h',
+ 'libxslt/xsltInternals.h',
+ 'libxslt/xsltutils.c',
+ 'libxslt/xsltutils.h',
+ 'libxslt/xsltwin32config.h',
+ 'linux/config.h',
+ 'mac/config.h',
+ # TODO(port): Need a pregenerated win32/config.h?
+ ],
+ 'defines': [
+ 'LIBXSLT_STATIC',
+ ],
+ 'include_dirs': [
+ '<(os_include)',
+ '.',
+ ],
+ 'dependencies': [
+ '../libxml/libxml.gyp:libxml',
+ ],
+ 'direct_dependent_settings': {
+ 'defines': [
+ 'LIBXSLT_STATIC',
+ ],
+ 'include_dirs': [
+ '.',
+ ],
+ },
+ 'conditions': [
+ ['OS!="win"', {'product_name': 'xslt'}],
+ ],
+ },
+ ],
+}
diff --git a/third_party/modp_b64/modp_b64.gyp b/third_party/modp_b64/modp_b64.gyp
new file mode 100644
index 0000000..7801b5a
--- /dev/null
+++ b/third_party/modp_b64/modp_b64.gyp
@@ -0,0 +1,23 @@
+# 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.
+
+{
+ 'includes': [
+ '../../build/common.gypi',
+ ],
+ 'targets': [
+ {
+ 'target_name': 'modp_b64',
+ 'type': 'static_library',
+ 'sources': [
+ 'modp_b64.cc',
+ 'modp_b64.h',
+ 'modp_b64_data.h',
+ ],
+ 'include_dirs': [
+ '../..',
+ ],
+ },
+ ],
+}
diff --git a/third_party/npapi/npapi.gyp b/third_party/npapi/npapi.gyp
new file mode 100644
index 0000000..20b1b62
--- /dev/null
+++ b/third_party/npapi/npapi.gyp
@@ -0,0 +1,23 @@
+# 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.
+
+{
+ 'includes': [
+ '../../build/common.gypi',
+ ],
+ 'targets': [
+ {
+ 'target_name': 'npapi',
+ 'type': 'none',
+ 'direct_dependent_settings': {
+ 'include_dirs': [
+ # Some things #include "bindings/npapi.h" and others just #include
+ # "npapi.h". Account for both flavors.
+ '.',
+ 'bindings',
+ ],
+ },
+ },
+ ],
+}
diff --git a/third_party/sqlite/sqlite.gyp b/third_party/sqlite/sqlite.gyp
new file mode 100644
index 0000000..7547f66
--- /dev/null
+++ b/third_party/sqlite/sqlite.gyp
@@ -0,0 +1,174 @@
+# 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.
+
+{
+ 'includes': [
+ '../../build/common.gypi',
+ ],
+ 'targets': [
+ {
+ 'target_name': 'sqlite',
+ 'product_name': 'sqlite3',
+ 'type': 'static_library',
+ 'sources': [
+ # This list contains all .h, .c, and .cc files in the directories
+ # ext, preprocessed, and src, with the exception of src/shell* and
+ # src/test*. Exclusions are applied below in the sources/ and
+ # sources! sections.
+ 'ext/fts1/ft_hash.c',
+ 'ext/fts1/ft_hash.h',
+ 'ext/fts1/fts1.c',
+ 'ext/fts1/fts1.h',
+ 'ext/fts1/fts1_hash.c',
+ 'ext/fts1/fts1_hash.h',
+ 'ext/fts1/fts1_porter.c',
+ 'ext/fts1/fts1_tokenizer.h',
+ 'ext/fts1/fts1_tokenizer1.c',
+ 'ext/fts1/fulltext.c',
+ 'ext/fts1/fulltext.h',
+ 'ext/fts1/simple_tokenizer.c',
+ 'ext/fts1/tokenizer.h',
+ 'ext/fts2/fts2.c',
+ 'ext/fts2/fts2.h',
+ 'ext/fts2/fts2_hash.c',
+ 'ext/fts2/fts2_hash.h',
+ 'ext/fts2/fts2_icu.c',
+ 'ext/fts2/fts2_porter.c',
+ 'ext/fts2/fts2_tokenizer.c',
+ 'ext/fts2/fts2_tokenizer.h',
+ 'ext/fts2/fts2_tokenizer1.c',
+ 'ext/fts3/fts3.c',
+ 'ext/fts3/fts3.h',
+ 'ext/fts3/fts3_hash.c',
+ 'ext/fts3/fts3_hash.h',
+ 'ext/fts3/fts3_icu.c',
+ 'ext/fts3/fts3_porter.c',
+ 'ext/fts3/fts3_tokenizer.c',
+ 'ext/fts3/fts3_tokenizer.h',
+ 'ext/fts3/fts3_tokenizer1.c',
+ 'ext/icu/icu.c',
+ 'ext/rtree/rtree.c',
+ 'ext/rtree/rtree.h',
+ 'preprocessed/keywordhash.h',
+ 'preprocessed/opcodes.c',
+ 'preprocessed/opcodes.h',
+ 'preprocessed/parse.c',
+ 'preprocessed/parse.h',
+ 'preprocessed/sqlite3.h',
+ 'src/alter.c',
+ 'src/analyze.c',
+ 'src/attach.c',
+ 'src/auth.c',
+ 'src/bitvec.c',
+ 'src/btmutex.c',
+ 'src/btree.c',
+ 'src/btree.h',
+ 'src/btreeInt.h',
+ 'src/build.c',
+ 'src/callback.c',
+ 'src/complete.c',
+ 'src/date.c',
+ 'src/delete.c',
+ 'src/expr.c',
+ 'src/fault.c',
+ 'src/func.c',
+ 'src/global.c',
+ 'src/hash.c',
+ 'src/hash.h',
+ 'src/hwtime.h',
+ 'src/insert.c',
+ 'src/journal.c',
+ 'src/legacy.c',
+ 'src/loadext.c',
+ 'src/main.c',
+ 'src/malloc.c',
+ 'src/md5.c',
+ 'src/mem1.c',
+ 'src/mem2.c',
+ 'src/mem3.c',
+ 'src/mem4.c',
+ 'src/mem5.c',
+ 'src/mem6.c',
+ 'src/mutex.c',
+ 'src/mutex.h',
+ 'src/mutex_os2.c',
+ 'src/mutex_unix.c',
+ 'src/mutex_w32.c',
+ 'src/os.c',
+ 'src/os.h',
+ 'src/os_common.h',
+ 'src/os_os2.c',
+ 'src/os_symbian.cc',
+ 'src/os_unix.c',
+ 'src/os_win.c',
+ 'src/pager.c',
+ 'src/pager.h',
+ 'src/pragma.c',
+ 'src/prepare.c',
+ 'src/printf.c',
+ 'src/random.c',
+ 'src/select.c',
+ 'src/sqlite3ext.h',
+ 'src/sqliteInt.h',
+ 'src/sqliteLimit.h',
+ 'src/status.c',
+ 'src/table.c',
+ 'src/tclsqlite.c',
+ 'src/tokenize.c',
+ 'src/trigger.c',
+ 'src/update.c',
+ 'src/utf.c',
+ 'src/util.c',
+ 'src/vacuum.c',
+ 'src/vdbe.c',
+ 'src/vdbe.h',
+ 'src/vdbeInt.h',
+ 'src/vdbeapi.c',
+ 'src/vdbeaux.c',
+ 'src/vdbeblob.c',
+ 'src/vdbefifo.c',
+ 'src/vdbemem.c',
+ 'src/vtab.c',
+ 'src/where.c',
+ ],
+ 'sources/': [
+ ['exclude', '^ext/(fts[13]|rtree)/'],
+ ['exclude', '(symbian|os2)\\.cc?$'],
+ ],
+ 'sources!': [
+ 'src/journal.c',
+ 'src/md5.c',
+ 'src/tclsqlite.c',
+ ],
+ 'defines': [
+ 'SQLITE_ENABLE_FTS2',
+ 'SQLITE_ENABLE_BROKEN_FTS2',
+ 'SQLITE_ENABLE_ICU',
+ 'SQLITE_SECURE_DELETE',
+ 'THREADSAFE',
+ '_HAS_EXCEPTIONS=0',
+ ],
+ 'include_dirs': [
+ 'preprocessed',
+ 'src',
+ ],
+ 'dependencies': [
+ '../icu38/icu38.gyp:icui18n',
+ '../icu38/icu38.gyp:icuuc',
+ ],
+ 'direct_dependent_settings': {
+ 'include_dirs': [
+ 'preprocessed',
+ ],
+ },
+ 'conditions': [
+ ['OS=="win"', {
+ 'sources/': [['exclude', '_unix\\.cc?$']],
+ }, { # else: OS!="win"
+ 'sources/': [['exclude', '_(w32|win)\\.cc?$']],
+ }],
+ ],
+ },
+ ],
+}
diff --git a/third_party/zlib/zlib.gyp b/third_party/zlib/zlib.gyp
new file mode 100644
index 0000000..d708951
--- /dev/null
+++ b/third_party/zlib/zlib.gyp
@@ -0,0 +1,64 @@
+# 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.
+
+{
+ 'includes': [
+ '../../build/common.gypi',
+ ],
+ 'targets': [
+ {
+ 'target_name': 'zlib',
+ 'type': 'static_library',
+ 'sources': [
+ 'contrib/minizip/ioapi.c',
+ 'contrib/minizip/ioapi.h',
+ 'contrib/minizip/iowin32.c'
+ 'contrib/minizip/iowin32.h',
+ 'contrib/minizip/unzip.c',
+ 'contrib/minizip/unzip.h',
+ 'adler32.c',
+ 'compress.c',
+ 'crc32.c',
+ 'crc32.h',
+ 'deflate.c',
+ 'deflate.h',
+ 'gzio.c',
+ 'infback.c',
+ 'inffast.c',
+ 'inffast.h',
+ 'inffixed.h',
+ 'inflate.c',
+ 'inflate.h',
+ 'inftrees.c',
+ 'inftrees.h',
+ 'mozzconf.h',
+ 'trees.c',
+ 'trees.h',
+ 'uncompr.c',
+ 'zconf.h',
+ 'zlib.h',
+ 'zutil.c',
+ 'zutil.h',
+ ],
+ 'include_dirs': [
+ '.',
+ # For contrib/minizip
+ '../..',
+ ],
+ 'direct_dependent_settings': {
+ 'include_dirs': [
+ '.',
+ ],
+ },
+ 'conditions': [
+ ['OS!="win"', {
+ 'product_name': 'z',
+ 'sources!': [
+ 'contrib/minizip/iowin32.c'
+ ],
+ }],
+ ],
+ },
+ ],
+}