Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(376)

Side by Side Diff: build/linux/system.gyp

Issue 6893129: Check the ibus version in build script. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Change ibus_version to ibus_min_version Created 9 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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:
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698