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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
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" or OS=="openbsd"', { 8 [ 'os_posix == 1 and OS != "mac"', {
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 'use_system_libpng%': 1, 10 'use_system_libpng%': 1,
11 }, { # OS!="linux" and OS!="freebsd" and OS!="openbsd" 11 }, { # os_posix != 1 or OS == "mac"
12 'use_system_libpng%': 0, 12 'use_system_libpng%': 0,
13 }], 13 }],
14 ], 14 ],
15 }, 15 },
16 'conditions': [ 16 'conditions': [
17 ['use_system_libpng==0', { 17 ['use_system_libpng==0', {
18 'targets': [ 18 'targets': [
19 { 19 {
20 'target_name': 'libpng', 20 'target_name': 'libpng',
21 'type': '<(component)', 21 'type': '<(component)',
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 ], 116 ],
117 }], 117 }],
118 ], 118 ],
119 } 119 }
120 120
121 # Local Variables: 121 # Local Variables:
122 # tab-width:2 122 # tab-width:2
123 # indent-tabs-mode:nil 123 # indent-tabs-mode:nil
124 # End: 124 # End:
125 # vim: set expandtab tabstop=2 shiftwidth=2: 125 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698