OLD | NEW |
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 'use_system_libpng%': 0, |
8 [ 'OS=="linux"', { | |
9 # Link to system .so since we already use it due to GTK. | |
10 'use_system_libpng%': 1, | |
11 }, { # OS!="linux" | |
12 'use_system_libpng%': 0, | |
13 }], | |
14 ], | |
15 }, | 8 }, |
16 'conditions': [ | 9 'conditions': [ |
17 ['use_system_libpng==0', { | 10 ['use_system_libpng==0', { |
18 'targets': [ | 11 'targets': [ |
19 { | 12 { |
20 'target_name': 'libpng', | 13 'target_name': 'libpng', |
21 'type': '<(library)', | 14 'type': '<(library)', |
22 'dependencies': [ | 15 'dependencies': [ |
23 '../zlib/zlib.gyp:zlib', | 16 '../zlib/zlib.gyp:zlib', |
24 ], | 17 ], |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 ], | 87 ], |
95 }], | 88 }], |
96 ], | 89 ], |
97 } | 90 } |
98 | 91 |
99 # Local Variables: | 92 # Local Variables: |
100 # tab-width:2 | 93 # tab-width:2 |
101 # indent-tabs-mode:nil | 94 # indent-tabs-mode:nil |
102 # End: | 95 # End: |
103 # vim: set expandtab tabstop=2 shiftwidth=2: | 96 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |