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

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

Issue 9365007: Don't use system libpng by default. It causes security maintenance problems (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 8 years, 10 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 | « 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 != "android"', { 8 [ 'os_posix == 1 and OS != "mac" and OS != "android"', {
9 # Link to system .so since we already use it due to GTK. 9 # Maybe link to system .so once the security concerns are thought
10 'use_system_libpng%': 1, 10 # through, since we already use it due to GTK.
11 'use_system_libpng%': 0,
11 }, { # os_posix != 1 or OS == "mac" 12 }, { # os_posix != 1 or OS == "mac"
12 'use_system_libpng%': 0, 13 'use_system_libpng%': 0,
13 }], 14 }],
14 ], 15 ],
15 }, 16 },
16 'conditions': [ 17 'conditions': [
17 ['use_system_libpng==0', { 18 ['use_system_libpng==0', {
18 'targets': [ 19 'targets': [
19 { 20 {
20 'target_name': 'libpng', 21 'target_name': 'libpng',
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
112 ], 113 ],
113 'libraries': [ 114 'libraries': [
114 '<!@(<(pkg-config) --libs-only-l libpng)', 115 '<!@(<(pkg-config) --libs-only-l libpng)',
115 ], 116 ],
116 }, 117 },
117 }, 118 },
118 ], 119 ],
119 }], 120 }],
120 ], 121 ],
121 } 122 }
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