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 'use_system_zlib%': 0, | 7 'conditions': [ |
| 8 [ 'OS=="linux"', { |
| 9 # Link to system .so since we already use it due to GTK. |
| 10 'use_system_zlib%': 1, |
| 11 }, { # OS!="linux" |
| 12 'use_system_zlib%': 0, |
| 13 }], |
| 14 ], |
8 }, | 15 }, |
9 'conditions': [ | 16 'conditions': [ |
10 ['use_system_zlib==0', { | 17 ['use_system_zlib==0', { |
11 'targets': [ | 18 'targets': [ |
12 { | 19 { |
13 'target_name': 'zlib', | 20 'target_name': 'zlib', |
14 'type': '<(library)', | 21 'type': '<(library)', |
15 'msvs_guid': '8423AF0D-4B88-4EBF-94E1-E4D00D00E21C', | 22 'msvs_guid': '8423AF0D-4B88-4EBF-94E1-E4D00D00E21C', |
16 'sources': [ | 23 'sources': [ |
17 'contrib/minizip/ioapi.c', | 24 'contrib/minizip/ioapi.c', |
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
96 ], | 103 ], |
97 }], | 104 }], |
98 ], | 105 ], |
99 } | 106 } |
100 | 107 |
101 # Local Variables: | 108 # Local Variables: |
102 # tab-width:2 | 109 # tab-width:2 |
103 # indent-tabs-mode:nil | 110 # indent-tabs-mode:nil |
104 # End: | 111 # End: |
105 # vim: set expandtab tabstop=2 shiftwidth=2: | 112 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |