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

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

Issue 10874087: Merge 151720 - net: workaround compression leaks (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1180/src/
Patch Set: Created 8 years, 3 months 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 | Annotate | Revision Log
« no previous file with comments | « third_party/zlib/zlib.h ('k') | 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) 2012 The Chromium Authors. All rights reserved. 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 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=="none"', {
9 # Link to system .so since we already use it due to GTK. 9 # Because we have a patched zlib, we cannot use the system libz.
10 # TODO(pvalchev): OpenBSD is purposefully left out, as the system
11 # zlib brings up an incompatibility that breaks rendering.
12 'use_system_zlib%': 1, 10 'use_system_zlib%': 1,
13 }, { # os_posix != 1 or OS == "mac" or OS == "openbsd" 11 }, {
14 'use_system_zlib%': 0, 12 'use_system_zlib%': 0,
15 }], 13 }],
16 ], 14 ],
17 }, 15 },
18 'targets': [ 16 'targets': [
19 { 17 {
20 'target_name': 'zlib', 18 'target_name': 'zlib',
21 'type': 'static_library', 19 'type': 'static_library',
22 'conditions': [ 20 'conditions': [
23 ['use_system_zlib==0', { 21 ['use_system_zlib==0', {
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 'include_dirs': [ 61 'include_dirs': [
64 '.', 62 '.',
65 ], 63 ],
66 }, 64 },
67 'conditions': [ 65 'conditions': [
68 ['OS!="win"', { 66 ['OS!="win"', {
69 'product_name': 'chrome_zlib', 67 'product_name': 'chrome_zlib',
70 'sources!': [ 68 'sources!': [
71 'contrib/minizip/iowin32.c' 69 'contrib/minizip/iowin32.c'
72 ], 70 ],
71 }], ['OS=="android"', {
72 'toolsets': ['target', 'host'],
73 }], 73 }],
74 ], 74 ],
75 }, { 75 }, {
76 'direct_dependent_settings': { 76 'direct_dependent_settings': {
77 'defines': [ 77 'defines': [
78 'USE_SYSTEM_ZLIB', 78 'USE_SYSTEM_ZLIB',
79 ], 79 ],
80 }, 80 },
81 'defines': [ 81 'defines': [
82 'USE_SYSTEM_ZLIB', 82 'USE_SYSTEM_ZLIB',
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 ], 116 ],
117 }, 117 },
118 'cflags': [ 118 'cflags': [
119 '-Wno-parentheses-equality', 119 '-Wno-parentheses-equality',
120 ], 120 ],
121 }], 121 }],
122 ], 122 ],
123 } 123 }
124 ], 124 ],
125 } 125 }
OLDNEW
« no previous file with comments | « third_party/zlib/zlib.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698