OLD | NEW |
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2011 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 'conditions': [ | 6 'conditions': [ |
7 ['sysroot!=""', { | 7 ['sysroot!=""', { |
8 'variables': { | 8 'variables': { |
9 'pkg-config': './pkg-config-wrapper "<(sysroot)"', | 9 'pkg-config': './pkg-config-wrapper "<(sysroot)"', |
10 }, | 10 }, |
(...skipping 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
205 'ldflags': [ | 205 'ldflags': [ |
206 '<!@(<(pkg-config) --libs-only-L --libs-only-other gconf-2.0)', | 206 '<!@(<(pkg-config) --libs-only-L --libs-only-other gconf-2.0)', |
207 ], | 207 ], |
208 'libraries': [ | 208 'libraries': [ |
209 '<!@(<(pkg-config) --libs-only-l gconf-2.0)', | 209 '<!@(<(pkg-config) --libs-only-l gconf-2.0)', |
210 ], | 210 ], |
211 }, | 211 }, |
212 }]] | 212 }]] |
213 }, | 213 }, |
214 { | 214 { |
| 215 'target_name': 'gio', |
| 216 'type': 'settings', |
| 217 'conditions': [ |
| 218 ['use_gio==1 and _toolset=="target"', { |
| 219 'direct_dependent_settings': { |
| 220 'cflags': [ |
| 221 '<!@(<(pkg-config) --cflags gio-2.0)', |
| 222 ], |
| 223 'defines': [ |
| 224 'USE_GIO', |
| 225 ], |
| 226 'conditions': [ |
| 227 ['linux_link_gsettings==0', { |
| 228 'defines': ['DLOPEN_GSETTINGS'], |
| 229 }], |
| 230 ], |
| 231 }, |
| 232 'link_settings': { |
| 233 'ldflags': [ |
| 234 '<!@(<(pkg-config) --libs-only-L --libs-only-other gio-2.0)', |
| 235 ], |
| 236 'libraries': [ |
| 237 '<!@(<(pkg-config) --libs-only-l gio-2.0)', |
| 238 ], |
| 239 'conditions': [ |
| 240 ['linux_link_gsettings==0', { |
| 241 'libraries': [ |
| 242 '-ldl', |
| 243 ], |
| 244 }], |
| 245 ], |
| 246 }, |
| 247 }]] |
| 248 }, |
| 249 { |
215 'target_name': 'x11', | 250 'target_name': 'x11', |
216 'type': 'settings', | 251 'type': 'settings', |
217 'conditions': [ | 252 'conditions': [ |
218 ['_toolset=="target"', { | 253 ['_toolset=="target"', { |
219 'direct_dependent_settings': { | 254 'direct_dependent_settings': { |
220 'cflags': [ | 255 'cflags': [ |
221 '<!@(<(pkg-config) --cflags x11)', | 256 '<!@(<(pkg-config) --cflags x11)', |
222 ], | 257 ], |
223 }, | 258 }, |
224 'link_settings': { | 259 'link_settings': { |
(...skipping 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
389 ], | 424 ], |
390 }, | 425 }, |
391 ], | 426 ], |
392 } | 427 } |
393 | 428 |
394 # Local Variables: | 429 # Local Variables: |
395 # tab-width:2 | 430 # tab-width:2 |
396 # indent-tabs-mode:nil | 431 # indent-tabs-mode:nil |
397 # End: | 432 # End: |
398 # vim: set expandtab tabstop=2 shiftwidth=2: | 433 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |