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

Unified Diff: third_party/libpng/libpng.gyp

Issue 7055003: Last gyp patch for cross-platform Unix support (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
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 side-by-side diff with in-line comments
Download patch
Index: third_party/libpng/libpng.gyp
diff --git a/third_party/libpng/libpng.gyp b/third_party/libpng/libpng.gyp
index f56579571696b1802122385b6879f861f66c7b17..fdd3a57b54f2e2dd04a9ab139dd5b7804d4cd175 100644
--- a/third_party/libpng/libpng.gyp
+++ b/third_party/libpng/libpng.gyp
@@ -5,10 +5,10 @@
{
'variables': {
'conditions': [
- [ 'OS=="linux" or OS=="freebsd" or OS=="openbsd"', {
+ [ 'os_posix == 1 and OS != "mac"', {
# Link to system .so since we already use it due to GTK.
'use_system_libpng%': 1,
- }, { # OS!="linux" and OS!="freebsd" and OS!="openbsd"
+ }, { # os_posix != 1 or OS == "mac"
'use_system_libpng%': 0,
}],
],

Powered by Google App Engine
This is Rietveld 408576698