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 350 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
361 'libraries': [ | 361 'libraries': [ |
362 '-lresolv', | 362 '-lresolv', |
363 ], | 363 ], |
364 }, | 364 }, |
365 }, | 365 }, |
366 { | 366 { |
367 'target_name': 'ibus', | 367 'target_name': 'ibus', |
368 'type': 'settings', | 368 'type': 'settings', |
369 'conditions': [ | 369 'conditions': [ |
370 ['use_ibus==1', { | 370 ['use_ibus==1', { |
| 371 'variables': { |
| 372 'ibus_min_version': '1.3.99.20110425', |
| 373 }, |
371 'direct_dependent_settings': { | 374 'direct_dependent_settings': { |
372 'defines': ['HAVE_IBUS=1'], | 375 'defines': ['HAVE_IBUS=1'], |
373 'cflags': [ | 376 'cflags': [ |
374 '<!@(<(pkg-config) --cflags ibus-1.0)', | 377 '<!@(<(pkg-config) --cflags "ibus-1.0 >= <(ibus_min_version)")', |
375 ], | 378 ], |
376 }, | 379 }, |
377 'link_settings': { | 380 'link_settings': { |
378 'ldflags': [ | 381 'ldflags': [ |
379 '<!@(<(pkg-config) --libs-only-L --libs-only-other ibus-1.0)', | 382 '<!@(<(pkg-config) --libs-only-L --libs-only-other "ibus-1.0 >= <(
ibus_min_version)")', |
380 ], | 383 ], |
381 'libraries': [ | 384 'libraries': [ |
382 '<!@(<(pkg-config) --libs-only-l ibus-1.0)', | 385 '<!@(<(pkg-config) --libs-only-l "ibus-1.0 >= <(ibus_min_version)"
)', |
383 ], | 386 ], |
384 }, | 387 }, |
385 }], | 388 }], |
386 ], | 389 ], |
387 }, | 390 }, |
388 ], | 391 ], |
389 } | 392 } |
390 | 393 |
391 # Local Variables: | 394 # Local Variables: |
392 # tab-width:2 | 395 # tab-width:2 |
393 # indent-tabs-mode:nil | 396 # indent-tabs-mode:nil |
394 # End: | 397 # End: |
395 # vim: set expandtab tabstop=2 shiftwidth=2: | 398 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |