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=="linux"', {'os_include': 'linux'}], | 8 ['OS=="linux"', {'os_include': 'linux'}], |
9 ['OS=="mac"', {'os_include': 'mac'}], | 9 ['OS=="mac"', {'os_include': 'mac'}], |
10 ['OS=="win"', {'os_include': 'win32'}], | 10 ['OS=="win"', {'os_include': 'win32'}], |
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
187 'include_dirs': [ | 187 'include_dirs': [ |
188 '<(os_include)', | 188 '<(os_include)', |
189 ], | 189 ], |
190 'dependencies': [ | 190 'dependencies': [ |
191 'libxml', | 191 'libxml', |
192 ], | 192 ], |
193 'conditions': [ | 193 'conditions': [ |
194 ['OS=="linux"', { | 194 ['OS=="linux"', { |
195 'link_settings': { | 195 'link_settings': { |
196 'libraries': [ | 196 'libraries': [ |
| 197 '-ldl', |
197 '-lm', | 198 '-lm', |
198 ], | 199 ], |
199 }, | 200 }, |
200 }], | 201 }], |
201 ], | 202 ], |
202 }, | 203 }, |
203 { | 204 { |
204 'target_name': 'xmllint', | 205 'target_name': 'xmllint', |
205 'type': 'executable', | 206 'type': 'executable', |
206 'sources': [ | 207 'sources': [ |
207 'xmllint.c', | 208 'xmllint.c', |
208 ], | 209 ], |
209 'include_dirs': [ | 210 'include_dirs': [ |
210 '<(os_include)', | 211 '<(os_include)', |
211 ], | 212 ], |
212 'dependencies': [ | 213 'dependencies': [ |
213 'libxml', | 214 'libxml', |
| 215 '../icu38/icu38.gyp:icuuc', |
214 ], | 216 ], |
215 'conditions': [ | 217 'conditions': [ |
216 ['OS=="linux"', { | 218 ['OS=="linux"', { |
217 'link_settings': { | 219 'link_settings': { |
218 'libraries': [ | 220 'libraries': [ |
| 221 '-ldl', |
219 '-lm', | 222 '-lm', |
220 ], | 223 ], |
221 }, | 224 }, |
222 }], | 225 }], |
223 ], | 226 ], |
224 }, | 227 }, |
225 ], | 228 ], |
226 } | 229 } |
OLD | NEW |