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

Unified Diff: build/linux/system.gyp

Issue 7804001: Third attempt at: (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 4 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 | « base/third_party/dynamic_annotations/dynamic_annotations.gyp ('k') | build/util/build_util.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 98485)
+++ build/linux/system.gyp (working copy)
@@ -31,6 +31,7 @@
{
'target_name': 'gtk',
'type': 'settings',
+ 'toolsets': ['host', 'target'],
'conditions': [
['_toolset=="target"', {
'direct_dependent_settings': {
@@ -46,12 +47,27 @@
'<!@(<(pkg-config) --libs-only-l gtk+-2.0 gthread-2.0)',
],
},
- }],
- [ 'chromeos==1', {
- 'link_settings': {
- 'libraries': [ '-lXtst' ]
- }
- }]]
+ }, {
+ 'direct_dependent_settings': {
+ 'cflags': [
+ '<!@(pkg-config --cflags gtk+-2.0 gthread-2.0)',
+ ],
+ },
+ 'link_settings': {
+ 'ldflags': [
+ '<!@(pkg-config --libs-only-L --libs-only-other gtk+-2.0 gthread-2.0)',
+ ],
+ 'libraries': [
+ '<!@(pkg-config --libs-only-l gtk+-2.0 gthread-2.0)',
+ ],
+ },
+ }],
+ ['chromeos==1', {
+ 'link_settings': {
+ 'libraries': [ '-lXtst' ]
+ }
+ }],
+ ],
},
{
'target_name': 'gtkprint',
@@ -71,7 +87,8 @@
'<!@(<(pkg-config) --libs-only-l gtk+-unix-print-2.0)',
],
},
- }]]
+ }],
+ ],
},
{
'target_name': 'ssl',
@@ -148,7 +165,8 @@
'<!@(<(pkg-config) --libs-only-l freetype2)',
],
},
- }]]
+ }],
+ ],
},
{
'target_name': 'fontconfig',
@@ -168,7 +186,8 @@
'<!@(<(pkg-config) --libs-only-l fontconfig)',
],
},
- }]]
+ }],
+ ],
},
{
'target_name': 'gdk',
@@ -188,7 +207,8 @@
'<!@(<(pkg-config) --libs-only-l gdk-2.0)',
],
},
- }]]
+ }],
+ ],
},
{
'target_name': 'gconf',
@@ -211,7 +231,8 @@
'<!@(<(pkg-config) --libs-only-l gconf-2.0)',
],
},
- }]]
+ }],
+ ],
},
{
'target_name': 'gio',
@@ -246,11 +267,13 @@
}],
],
},
- }]]
+ }],
+ ],
},
{
'target_name': 'x11',
'type': 'settings',
+ 'toolsets': ['host', 'target'],
'conditions': [
['_toolset=="target"', {
'direct_dependent_settings': {
@@ -266,7 +289,21 @@
'<!@(<(pkg-config) --libs-only-l x11 xi)',
],
},
- }],
+ }, {
+ 'direct_dependent_settings': {
+ 'cflags': [
+ '<!@(pkg-config --cflags x11)',
+ ],
+ },
+ 'link_settings': {
+ 'ldflags': [
+ '<!@(pkg-config --libs-only-L --libs-only-other x11 xi)',
+ ],
+ 'libraries': [
+ '<!@(pkg-config --libs-only-l x11 xi)',
+ ],
+ },
+ }],
],
},
{
@@ -287,7 +324,8 @@
'<!@(<(pkg-config) --libs-only-l xext)',
],
},
- }]]
+ }],
+ ],
},
{
'target_name': 'libgcrypt',
@@ -304,7 +342,8 @@
'<!@(libgcrypt-config --libs)',
],
},
- }]]
+ }],
+ ],
},
{
'target_name': 'selinux',
@@ -316,7 +355,8 @@
'-lselinux',
],
},
- }]]
+ }],
+ ],
},
{
'target_name': 'gnome_keyring',
« no previous file with comments | « base/third_party/dynamic_annotations/dynamic_annotations.gyp ('k') | build/util/build_util.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698