| 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 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 166 'type': 'executable', | 166 'type': 'executable', |
| 167 'sources': [ | 167 'sources': [ |
| 168 'xmlcatalog.c', | 168 'xmlcatalog.c', |
| 169 ], | 169 ], |
| 170 'include_dirs': [ | 170 'include_dirs': [ |
| 171 '<(os_include)', | 171 '<(os_include)', |
| 172 ], | 172 ], |
| 173 'dependencies': [ | 173 'dependencies': [ |
| 174 'libxml', | 174 'libxml', |
| 175 ], | 175 ], |
| 176 'conditions': [ |
| 177 ['OS=="linux"', { |
| 178 'link_settings': { |
| 179 'libraries': [ |
| 180 '-lm', |
| 181 ], |
| 182 }, |
| 183 }], |
| 184 ], |
| 176 }, | 185 }, |
| 177 { | 186 { |
| 178 'target_name': 'xmllint', | 187 'target_name': 'xmllint', |
| 179 'type': 'executable', | 188 'type': 'executable', |
| 180 'sources': [ | 189 'sources': [ |
| 181 'xmllint.c', | 190 'xmllint.c', |
| 182 ], | 191 ], |
| 183 'include_dirs': [ | 192 'include_dirs': [ |
| 184 '<(os_include)', | 193 '<(os_include)', |
| 185 ], | 194 ], |
| 186 'dependencies': [ | 195 'dependencies': [ |
| 187 'libxml', | 196 'libxml', |
| 188 ], | 197 ], |
| 198 'conditions': [ |
| 199 ['OS=="linux"', { |
| 200 'link_settings': { |
| 201 'libraries': [ |
| 202 '-lm', |
| 203 ], |
| 204 }, |
| 205 }], |
| 206 ], |
| 189 }, | 207 }, |
| 190 ], | 208 ], |
| 191 } | 209 } |
| OLD | NEW |