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

Unified Diff: third_party/miniz/miniz.gyp

Issue 469813002: Add miniz library to third_party, use it on Windows (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 6 years, 4 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
« src/core/SkFlate.cpp ('K') | « third_party/miniz/miniz.c ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/miniz/miniz.gyp
diff --git a/third_party/miniz/miniz.gyp b/third_party/miniz/miniz.gyp
new file mode 100644
index 0000000000000000000000000000000000000000..bd28bee825ca6d65d9765f009208c9871c699323
--- /dev/null
+++ b/third_party/miniz/miniz.gyp
@@ -0,0 +1,36 @@
+{
+ 'targets': [
mtklein 2014/08/13 17:57:09 Do we ever build this library? Doesn't miniz.c ju
hal.canary 2014/08/13 18:04:24 Since we define MINIZ_HEADER_FILE_ONLY, most of th
+ {
+ 'target_name': 'miniz',
+ 'type': 'static_library',
+ 'direct_dependent_settings': {
+ 'defines': [
+ 'MINIZ_INCLUDE="miniz.c"',
+ 'MINIZ_HEADER_FILE_ONLY',
+ 'MINIZ_NO_STDIO',
+ 'MINIZ_NO_TIME',
+ 'MINIZ_NO_ARCHIVE_APIS',
+ 'MINIZ_NO_ARCHIVE_WRITING_APIS',
+ ],
+ 'include_dirs': [ '.', ],
+ },
+ 'defines': [
+ 'MINIZ_NO_STDIO',
+ 'MINIZ_NO_TIME',
+ 'MINIZ_NO_ARCHIVE_APIS',
+ 'MINIZ_NO_ARCHIVE_WRITING_APIS',
+ ],
+ 'conditions': [
+ ['OS != "win"',
+ {
+ 'cflags': [
+ '-fno-strict-aliasing',
+ '-Wno-unused-function',
+ ],
+ }
+ ],
+ ],
+ 'sources': [ 'miniz.c', ],
+ }
+ ]
+}
« src/core/SkFlate.cpp ('K') | « third_party/miniz/miniz.c ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698