OLD | NEW |
(Empty) | |
| 1 { |
| 2 'targets': [ |
| 3 { |
| 4 'target_name': 'miniz', |
| 5 'type': 'static_library', |
| 6 'direct_dependent_settings': { |
| 7 'defines': [ |
| 8 # When MINIZ_HEADER_FILE_ONLY is defined, miniz.c contains |
| 9 # no function definitions, only declarations, so that it can |
| 10 # serve as its own header. |
| 11 'MINIZ_HEADER_FILE_ONLY', |
| 12 'MINIZ_INCLUDE="miniz.c"', |
| 13 # The following should be the same as below: |
| 14 'MINIZ_NO_STDIO', |
| 15 'MINIZ_NO_TIME', |
| 16 'MINIZ_NO_ARCHIVE_APIS', |
| 17 'MINIZ_NO_ARCHIVE_WRITING_APIS', |
| 18 ], |
| 19 'include_dirs': [ '.', ], |
| 20 }, |
| 21 'defines': [ |
| 22 'MINIZ_NO_STDIO', |
| 23 'MINIZ_NO_TIME', |
| 24 'MINIZ_NO_ARCHIVE_APIS', |
| 25 'MINIZ_NO_ARCHIVE_WRITING_APIS', |
| 26 ], |
| 27 'conditions': [ |
| 28 ['OS != "win"', |
| 29 { |
| 30 'cflags': [ |
| 31 '-fno-strict-aliasing', |
| 32 '-Wno-unused-function', |
| 33 ], |
| 34 } |
| 35 ], |
| 36 ], |
| 37 'sources': [ 'miniz.c', ], |
| 38 } |
| 39 ] |
| 40 } |
OLD | NEW |