summaryrefslogtreecommitdiffstats
path: root/native_client_sdk/src/libraries/zlib
diff options
context:
space:
mode:
authornoelallen@chromium.org <noelallen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-04 20:10:09 +0000
committernoelallen@chromium.org <noelallen@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-12-04 20:10:09 +0000
commit688119f6ea36facf9f32575c9b7fce3fff4013cc (patch)
tree0e15dda7a337f2516dcf6e7e2eb752f9fd484e38 /native_client_sdk/src/libraries/zlib
parent2a9dbfb8a297b05e6f897df14d8747d61df6418e (diff)
downloadchromium_src-688119f6ea36facf9f32575c9b7fce3fff4013cc.zip
chromium_src-688119f6ea36facf9f32575c9b7fce3fff4013cc.tar.gz
chromium_src-688119f6ea36facf9f32575c9b7fce3fff4013cc.tar.bz2
Added libjpeg and zlib to SDK
These libraries are already in Chrome's third party, so we just add a library.dsc to build them. They will eventually need to be converted to GYP file along with the rest of the NaCl SDK gyp work. R=binji@chromium.org BUG=162141 Review URL: https://chromiumcodereview.appspot.com/11417098 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@171031 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'native_client_sdk/src/libraries/zlib')
-rw-r--r--native_client_sdk/src/libraries/zlib/library.dsc56
1 files changed, 56 insertions, 0 deletions
diff --git a/native_client_sdk/src/libraries/zlib/library.dsc b/native_client_sdk/src/libraries/zlib/library.dsc
new file mode 100644
index 0000000..2ce423a
--- /dev/null
+++ b/native_client_sdk/src/libraries/zlib/library.dsc
@@ -0,0 +1,56 @@
+{
+ 'TOOLS': ['newlib', 'glibc', 'linux', 'win'],
+ 'SEARCH': [
+ '../../../../third_party/zlib',
+ ],
+ 'TARGETS': [
+ {
+ 'NAME' : 'zlib',
+ 'TYPE' : 'lib',
+ 'INCLUDES': ['../../include/zlib'],
+ 'SOURCES' : [
+ 'adler32.c',
+ 'compress.c',
+ 'contrib',
+ 'crc32.c',
+ 'deflate.c',
+ 'gzio.c',
+ 'infback.c',
+ 'inffast.c',
+ 'inflate.c',
+ 'inftrees.c',
+ 'trees.c',
+ 'uncompr.c',
+ 'zutil.c',
+ ],
+ }
+ ],
+ 'HEADERS': [
+ {
+ 'DEST': 'include/zlib',
+ 'FILES': [
+ 'crc32.h',
+ 'deflate.h',
+ 'inffast.h',
+ 'inffixed.h',
+ 'inflate.h',
+ 'inftrees.h',
+ 'mozzconf.h',
+ 'trees.h',
+ 'zconf.h',
+ 'zlib.h',
+ 'zutil.h',
+ ],
+ },
+ ],
+ 'DATA': [
+ 'LICENSE',
+ 'google.patch',
+ 'mixed-source.patch',
+ 'README.chromium',
+ ],
+ 'DEST': 'src',
+ 'NAME': 'zlib',
+ 'EXPERIMENTAL': True,
+}
+