Linux: enable compiling GNOME Keyring and KWallet integration. It's still unused.
BUG=12351,25404 TEST=GNOME Keyring and KWallet get compiled, but add no new library dependencies Review URL: http://codereview.chromium.org/2718001 git-svn-id: http://src.chromium.org/svn/trunk/src/build@49135 4ff67af0-8c30-449e-8e8b-ad334ec8d88c
This commit is contained in:
Родитель
bba44a1ea7
Коммит
f9af46da9c
|
@ -235,6 +235,9 @@
|
|||
# (Note: this is ignored for official builds.)
|
||||
'linux_use_seccomp_sandbox%': 0,
|
||||
|
||||
# Set to 1 to link against libgnome-keyring instead of using dlopen().
|
||||
'linux_link_gnome_keyring%': 0,
|
||||
|
||||
# Set to select the Title Case versions of strings in GRD files.
|
||||
'use_titlecase_in_grd_files%': 0,
|
||||
|
||||
|
|
|
@ -254,43 +254,55 @@
|
|||
},
|
||||
}]]
|
||||
},
|
||||
# TODO(evanm): temporarily disabled while we figure out whether to depend
|
||||
# on gnome-keyring etc.
|
||||
# http://code.google.com/p/chromium/issues/detail?id=12351
|
||||
# {
|
||||
# 'target_name': 'gnome-keyring',
|
||||
# 'type': 'settings',
|
||||
# 'direct_dependent_settings': {
|
||||
# 'cflags': [
|
||||
# '<!@(<(pkg-config) --cflags gnome-keyring-1)',
|
||||
# ],
|
||||
# },
|
||||
# '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': {
|
||||
'cflags': [
|
||||
'<!@(<(pkg-config) --cflags dbus-glib-1)',
|
||||
],
|
||||
},
|
||||
'link_settings': {
|
||||
'ldflags': [
|
||||
'<!@(<(pkg-config) --libs-only-L --libs-only-other dbus-glib-1)',
|
||||
],
|
||||
'libraries': [
|
||||
'<!@(<(pkg-config) --libs-only-l dbus-glib-1)',
|
||||
],
|
||||
},
|
||||
},
|
||||
{
|
||||
'target_name': 'gnome-keyring',
|
||||
'type': 'settings',
|
||||
'direct_dependent_settings': {
|
||||
'cflags': [
|
||||
'<!@(<(pkg-config) --cflags gnome-keyring-1)',
|
||||
],
|
||||
'conditions': [
|
||||
['linux_link_gnome_keyring==0', {
|
||||
'defines': ['DLOPEN_GNOME_KEYRING'],
|
||||
}],
|
||||
],
|
||||
},
|
||||
'conditions': [
|
||||
['linux_link_gnome_keyring!=0', {
|
||||
'link_settings': {
|
||||
'ldflags': [
|
||||
'<!@(<(pkg-config) --libs-only-L --libs-only-other gnome-keyring-1)',
|
||||
],
|
||||
'libraries': [
|
||||
'<!@(<(pkg-config) --libs-only-l gnome-keyring-1)',
|
||||
],
|
||||
},
|
||||
}, {
|
||||
'link_settings': {
|
||||
'libraries': [
|
||||
'-ldl',
|
||||
],
|
||||
},
|
||||
}],
|
||||
],
|
||||
},
|
||||
{
|
||||
'target_name': 'dbus-glib',
|
||||
'type': 'settings',
|
||||
'direct_dependent_settings': {
|
||||
'cflags': [
|
||||
'<!@(<(pkg-config) --cflags dbus-glib-1)',
|
||||
],
|
||||
},
|
||||
'link_settings': {
|
||||
'ldflags': [
|
||||
'<!@(<(pkg-config) --libs-only-L --libs-only-other dbus-glib-1)',
|
||||
],
|
||||
'libraries': [
|
||||
'<!@(<(pkg-config) --libs-only-l dbus-glib-1)',
|
||||
],
|
||||
},
|
||||
},
|
||||
],
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче