Index: gpu/tools/tools.gyp |
diff --git a/gpu/tools/tools.gyp b/gpu/tools/tools.gyp |
index d34f628abccf0378071ff6465e72d005d1185bf4..7eb4b1ea5d80a1932faaa2de6938d5d0c596db72 100644 |
--- a/gpu/tools/tools.gyp |
+++ b/gpu/tools/tools.gyp |
@@ -9,16 +9,18 @@ |
'targets': [ |
], |
'conditions': [ |
- ['OS == "linux" and target_arch != "arm"', { |
+ ['OS == "linux" and target_arch != "arm" and use_x11==1', { |
'targets': [ |
{ |
'target_name': 'compositor_model_bench', |
'type': 'executable', |
+ |
piman
2014/02/18 20:23:30
nit: avoid blank lines in gyp files.
|
'dependencies': [ |
'../../base/base.gyp:base', |
'../../build/linux/system.gyp:x11', |
'../../ui/gl/gl.gyp:gl', |
], |
+ |
'libraries': [ |
'-lGL', |
'-ldl', |