Index: build/linux/system.gyp |
diff --git a/build/linux/system.gyp b/build/linux/system.gyp |
index 68e4d36e28a42d63dce74dd860f1215cd1354a71..6a359db8fee8d0c26afa7e3f91bcd96e5f3da4f9 100644 |
--- a/build/linux/system.gyp |
+++ b/build/linux/system.gyp |
@@ -681,6 +681,42 @@ |
], |
}, |
{ |
+ 'target_name': 'xrandr', |
+ 'type': 'none', |
+ 'toolsets': ['host', 'target'], |
+ 'conditions': [ |
+ ['_toolset=="target"', { |
+ 'direct_dependent_settings': { |
+ 'cflags': [ |
+ '<!@(<(pkg-config) --cflags xrandr)', |
+ ], |
+ }, |
+ 'link_settings': { |
+ 'ldflags': [ |
+ '<!@(<(pkg-config) --libs-only-L --libs-only-other xrandr)', |
+ ], |
+ 'libraries': [ |
+ '<!@(<(pkg-config) --libs-only-l xrandr)', |
+ ], |
+ }, |
+ }, { |
+ 'direct_dependent_settings': { |
+ 'cflags': [ |
+ '<!@(pkg-config --cflags xrandr)', |
+ ], |
+ }, |
+ 'link_settings': { |
+ 'ldflags': [ |
+ '<!@(pkg-config --libs-only-L --libs-only-other xrandr)', |
+ ], |
+ 'libraries': [ |
+ '<!@(pkg-config --libs-only-l xrandr)', |
+ ], |
+ }, |
+ }], |
+ ], |
+ }, |
+ { |
'target_name': 'libgcrypt', |
'type': 'none', |
'conditions': [ |