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" or OS=="freebsd"', {'os_include': 'linux'}], | 8 ['OS=="linux" or OS=="freebsd"', {'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'}], |
11 ], | 11 ], |
12 'use_system_libxslt%': 0, | 12 'use_system_libxslt%': 0, |
13 }, | 13 }, |
14 'includes': [ | |
15 '../../build/common.gypi', | |
16 ], | |
17 'targets': [ | 14 'targets': [ |
18 { | 15 { |
19 'target_name': 'libxslt', | 16 'target_name': 'libxslt', |
20 'conditions': [ | 17 'conditions': [ |
21 ['OS=="linux" and use_system_libxslt', { | 18 ['OS=="linux" and use_system_libxslt', { |
22 'type': 'settings', | 19 'type': 'settings', |
23 'direct_dependent_settings': { | 20 'direct_dependent_settings': { |
24 'cflags': [ | 21 'cflags': [ |
25 '<!@(pkg-config --cflags libxslt)', | 22 '<!@(pkg-config --cflags libxslt)', |
26 ], | 23 ], |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
103 ], | 100 ], |
104 }, | 101 }, |
105 'conditions': [ | 102 'conditions': [ |
106 ['OS!="win"', {'product_name': 'xslt'}], | 103 ['OS!="win"', {'product_name': 'xslt'}], |
107 ], | 104 ], |
108 }], | 105 }], |
109 ], | 106 ], |
110 }, | 107 }, |
111 ], | 108 ], |
112 } | 109 } |
OLD | NEW |