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

Unified Diff: ui/ui.gyp

Issue 12563002: x11: Include X11 dependencies only when building with X11. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 7 years, 9 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 | « ui/aura/aura.gyp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ui.gyp
diff --git a/ui/ui.gyp b/ui/ui.gyp
index 02c8bda377bd1ffa8f6cb3def235515a0763c1cf..3ae227923ffc797a196e031d98d35bdf5aa4b867 100644
--- a/ui/ui.gyp
+++ b/ui/ui.gyp
@@ -615,17 +615,7 @@
'../build/linux/system.gyp:fontconfig',
'../build/linux/system.gyp:glib',
'../build/linux/system.gyp:pangocairo',
- '../build/linux/system.gyp:x11',
- '../build/linux/system.gyp:xext',
- '../build/linux/system.gyp:xfixes',
],
- 'link_settings': {
- 'libraries': [
- '-lXcursor', # For XCursor* function calls in x11_util.cc.
- '-lXrender', # For XRender* function calls in x11_util.cc.
- '-lXrandr', # For XRR* function calls in x11_util.cc.
- ],
- },
'conditions': [
['toolkit_views==0', {
# Note: because of gyp predence rules this has to be defined as
@@ -769,9 +759,23 @@
'-lX11',
'-lXcursor',
'-lXrandr', # For XRR* function calls in x11_util.cc.
+ '-lXrender', # For XRender* function calls in x11_util.cc.
],
},
},
+ 'link_settings': {
+ 'libraries': [
+ '-lX11',
+ '-lXcursor',
+ '-lXrandr', # For XRR* function calls in x11_util.cc.
+ '-lXrender', # For XRender* function calls in x11_util.cc.
+ ],
+ },
+ 'dependencies': [
+ '../build/linux/system.gyp:x11',
+ '../build/linux/system.gyp:xext',
+ '../build/linux/system.gyp:xfixes',
+ ],
}, { # use_x11==0
'sources/': [
['exclude', 'base/keycodes/keyboard_code_conversion_x.*'],
« no previous file with comments | « ui/aura/aura.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698