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

Unified Diff: build/linux/system.gyp

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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/common.gypi ('k') | net/net.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/linux/system.gyp
===================================================================
--- build/linux/system.gyp (revision 85385)
+++ build/linux/system.gyp (working copy)
@@ -212,6 +212,41 @@
}]]
},
{
+ 'target_name': 'gio',
+ 'type': 'settings',
+ 'conditions': [
+ ['use_gio==1 and _toolset=="target"', {
+ 'direct_dependent_settings': {
+ 'cflags': [
+ '<!@(<(pkg-config) --cflags gio-2.0)',
+ ],
+ 'defines': [
+ 'USE_GIO',
+ ],
+ 'conditions': [
+ ['linux_link_gsettings==0', {
+ 'defines': ['DLOPEN_GSETTINGS'],
+ }],
+ ],
+ },
+ 'link_settings': {
+ 'ldflags': [
+ '<!@(<(pkg-config) --libs-only-L --libs-only-other gio-2.0)',
+ ],
+ 'libraries': [
+ '<!@(<(pkg-config) --libs-only-l gio-2.0)',
+ ],
+ 'conditions': [
+ ['linux_link_gsettings==0', {
+ 'libraries': [
+ '-ldl',
+ ],
+ }],
+ ],
+ },
+ }]]
+ },
+ {
'target_name': 'x11',
'type': 'settings',
'conditions': [
« no previous file with comments | « build/common.gypi ('k') | net/net.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698