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

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

Issue 7051014: Globally replace <(library) with static_library (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 7 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/undoview/undoview.gyp ('k') | ui/gfx/compositor/compositor.gyp » ('j') | 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) 2009 The Chromium Authors. All rights reserved. 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 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=="linux" or OS=="freebsd"', { 8 [ 'OS=="linux" or OS=="freebsd"', {
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
11 # zlib brings up an incompatibility that breaks rendering. 11 # zlib brings up an incompatibility that breaks rendering.
12 'use_system_zlib%': 1, 12 'use_system_zlib%': 1,
13 }, { # OS!="linux" and OS!="freebsd" 13 }, { # OS!="linux" and OS!="freebsd"
14 'use_system_zlib%': 0, 14 'use_system_zlib%': 0,
15 }], 15 }],
16 ], 16 ],
17 }, 17 },
18 'conditions': [ 18 'conditions': [
19 ['use_system_zlib==0', { 19 ['use_system_zlib==0', {
20 'targets': [ 20 'targets': [
21 { 21 {
22 'target_name': 'zlib', 22 'target_name': 'zlib',
23 'type': '<(library)', 23 'type': 'static_library',
24 'msvs_guid': '8423AF0D-4B88-4EBF-94E1-E4D00D00E21C', 24 'msvs_guid': '8423AF0D-4B88-4EBF-94E1-E4D00D00E21C',
25 'sources': [ 25 'sources': [
26 'contrib/minizip/ioapi.c', 26 'contrib/minizip/ioapi.c',
27 'contrib/minizip/ioapi.h', 27 'contrib/minizip/ioapi.h',
28 'contrib/minizip/iowin32.c', 28 'contrib/minizip/iowin32.c',
29 'contrib/minizip/iowin32.h', 29 'contrib/minizip/iowin32.h',
30 'contrib/minizip/unzip.c', 30 'contrib/minizip/unzip.c',
31 'contrib/minizip/unzip.h', 31 'contrib/minizip/unzip.h',
32 'contrib/minizip/zip.c', 32 'contrib/minizip/zip.c',
33 'contrib/minizip/zip.h', 33 'contrib/minizip/zip.h',
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
72 'contrib/minizip/iowin32.c' 72 'contrib/minizip/iowin32.c'
73 ], 73 ],
74 }], 74 }],
75 ], 75 ],
76 }, 76 },
77 ], 77 ],
78 }, { 78 }, {
79 'targets': [ 79 'targets': [
80 { 80 {
81 'target_name': 'zlib', 81 'target_name': 'zlib',
82 'type': '<(library)', 82 'type': 'static_library',
83 'direct_dependent_settings': { 83 'direct_dependent_settings': {
84 'defines': [ 84 'defines': [
85 'USE_SYSTEM_ZLIB', 85 'USE_SYSTEM_ZLIB',
86 ], 86 ],
87 }, 87 },
88 'defines': [ 88 'defines': [
89 'USE_SYSTEM_ZLIB', 89 'USE_SYSTEM_ZLIB',
90 ], 90 ],
91 'sources': [ 91 'sources': [
92 'contrib/minizip/ioapi.c', 92 'contrib/minizip/ioapi.c',
(...skipping 12 matching lines...) Expand all
105 ], 105 ],
106 }], 106 }],
107 ], 107 ],
108 } 108 }
109 109
110 # Local Variables: 110 # Local Variables:
111 # tab-width:2 111 # tab-width:2
112 # indent-tabs-mode:nil 112 # indent-tabs-mode:nil
113 # End: 113 # End:
114 # vim: set expandtab tabstop=2 shiftwidth=2: 114 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW
« no previous file with comments | « third_party/undoview/undoview.gyp ('k') | ui/gfx/compositor/compositor.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698