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, |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 }, { # else: OS!="win" | 42 }, { # else: OS!="win" |
43 'product_name': 'chrome_bz2', | 43 'product_name': 'chrome_bz2', |
44 }], | 44 }], |
45 ], | 45 ], |
46 }, | 46 }, |
47 ], | 47 ], |
48 }, { | 48 }, { |
49 'targets': [ | 49 'targets': [ |
50 { | 50 { |
51 'target_name': 'bzip2', | 51 'target_name': 'bzip2', |
52 'type': 'settings', | 52 'type': 'none', |
53 | 53 |
54 'direct_dependent_settings': { | 54 'direct_dependent_settings': { |
55 'defines': [ | 55 'defines': [ |
56 'USE_SYSTEM_LIBBZ2', | 56 'USE_SYSTEM_LIBBZ2', |
57 ], | 57 ], |
58 }, | 58 }, |
59 | 59 |
60 # There aren't any pkg-config files for libbz2 | 60 # There aren't any pkg-config files for libbz2 |
61 'link_settings': { | 61 'link_settings': { |
62 'libraries': [ | 62 'libraries': [ |
63 '-lbz2', | 63 '-lbz2', |
64 ], | 64 ], |
65 }, | 65 }, |
66 }, | 66 }, |
67 ] | 67 ] |
68 }], | 68 }], |
69 ], | 69 ], |
70 } | 70 } |
OLD | NEW |