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