Index: third_party/mesa/mesa.gyp |
diff --git a/third_party/mesa/mesa.gyp b/third_party/mesa/mesa.gyp |
index a9e884e6b07147667ea161710afac03bf7ae86c9..67daf5210aa9b8d3b8f78bbf479972377da48a9c 100644 |
--- a/third_party/mesa/mesa.gyp |
+++ b/third_party/mesa/mesa.gyp |
@@ -103,6 +103,15 @@ |
'-Wno-unknown-pragmas', |
], |
}, |
+ 'conditions': [ |
+ ['use_x11==0', { |
+ 'direct_dependent_settings': { |
+ 'defines': [ |
+ 'MESA_EGL_NO_X11_HEADERS', |
+ ], |
+ }, |
+ }], |
+ ], |
}, |
{ |
'target_name': 'mesa_libglslcommon', |