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 'conditions': [ |
8 [ 'OS=="linux"', { | 8 [ 'OS=="linux" or OS=="freebsd"', { |
Evan Martin
2010/05/14 21:24:17
did you mean to include openbsd here?
Peter Valchev
2010/05/14 21:41:22
I purposefully did not, because using the system z
| |
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_zlib%': 1, | 10 'use_system_zlib%': 1, |
11 }, { # OS!="linux" | 11 }, { # OS!="linux" and OS!="freebsd" |
12 'use_system_zlib%': 0, | 12 'use_system_zlib%': 0, |
13 }], | 13 }], |
14 ], | 14 ], |
15 }, | 15 }, |
16 'conditions': [ | 16 'conditions': [ |
17 ['use_system_zlib==0', { | 17 ['use_system_zlib==0', { |
18 'targets': [ | 18 'targets': [ |
19 { | 19 { |
20 'target_name': 'zlib', | 20 'target_name': 'zlib', |
21 'type': '<(library)', | 21 'type': '<(library)', |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
103 ], | 103 ], |
104 }], | 104 }], |
105 ], | 105 ], |
106 } | 106 } |
107 | 107 |
108 # Local Variables: | 108 # Local Variables: |
109 # tab-width:2 | 109 # tab-width:2 |
110 # indent-tabs-mode:nil | 110 # indent-tabs-mode:nil |
111 # End: | 111 # End: |
112 # vim: set expandtab tabstop=2 shiftwidth=2: | 112 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |