Index: ui/gfx/gl/gl.gyp |
diff --git a/ui/gfx/gl/gl.gyp b/ui/gfx/gl/gl.gyp |
index 5771682e34375e928ed7f288332f3ea13626948d..8e799ce84561fa66cc1443330fa4af4af5c938c1 100644 |
--- a/ui/gfx/gl/gl.gyp |
+++ b/ui/gfx/gl/gl.gyp |
@@ -58,6 +58,7 @@ |
'gl_surface_mac.cc', |
'gl_surface_stub.cc', |
'gl_surface_stub.h', |
+ 'gl_surface_wayland.cc', |
'gl_surface_win.cc', |
'gl_surface_osmesa.cc', |
'gl_surface_osmesa.h', |
@@ -116,7 +117,12 @@ |
'<(DEPTH)/third_party/angle/include', |
], |
}], |
- ['use_x11 == 1', { |
+ ['use_wayland == 1', { |
+ 'sources!': [ |
+ 'gl_surface_linux.cc', |
+ ], |
+ }], |
+ ['use_x11 == 1 and use_wayland != 1', { |
'sources': [ |
'gl_context_glx.cc', |
'gl_context_glx.h', |