summaryrefslogtreecommitdiffstats
path: root/ui/ui.gyp
diff options
context:
space:
mode:
Diffstat (limited to 'ui/ui.gyp')
-rw-r--r--ui/ui.gyp24
1 files changed, 14 insertions, 10 deletions
diff --git a/ui/ui.gyp b/ui/ui.gyp
index 5f39852..a8489c4 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.*'],