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" or OS=="freebsd"', { | 8 [ 'os_posix == 1 and OS != "mac" and OS != "openbsd"', { |
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 # TODO(pvalchev): OpenBSD is purposefully left out, as the system | 10 # TODO(pvalchev): OpenBSD is purposefully left out, as the system |
11 # zlib brings up an incompatibility that breaks rendering. | 11 # zlib brings up an incompatibility that breaks rendering. |
12 'use_system_zlib%': 1, | 12 'use_system_zlib%': 1, |
13 }, { # OS!="linux" and OS!="freebsd" | 13 }, { # os_posix != 1 or OS == "mac" or OS == "openbsd" |
14 'use_system_zlib%': 0, | 14 'use_system_zlib%': 0, |
15 }], | 15 }], |
16 ], | 16 ], |
17 }, | 17 }, |
18 'conditions': [ | 18 'conditions': [ |
19 ['use_system_zlib==0', { | 19 ['use_system_zlib==0', { |
20 'targets': [ | 20 'targets': [ |
21 { | 21 { |
22 'target_name': 'zlib', | 22 'target_name': 'zlib', |
23 'type': 'static_library', | 23 'type': 'static_library', |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
105 ], | 105 ], |
106 }], | 106 }], |
107 ], | 107 ], |
108 } | 108 } |
109 | 109 |
110 # Local Variables: | 110 # Local Variables: |
111 # tab-width:2 | 111 # tab-width:2 |
112 # indent-tabs-mode:nil | 112 # indent-tabs-mode:nil |
113 # End: | 113 # End: |
114 # vim: set expandtab tabstop=2 shiftwidth=2: | 114 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |