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 'includes': [ | 6 'includes': [ |
7 '../../build/common.gypi', | 7 '../../build/common.gypi', |
8 ], | 8 ], |
9 'targets': [ | 9 'targets': [ |
10 { | 10 { |
11 'target_name': 'bzip2', | 11 'target_name': 'bzip2', |
12 'type': 'static_library', | 12 'type': '<(library)', |
13 'defines': ['BZ_NO_STDIO'], | 13 'defines': ['BZ_NO_STDIO'], |
14 'msvs_guid': '2A70CBF0-847E-4E3A-B926-542A656DC7FE', | 14 'msvs_guid': '2A70CBF0-847E-4E3A-B926-542A656DC7FE', |
15 'sources': [ | 15 'sources': [ |
16 'blocksort.c', | 16 'blocksort.c', |
17 'bzlib.c', | 17 'bzlib.c', |
18 'bzlib.h', | 18 'bzlib.h', |
19 'bzlib_private.h', | 19 'bzlib_private.h', |
20 'compress.c', | 20 'compress.c', |
21 'crctable.c', | 21 'crctable.c', |
22 'decompress.c', | 22 'decompress.c', |
23 'huffman.c', | 23 'huffman.c', |
24 'randtable.c', | 24 'randtable.c', |
25 ], | 25 ], |
26 'direct_dependent_settings': { | 26 'direct_dependent_settings': { |
27 'include_dirs': [ | 27 'include_dirs': [ |
28 '.', | 28 '.', |
29 ], | 29 ], |
30 }, | 30 }, |
31 'conditions': [ | 31 'conditions': [ |
32 ['OS=="win"', { | 32 ['OS=="win"', { |
33 'product_name': 'libbzip2', | 33 'product_name': 'libbzip2', |
34 }, { # else: OS!="win" | 34 }, { # else: OS!="win" |
35 'product_name': 'bz2', | 35 'product_name': 'bz2', |
36 }], | 36 }], |
37 ], | 37 ], |
38 }, | 38 }, |
39 ], | 39 ], |
40 } | 40 } |
OLD | NEW |