From 76b0d30c794cfbceb472820cc212e891b4f77e11 Mon Sep 17 00:00:00 2001 From: "phajdan.jr@chromium.org" Date: Thu, 6 Dec 2012 20:14:05 +0000 Subject: [PATCH] Linux: add library loader for GNOME keyring. BUG=162733 Review URL: https://codereview.chromium.org/11437025 git-svn-id: http://src.chromium.org/svn/trunk/src/build@171573 4ff67af0-8c30-449e-8e8b-ad334ec8d88c --- linux/system.gyp | 67 +++++++++++++++++++++++++++++++++++------------- 1 file changed, 49 insertions(+), 18 deletions(-) diff --git a/linux/system.gyp b/linux/system.gyp index 041afd540..6c4488ae7 100644 --- a/linux/system.gyp +++ b/linux/system.gyp @@ -493,9 +493,15 @@ }, { 'target_name': 'gnome_keyring', - 'type': 'none', + 'type': 'static_library', 'conditions': [ ['use_gnome_keyring==1', { + 'dependencies': [ + '../../base/base.gyp:base', + ], + 'cflags': [ + '', + '--link-directly=<(linux_link_gnome_keyring)', + 'gnome_keyring_is_available', + 'gnome_keyring_store_password', + 'gnome_keyring_delete_password', + 'gnome_keyring_find_itemsv', + 'gnome_keyring_result_to_message', + ], + 'message': 'Generating libgnome-keyring library loader.', + 'process_outputs_as_sources': 1, + }, ], }], ],