summaryrefslogtreecommitdiffstats
path: root/build/linux
diff options
context:
space:
mode:
authorphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-16 00:22:21 +0000
committerphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-16 00:22:21 +0000
commit63692215e10b693db53a395a9fdefd77cf3a6fc6 (patch)
tree5def9ef1dd75c3924f351c760ad9fa8e98065770 /build/linux
parent86f56f6d510c533fe570fb6153b6c1f7b4b365a3 (diff)
downloadchromium_src-63692215e10b693db53a395a9fdefd77cf3a6fc6.zip
chromium_src-63692215e10b693db53a395a9fdefd77cf3a6fc6.tar.gz
chromium_src-63692215e10b693db53a395a9fdefd77cf3a6fc6.tar.bz2
Linux: make compile-time dependency on gnome-keyring optional.
This is upstreaming a Gentoo Linux patch. BUG=none TEST=none Review URL: http://codereview.chromium.org/3380004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59587 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'build/linux')
-rw-r--r--build/linux/system.gyp5
1 files changed, 4 insertions, 1 deletions
diff --git a/build/linux/system.gyp b/build/linux/system.gyp
index f746ebf..816c584 100644
--- a/build/linux/system.gyp
+++ b/build/linux/system.gyp
@@ -259,11 +259,14 @@
'target_name': 'gnome-keyring',
'type': 'settings',
'conditions': [
- ['chromeos==0', {
+ ['use_gnome_keyring==1', {
'direct_dependent_settings': {
'cflags': [
'<!@(<(pkg-config) --cflags gnome-keyring-1)',
],
+ 'defines': [
+ 'USE_GNOME_KEYRING',
+ ],
'conditions': [
['linux_link_gnome_keyring==0', {
'defines': ['DLOPEN_GNOME_KEYRING'],