Chromium Code Reviews| 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 333 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 344 'libraries': [ | 344 'libraries': [ |
| 345 '-lresolv', | 345 '-lresolv', |
| 346 ], | 346 ], |
| 347 }, | 347 }, |
| 348 }, | 348 }, |
| 349 { | 349 { |
| 350 'target_name': 'ibus', | 350 'target_name': 'ibus', |
| 351 'type': 'settings', | 351 'type': 'settings', |
| 352 'conditions': [ | 352 'conditions': [ |
| 353 ['use_ibus==1', { | 353 ['use_ibus==1', { |
| 354 'variables': { | |
| 355 'ibus_version': '1.3.99.20110425', | |
|
Mark Mentovai
2011/05/02 17:51:39
ibus_version sounds like it’s the version of ibus
Peng
2011/05/02 18:12:29
Done.
| |
| 356 }, | |
| 354 'direct_dependent_settings': { | 357 'direct_dependent_settings': { |
| 355 'defines': ['HAVE_IBUS=1'], | 358 'defines': ['HAVE_IBUS=1'], |
| 356 'cflags': [ | 359 'cflags': [ |
| 357 '<!@(<(pkg-config) --cflags ibus-1.0)', | 360 '<!@(<(pkg-config) --cflags "ibus-1.0 >= <(ibus_version)")', |
| 358 ], | 361 ], |
| 359 }, | 362 }, |
| 360 'link_settings': { | 363 'link_settings': { |
| 361 'ldflags': [ | 364 'ldflags': [ |
| 362 '<!@(<(pkg-config) --libs-only-L --libs-only-other ibus-1.0)', | 365 '<!@(<(pkg-config) --libs-only-L --libs-only-other "ibus-1.0 >= <( ibus_version)")', |
| 363 ], | 366 ], |
| 364 'libraries': [ | 367 'libraries': [ |
| 365 '<!@(<(pkg-config) --libs-only-l ibus-1.0)', | 368 '<!@(<(pkg-config) --libs-only-l "ibus-1.0 >= <(ibus_version)")', |
| 366 ], | 369 ], |
| 367 }, | 370 }, |
| 368 }], | 371 }], |
| 369 ], | 372 ], |
| 370 }, | 373 }, |
| 371 ], | 374 ], |
| 372 } | 375 } |
| 373 | 376 |
| 374 # Local Variables: | 377 # Local Variables: |
| 375 # tab-width:2 | 378 # tab-width:2 |
| 376 # indent-tabs-mode:nil | 379 # indent-tabs-mode:nil |
| 377 # End: | 380 # End: |
| 378 # vim: set expandtab tabstop=2 shiftwidth=2: | 381 # vim: set expandtab tabstop=2 shiftwidth=2: |
| OLD | NEW |