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

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

Issue 6904053: Remove ibus checking script from views.gyp and add use_ibus=1 option (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Update 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
OLDNEW
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
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': {
358 'cflags': [ 355 'cflags': [
359 '<!@(<(pkg-config) --cflags ibus-1.0)', 356 '<!@(<(pkg-config) --cflags ibus-1.0)',
360 ], 357 ],
361 }, 358 },
362 'link_settings': { 359 'link_settings': {
363 'ldflags': [ 360 'ldflags': [
364 '<!@(<(pkg-config) --libs-only-L --libs-only-other ibus-1.0)', 361 '<!@(<(pkg-config) --libs-only-L --libs-only-other ibus-1.0)',
365 ], 362 ],
366 'libraries': [ 363 'libraries': [
367 '<!@(<(pkg-config) --libs-only-l ibus-1.0)', 364 '<!@(<(pkg-config) --libs-only-l ibus-1.0)',
368 ], 365 ],
369 }, 366 },
370 }], 367 }],
371 ], 368 ],
372 }, 369 },
373 ], 370 ],
374 } 371 }
375 372
376 # Local Variables: 373 # Local Variables:
377 # tab-width:2 374 # tab-width:2
378 # indent-tabs-mode:nil 375 # indent-tabs-mode:nil
379 # End: 376 # End:
380 # vim: set expandtab tabstop=2 shiftwidth=2: 377 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW
« no previous file with comments | « build/common.gypi ('k') | views/views.gyp » ('j') | views/views.gyp » ('J')

Powered by Google App Engine
This is Rietveld 408576698