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 'target_defaults': { | 6 'target_defaults': { |
7 'defines': [ | 7 'defines': [ |
8 '_LIB', | 8 '_LIB', |
9 'XML_STATIC', # Compile for static linkage. | 9 'XML_STATIC', # Compile for static linkage. |
10 ], | 10 ], |
11 'include_dirs': [ | 11 'include_dirs': [ |
12 'files/lib', | 12 'files/lib', |
13 ], | 13 ], |
14 'dependencies': [ | 14 'dependencies': [ |
15 ] | 15 ] |
16 }, | 16 }, |
17 'conditions': [ | 17 'conditions': [ |
18 ['os_posix == 1 and OS != "mac"', { | 18 ['os_posix == 1 and OS != "mac"', { |
19 # On Linux, we implicitly already depend on expat via fontconfig; | 19 # On Linux, we implicitly already depend on expat via fontconfig; |
20 # let's not pull it in twice. | 20 # let's not pull it in twice. |
21 'targets': [ | 21 'targets': [ |
22 { | 22 { |
23 'target_name': 'expat', | 23 'target_name': 'expat', |
24 'type': 'settings', | 24 'type': 'none', |
25 'link_settings': { | 25 'link_settings': { |
26 'libraries': [ | 26 'libraries': [ |
27 '-lexpat', | 27 '-lexpat', |
28 ], | 28 ], |
29 }, | 29 }, |
30 }, | 30 }, |
31 ], | 31 ], |
32 }, { # OS != linux | 32 }, { # OS != linux |
33 'targets': [ | 33 'targets': [ |
34 { | 34 { |
(...skipping 28 matching lines...) Expand all Loading... |
63 'defines': [ | 63 'defines': [ |
64 'HAVE_EXPAT_CONFIG_H', | 64 'HAVE_EXPAT_CONFIG_H', |
65 ], | 65 ], |
66 }], | 66 }], |
67 ], | 67 ], |
68 }, | 68 }, |
69 ], | 69 ], |
70 }], | 70 }], |
71 ], | 71 ], |
72 } | 72 } |
OLD | NEW |