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

Side by Side Diff: build/common.gypi

Issue 7030007: Linux: add gyp rules for gio library and gsettings link mode. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' 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 | build/linux/system.gyp » ('j') | 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 # IMPORTANT: 5 # IMPORTANT:
6 # Please don't directly include this file if you are building via gyp_chromium, 6 # Please don't directly include this file if you are building via gyp_chromium,
7 # since gyp_chromium is automatically forcing its inclusion. 7 # since gyp_chromium is automatically forcing its inclusion.
8 { 8 {
9 # Variables expected to be overriden on the GYP command line (-D) or by 9 # Variables expected to be overriden on the GYP command line (-D) or by
10 # ~/.gyp/include.gypi. 10 # ~/.gyp/include.gypi.
(...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after
354 # Disable shadow stack keeping used by heapcheck to unwind the stacks 354 # Disable shadow stack keeping used by heapcheck to unwind the stacks
355 # better. 355 # better.
356 'linux_keep_shadow_stacks%': 0, 356 'linux_keep_shadow_stacks%': 0,
357 357
358 # Set to 1 to turn on seccomp sandbox by default. 358 # Set to 1 to turn on seccomp sandbox by default.
359 # (Note: this is ignored for official builds.) 359 # (Note: this is ignored for official builds.)
360 'linux_use_seccomp_sandbox%': 0, 360 'linux_use_seccomp_sandbox%': 0,
361 361
362 # Set to 1 to link against libgnome-keyring instead of using dlopen(). 362 # Set to 1 to link against libgnome-keyring instead of using dlopen().
363 'linux_link_gnome_keyring%': 0, 363 'linux_link_gnome_keyring%': 0,
364 # Set to 1 to link against gsettings APIs instead of using dlopen().
365 'linux_link_gsettings%': 0,
364 366
365 # Used to disable Native Client at compile time, for platforms where it 367 # Used to disable Native Client at compile time, for platforms where it
366 # isn't supported 368 # isn't supported
367 'disable_nacl%': 0, 369 'disable_nacl%': 0,
368 370
369 # Set Thumb compilation flags. 371 # Set Thumb compilation flags.
370 'arm_thumb%': 0, 372 'arm_thumb%': 0,
371 373
372 # Set ARM fpu compilation flags (only meaningful if armv7==1 and 374 # Set ARM fpu compilation flags (only meaningful if armv7==1 and
373 # arm_neon==0). 375 # arm_neon==0).
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
512 }], 514 }],
513 515
514 # Set the relative path from this file to the GYP file of the JPEG 516 # Set the relative path from this file to the GYP file of the JPEG
515 # library used by Chromium. 517 # library used by Chromium.
516 ['use_libjpeg_turbo==1', { 518 ['use_libjpeg_turbo==1', {
517 'libjpeg_gyp_path': '../third_party/libjpeg_turbo/libjpeg.gyp', 519 'libjpeg_gyp_path': '../third_party/libjpeg_turbo/libjpeg.gyp',
518 }, { 520 }, {
519 'libjpeg_gyp_path': '../third_party/libjpeg/libjpeg.gyp', 521 'libjpeg_gyp_path': '../third_party/libjpeg/libjpeg.gyp',
520 }], # use_libjpeg_turbo==1 522 }], # use_libjpeg_turbo==1
521 523
522 # Use GConf, the GNOME configuration system. 524 # Options controlling the use of GConf (the classic GNOME configuration
525 # system) and GIO, which contains GSettings (the new GNOME config system).
523 ['chromeos==1', { 526 ['chromeos==1', {
524 'use_gconf%': 0, 527 'use_gconf%': 0,
528 'use_gio%': 0,
525 }, { 529 }, {
526 'use_gconf%': 1, 530 'use_gconf%': 1,
531 'use_gio%': 1,
527 }], 532 }],
528 533
529 # Set up -D and -E flags passed into grit. 534 # Set up -D and -E flags passed into grit.
530 ['branding=="Chrome"', { 535 ['branding=="Chrome"', {
531 # TODO(mmoss) The .grd files look for _google_chrome, but for 536 # TODO(mmoss) The .grd files look for _google_chrome, but for
532 # consistency they should look for google_chrome_build like C++. 537 # consistency they should look for google_chrome_build like C++.
533 'grit_defines': ['-D', '_google_chrome', 538 'grit_defines': ['-D', '_google_chrome',
534 '-E', 'CHROMIUM_BUILD=google_chrome'], 539 '-E', 'CHROMIUM_BUILD=google_chrome'],
535 }, { 540 }, {
536 'grit_defines': ['-D', '_chromium', 541 'grit_defines': ['-D', '_chromium',
(...skipping 1199 matching lines...) Expand 10 before | Expand all | Expand 10 after
1736 # and therefore SYMROOT, needs to be set at the project level. 1741 # and therefore SYMROOT, needs to be set at the project level.
1737 'SYMROOT': '<(DEPTH)/xcodebuild', 1742 'SYMROOT': '<(DEPTH)/xcodebuild',
1738 }, 1743 },
1739 } 1744 }
1740 1745
1741 # Local Variables: 1746 # Local Variables:
1742 # tab-width:2 1747 # tab-width:2
1743 # indent-tabs-mode:nil 1748 # indent-tabs-mode:nil
1744 # End: 1749 # End:
1745 # vim: set expandtab tabstop=2 shiftwidth=2: 1750 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW
« no previous file with comments | « no previous file | build/linux/system.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698