| OLD | NEW |
| 1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2011 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" and OS != "openbsd"', { | 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 |
| (...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 64 '.', | 64 '.', |
| 65 ], | 65 ], |
| 66 }, | 66 }, |
| 67 'conditions': [ | 67 'conditions': [ |
| 68 ['OS!="win"', { | 68 ['OS!="win"', { |
| 69 'product_name': 'chrome_zlib', | 69 'product_name': 'chrome_zlib', |
| 70 'sources!': [ | 70 'sources!': [ |
| 71 'contrib/minizip/iowin32.c' | 71 'contrib/minizip/iowin32.c' |
| 72 ], | 72 ], |
| 73 }], | 73 }], |
| 74 ['OS=="mac"', { | 74 ['OS=="mac" or os_bsd==1', { |
| 75 # Mac does not have fopen64, ftello64, or fseeko64. We use fopen, | 75 # Mac and the BSDs don't have fopen64, ftello64, or fseeko64. |
| 76 # ftell, and fseek instead on Mac. | 76 # We use fopen, ftell, and fseek instead on these systems. |
| 77 'defines': [ | 77 'defines': [ |
| 78 'USE_FILE32API' | 78 'USE_FILE32API' |
| 79 ], | 79 ], |
| 80 }], | 80 }], |
| 81 ], | 81 ], |
| 82 }, | 82 }, |
| 83 ], | 83 ], |
| 84 }, { | 84 }, { |
| 85 'targets': [ | 85 'targets': [ |
| 86 { | 86 { |
| (...skipping 23 matching lines...) Expand all Loading... |
| 110 'link_settings': { | 110 'link_settings': { |
| 111 'libraries': [ | 111 'libraries': [ |
| 112 '-lz', | 112 '-lz', |
| 113 ], | 113 ], |
| 114 }, | 114 }, |
| 115 }, | 115 }, |
| 116 ], | 116 ], |
| 117 }], | 117 }], |
| 118 ], | 118 ], |
| 119 } | 119 } |
| OLD | NEW |