Chromium Code Reviews| 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', ], |
| + } |
| + ] |
| +} |