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_bzip2%': 0, | 7 'conditions': [ |
| 8 [ 'OS=="linux"', { |
| 9 # Link to system .so since we already use it due to GTK. |
| 10 'use_system_bzip2%': 1, |
| 11 }, { # OS!="linux" |
| 12 'use_system_bzip2%': 0, |
| 13 }], |
| 14 ], |
8 }, | 15 }, |
9 'conditions': [ | 16 'conditions': [ |
10 ['use_system_bzip2==0', { | 17 ['use_system_bzip2==0', { |
11 'targets': [ | 18 'targets': [ |
12 { | 19 { |
13 'target_name': 'bzip2', | 20 'target_name': 'bzip2', |
14 'type': '<(library)', | 21 'type': '<(library)', |
15 'defines': ['BZ_NO_STDIO'], | 22 'defines': ['BZ_NO_STDIO'], |
16 'msvs_guid': '2A70CBF0-847E-4E3A-B926-542A656DC7FE', | 23 'msvs_guid': '2A70CBF0-847E-4E3A-B926-542A656DC7FE', |
17 'sources': [ | 24 'sources': [ |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 ] | 68 ] |
62 }], | 69 }], |
63 ], | 70 ], |
64 } | 71 } |
65 | 72 |
66 # Local Variables: | 73 # Local Variables: |
67 # tab-width:2 | 74 # tab-width:2 |
68 # indent-tabs-mode:nil | 75 # indent-tabs-mode:nil |
69 # End: | 76 # End: |
70 # vim: set expandtab tabstop=2 shiftwidth=2: | 77 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |