Index: ui/gl/gl.gyp |
diff --git a/ui/gl/gl.gyp b/ui/gl/gl.gyp |
index 115b373518119a9ce16096560f4fb1cfe7a490b4..f71cfdc0e56ec8880f68d9206c2f184058e9aff8 100644 |
--- a/ui/gl/gl.gyp |
+++ b/ui/gl/gl.gyp |
@@ -60,6 +60,7 @@ |
'gl_context_osmesa.h', |
'gl_context_stub.cc', |
'gl_context_stub.h', |
+ 'gl_context_wayland.cc', |
'gl_context_win.cc', |
'gl_context_x11.cc', |
'gl_export.h', |
@@ -75,6 +76,7 @@ |
'gl_image_stub.cc', |
'gl_image_stub.h', |
'gl_image_win.cc', |
+ 'gl_image_wayland.cc', |
'gl_image_x11.cc', |
'gl_implementation.cc', |
'gl_implementation.h', |
@@ -82,6 +84,7 @@ |
'gl_implementation_ozone.cc', |
'gl_implementation_mac.cc', |
'gl_implementation_win.cc', |
+ 'gl_implementation_wayland.cc', |
'gl_implementation_x11.cc', |
'gl_interface.cc', |
'gl_interface.h', |
@@ -96,6 +99,7 @@ |
'gl_surface_mac.cc', |
'gl_surface_stub.cc', |
'gl_surface_stub.h', |
+ 'gl_surface_wayland.cc', |
'gl_surface_win.cc', |
'gl_surface_x11.cc', |
'gl_surface_osmesa.cc', |
@@ -220,6 +224,18 @@ |
], |
}, |
}], |
+ [ 'use_wayland==1', { |
+ 'dependencies': [ |
+ '<(DEPTH)/build/linux/system.gyp:wayland', |
+ ], |
+ 'export_dependent_settings': [ |
+ '<(DEPTH)/build/linux/system.gyp:wayland', |
+ ], |
+ 'sources': [ |
+ 'gl_egl_api_implementation.cc', |
+ 'gl_egl_api_implementation.h', |
+ ], |
+ }], |
['OS=="win"', { |
'sources': [ |
'gl_context_wgl.cc', |