| 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 [ 'OS=="linux"', { |
| 12 # Link to system .so since we already use it due to GTK. |
| 13 'use_system_libxslt%': 1, |
| 14 }, { # OS!="linux" |
| 15 'use_system_libxslt%': 0, |
| 16 }], |
| 11 ], | 17 ], |
| 12 'use_system_libxslt%': 0, | |
| 13 }, | 18 }, |
| 14 'targets': [ | 19 'targets': [ |
| 15 { | 20 { |
| 16 'target_name': 'libxslt', | 21 'target_name': 'libxslt', |
| 17 'conditions': [ | 22 'conditions': [ |
| 18 ['OS=="linux" and use_system_libxslt', { | 23 ['OS=="linux" and use_system_libxslt', { |
| 19 'type': 'settings', | 24 'type': 'settings', |
| 20 'direct_dependent_settings': { | 25 'direct_dependent_settings': { |
| 21 'cflags': [ | 26 'cflags': [ |
| 22 '<!@(pkg-config --cflags libxslt)', | 27 '<!@(pkg-config --cflags libxslt)', |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 ], | 111 ], |
| 107 }, | 112 }, |
| 108 ], | 113 ], |
| 109 } | 114 } |
| 110 | 115 |
| 111 # Local Variables: | 116 # Local Variables: |
| 112 # tab-width:2 | 117 # tab-width:2 |
| 113 # indent-tabs-mode:nil | 118 # indent-tabs-mode:nil |
| 114 # End: | 119 # End: |
| 115 # vim: set expandtab tabstop=2 shiftwidth=2: | 120 # vim: set expandtab tabstop=2 shiftwidth=2: |
| OLD | NEW |