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_posix == 1 and OS != "mac"', { | 8 [ 'os_posix == 1 and OS != "mac"', { |
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_bzip2%': 1, | 10 'use_system_bzip2%': 1, |
11 }, { # os_posix != 1 or OS == "mac" | 11 }, { # os_posix != 1 or OS == "mac" |
12 'use_system_bzip2%': 0, | 12 'use_system_bzip2%': 0, |
13 }], | 13 }], |
14 ], | 14 ], |
15 }, | 15 }, |
16 'conditions': [ | 16 'conditions': [ |
17 ['use_system_bzip2==0', { | 17 ['use_system_bzip2==0', { |
18 'targets': [ | 18 'targets': [ |
19 { | 19 { |
20 'target_name': 'bzip2', | 20 'target_name': 'bzip2', |
21 'type': 'static_library', | 21 'type': 'static_library', |
22 'defines': ['BZ_NO_STDIO'], | 22 'defines': ['BZ_NO_STDIO'], |
23 'msvs_guid': '2A70CBF0-847E-4E3A-B926-542A656DC7FE', | |
24 'sources': [ | 23 'sources': [ |
25 'blocksort.c', | 24 'blocksort.c', |
26 'bzlib.c', | 25 'bzlib.c', |
27 'bzlib.h', | 26 'bzlib.h', |
28 'bzlib_private.h', | 27 'bzlib_private.h', |
29 'compress.c', | 28 'compress.c', |
30 'crctable.c', | 29 'crctable.c', |
31 'decompress.c', | 30 'decompress.c', |
32 'huffman.c', | 31 'huffman.c', |
33 'randtable.c', | 32 'randtable.c', |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 ] | 67 ] |
69 }], | 68 }], |
70 ], | 69 ], |
71 } | 70 } |
72 | 71 |
73 # Local Variables: | 72 # Local Variables: |
74 # tab-width:2 | 73 # tab-width:2 |
75 # indent-tabs-mode:nil | 74 # indent-tabs-mode:nil |
76 # End: | 75 # End: |
77 # vim: set expandtab tabstop=2 shiftwidth=2: | 76 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |