Index: build/linux/system.gyp |
=================================================================== |
--- build/linux/system.gyp (revision 92796) |
+++ build/linux/system.gyp (working copy) |
@@ -379,6 +379,38 @@ |
], |
}, |
{ |
+ 'target_name': 'gnome-keyring-direct', |
Evan Martin
2011/07/18 15:31:00
I think we normally use underscores for these name
Mike Mammarella
2011/07/19 00:20:35
Done.
|
+ 'type': 'settings', |
Evan Martin
2011/07/18 15:31:00
It turns out this type actually doesn't exist in g
Mike Mammarella
2011/07/19 00:20:35
So, I changed this, and then the unit tests stoppe
|
+ 'conditions': [ |
+ ['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'], |
+ }], |
+ ], |
+ }, |
+ # The unit tests use a few convenience functions from the GNOME |
+ # Keyring library directly. We ignore linux_link_gnome_keyring and |
+ # link directly in this version of the target to allow this. |
+ 'link_settings': { |
+ 'ldflags': [ |
+ '<!@(<(pkg-config) --libs-only-L --libs-only-other gnome-keyring-1)', |
+ ], |
+ 'libraries': [ |
+ '<!@(<(pkg-config) --libs-only-l gnome-keyring-1)', |
+ ], |
+ }, |
+ }], |
+ ], |
+ }, |
+ { |
'target_name': 'dbus-glib', |
'type': 'settings', |
'direct_dependent_settings': { |