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 '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 328 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
339 }, | 339 }, |
340 { | 340 { |
341 'target_name': 'libresolv', | 341 'target_name': 'libresolv', |
342 'type': 'settings', | 342 'type': 'settings', |
343 'link_settings': { | 343 'link_settings': { |
344 'libraries': [ | 344 'libraries': [ |
345 '-lresolv', | 345 '-lresolv', |
346 ], | 346 ], |
347 }, | 347 }, |
348 }, | 348 }, |
| 349 { |
| 350 'target_name': 'ibus', |
| 351 'type': 'settings', |
| 352 'conditions': [ |
| 353 ['"<!@(<(pkg-config) --atleast-version=1.3.99 ibus-1.0 || echo $?)"==""'
, { |
| 354 'variables': { |
| 355 'ibus': 1 |
| 356 }, |
| 357 'direct_dependent_settings': { |
| 358 'cflags': [ |
| 359 '<!@(<(pkg-config) --cflags ibus-1.0)', |
| 360 ], |
| 361 }, |
| 362 'link_settings': { |
| 363 'ldflags': [ |
| 364 '<!@(<(pkg-config) --libs-only-L --libs-only-other ibus-1.0)', |
| 365 ], |
| 366 'libraries': [ |
| 367 '<!@(<(pkg-config) --libs-only-l ibus-1.0)', |
| 368 ], |
| 369 }, |
| 370 }], |
| 371 ], |
| 372 }, |
349 ], | 373 ], |
350 } | 374 } |
351 | 375 |
352 # Local Variables: | 376 # Local Variables: |
353 # tab-width:2 | 377 # tab-width:2 |
354 # indent-tabs-mode:nil | 378 # indent-tabs-mode:nil |
355 # End: | 379 # End: |
356 # vim: set expandtab tabstop=2 shiftwidth=2: | 380 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |