1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
9 'type': 'static_library',
42 'direct_dependent_settings': {
49 'product_name': 'chrome_zlib',
50 }], ['OS=="android"', {
51 'toolsets': ['target', 'host'],
56 'target_name': 'minizip',
57 'type': 'static_library',
59 'contrib/minizip/ioapi.c',
60 'contrib/minizip/ioapi.h',
61 'contrib/minizip/iowin32.c',
62 'contrib/minizip/iowin32.h',
63 'contrib/minizip/unzip.c',
64 'contrib/minizip/unzip.h',
65 'contrib/minizip/zip.c',
66 'contrib/minizip/zip.h',
75 'direct_dependent_settings': {
83 'contrib/minizip/iowin32.c'
87 'toolsets': ['target', 'host'],
89 ['OS=="mac" or OS=="ios" or os_bsd==1 or OS=="android"', {
90 # Mac, Android and the BSDs don't have fopen64, ftello64, or
91 # fseeko64. We use fopen, ftell, and fseek instead on these
100 # zlib uses `if ((a == b))` for some reason.
101 '-Wno-parentheses-equality',
105 '-Wno-parentheses-equality',