Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(829)

Side by Side Diff: third_party/zlib/zlib.gyp

Issue 8912008: define USE_FILE32API on *BSD too (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 { 5 {
6 'variables': { 6 'variables': {
7 'conditions': [ 7 'conditions': [
8 [ 'os_posix == 1 and OS != "mac" and OS != "openbsd"', { 8 [ 'os_posix == 1 and OS != "mac" and OS != "openbsd"', {
9 # Link to system .so since we already use it due to GTK. 9 # Link to system .so since we already use it due to GTK.
10 # TODO(pvalchev): OpenBSD is purposefully left out, as the system 10 # TODO(pvalchev): OpenBSD is purposefully left out, as the system
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
64 '.', 64 '.',
65 ], 65 ],
66 }, 66 },
67 'conditions': [ 67 'conditions': [
68 ['OS!="win"', { 68 ['OS!="win"', {
69 'product_name': 'chrome_zlib', 69 'product_name': 'chrome_zlib',
70 'sources!': [ 70 'sources!': [
71 'contrib/minizip/iowin32.c' 71 'contrib/minizip/iowin32.c'
72 ], 72 ],
73 }], 73 }],
74 ['OS=="mac"', { 74 ['OS=="mac" or os_bsd==1', {
75 # Mac does not have fopen64, ftello64, or fseeko64. We use fopen, 75 # Mac and the BSDs don't have fopen64, ftello64, or fseeko64.
76 # ftell, and fseek instead on Mac. 76 # We use fopen, ftell, and fseek instead on these systems.
77 'defines': [ 77 'defines': [
78 'USE_FILE32API' 78 'USE_FILE32API'
79 ], 79 ],
80 }], 80 }],
81 ], 81 ],
82 }, 82 },
83 ], 83 ],
84 }, { 84 }, {
85 'targets': [ 85 'targets': [
86 { 86 {
(...skipping 23 matching lines...) Expand all
110 'link_settings': { 110 'link_settings': {
111 'libraries': [ 111 'libraries': [
112 '-lz', 112 '-lz',
113 ], 113 ],
114 }, 114 },
115 }, 115 },
116 ], 116 ],
117 }], 117 }],
118 ], 118 ],
119 } 119 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698