1 # Copyright (c) 2009 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.
10 ['use_system_zlib==0', {
13 'target_name': 'zlib',
14 'type': 'static_library',
16 'contrib/minizip/ioapi.c',
17 'contrib/minizip/ioapi.h',
18 'contrib/minizip/iowin32.c',
19 'contrib/minizip/iowin32.h',
20 'contrib/minizip/unzip.c',
21 'contrib/minizip/unzip.h',
22 'contrib/minizip/zip.c',
23 'contrib/minizip/zip.h',
56 'direct_dependent_settings': {
63 'product_name': 'chrome_zlib',
64 'cflags!': [ '-ansi' ],
66 'contrib/minizip/iowin32.c'
69 ['OS=="mac" or OS=="ios" or OS=="freebsd" or OS=="android"', {
70 # Mac, Android and the BSDs don't have fopen64, ftello64, or
71 # fseeko64. We use fopen, ftell, and fseek instead on these
83 'target_name': 'zlib',
84 'type': 'static_library',
85 'direct_dependent_settings': {
94 'contrib/minizip/ioapi.c',
95 'contrib/minizip/ioapi.h',
96 'contrib/minizip/unzip.c',
97 'contrib/minizip/unzip.h',
98 'contrib/minizip/zip.c',
99 'contrib/minizip/zip.h',