summaryrefslogtreecommitdiffstats
path: root/third_party/libpng
diff options
context:
space:
mode:
authorcevans@chromium.org <cevans@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-08 21:43:49 +0000
committercevans@chromium.org <cevans@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-02-08 21:43:49 +0000
commitb1eb17e9535bf2025d8ae6045a88ea21f1eeb4ba (patch)
tree1ad3432e382e3c67f8ca66bdff0cfb4db13b5237 /third_party/libpng
parentb3b4e15d80aa8b8debe91c33621991158e22587e (diff)
downloadchromium_src-b1eb17e9535bf2025d8ae6045a88ea21f1eeb4ba.zip
chromium_src-b1eb17e9535bf2025d8ae6045a88ea21f1eeb4ba.tar.gz
chromium_src-b1eb17e9535bf2025d8ae6045a88ea21f1eeb4ba.tar.bz2
Don't use system libpng by default. It causes security maintenance problems
for ChromeOS. It's worth noting that we also don't use the system library for many other important components such as libxml. BUG=112822 Review URL: http://codereview.chromium.org/9365007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@121044 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party/libpng')
-rw-r--r--third_party/libpng/libpng.gyp7
1 files changed, 4 insertions, 3 deletions
diff --git a/third_party/libpng/libpng.gyp b/third_party/libpng/libpng.gyp
index 5325310..beccefe 100644
--- a/third_party/libpng/libpng.gyp
+++ b/third_party/libpng/libpng.gyp
@@ -1,4 +1,4 @@
-# Copyright (c) 2011 The Chromium Authors. All rights reserved.
+# Copyright (c) 2012 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
@@ -6,8 +6,9 @@
'variables': {
'conditions': [
[ 'os_posix == 1 and OS != "mac" and OS != "android"', {
- # Link to system .so since we already use it due to GTK.
- 'use_system_libpng%': 1,
+ # Maybe link to system .so once the security concerns are thought
+ # through, since we already use it due to GTK.
+ 'use_system_libpng%': 0,
}, { # os_posix != 1 or OS == "mac"
'use_system_libpng%': 0,
}],