OLD | NEW |
---|---|
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 # Define an "os_include" variable that points at the OS-specific generated | 8 # Define an "os_include" variable that points at the OS-specific generated |
9 # headers. These were generated by running the configure script offline. | 9 # headers. These were generated by running the configure script offline. |
10 ['os_posix == 1 and OS != "mac"', { | 10 ['os_posix == 1 and OS != "mac"', { |
11 'os_include': 'linux' | 11 'os_include': 'linux' |
12 }], | 12 }], |
13 ['OS=="mac"', {'os_include': 'mac'}], | 13 ['OS=="mac"', {'os_include': 'mac'}], |
14 ['OS=="win"', {'os_include': 'win32'}], | 14 ['OS=="win"', {'os_include': 'win32'}], |
15 ], | 15 ], |
16 'use_system_libxml%': 0, | 16 'use_system_libxml%': 0, |
17 }, | 17 }, |
18 'targets': [ | 18 'targets': [ |
19 { | 19 { |
20 'target_name': 'libxml', | 20 'target_name': 'libxml', |
21 'toolsets': ['host', 'target'], | |
vangelis
2012/04/24 00:37:30
What's the purpose of this line? I wonder if it i
dtu
2012/05/01 00:32:16
Previously the failure was showing for libxml.gyp
| |
21 'conditions': [ | 22 'conditions': [ |
22 ['os_posix == 1 and OS != "mac" and use_system_libxml', { | 23 ['os_posix == 1 and OS != "mac" and use_system_libxml', { |
23 'type': 'none', | 24 'type': 'none', |
24 'direct_dependent_settings': { | 25 'direct_dependent_settings': { |
25 'cflags': [ | 26 'cflags': [ |
26 '<!@(pkg-config --cflags libxml-2.0)', | 27 '<!@(pkg-config --cflags libxml-2.0)', |
27 ], | 28 ], |
28 'defines': [ | 29 'defines': [ |
29 'USE_SYSTEM_LIBXML', | 30 'USE_SYSTEM_LIBXML', |
30 ], | 31 ], |
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
208 '-Wno-pointer-sign', | 209 '-Wno-pointer-sign', |
209 '-Wno-empty-body', | 210 '-Wno-empty-body', |
210 ], | 211 ], |
211 }], | 212 }], |
212 ], | 213 ], |
213 }], | 214 }], |
214 ], | 215 ], |
215 }, | 216 }, |
216 ], | 217 ], |
217 } | 218 } |
OLD | NEW |