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': {
81 'clang_warning_flags': [
82 # zlib uses `if ((a == b))` for some reason.
83 '-Wno-parentheses-equality',
89 'contrib/minizip/iowin32.c'
93 'toolsets': ['target', 'host'],
95 ['OS=="mac" or OS=="ios" or os_bsd==1 or OS=="android"', {
96 # Mac, Android and the BSDs don't have fopen64, ftello64, or
97 # fseeko64. We use fopen, ftell, and fseek instead on these