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" 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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
88 'USE_SYSTEM_ZLIB', | 88 'USE_SYSTEM_ZLIB', |
89 ], | 89 ], |
90 'sources': [ | 90 'sources': [ |
91 'contrib/minizip/ioapi.c', | 91 'contrib/minizip/ioapi.c', |
92 'contrib/minizip/ioapi.h', | 92 'contrib/minizip/ioapi.h', |
93 'contrib/minizip/unzip.c', | 93 'contrib/minizip/unzip.c', |
94 'contrib/minizip/unzip.h', | 94 'contrib/minizip/unzip.h', |
95 'contrib/minizip/zip.c', | 95 'contrib/minizip/zip.c', |
96 'contrib/minizip/zip.h', | 96 'contrib/minizip/zip.h', |
97 ], | 97 ], |
| 98 'conditions': [ |
| 99 ['OS=="android"', { |
| 100 'toolsets': ['target', 'host'], |
| 101 }], |
| 102 ], |
98 'link_settings': { | 103 'link_settings': { |
99 'libraries': [ | 104 'libraries': [ |
100 '-lz', | 105 '-lz', |
101 ], | 106 ], |
102 }, | 107 }, |
103 }, | 108 }, |
104 ], | 109 ], |
105 }], | 110 }], |
106 ], | 111 ], |
107 } | 112 } |
OLD | NEW |