Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(242)

Unified Diff: ui/ozone/platform/wayland/wayland.gypi

Issue 1704243003: ozone/platform/wayland: Implement SurfaceOzoneEGL (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase, fix scoped_ptr NULL check, make use_wayland_egl default to true Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ui/ozone/platform/wayland/BUILD.gn ('k') | ui/ozone/platform/wayland/wayland_egl_surface.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/ozone/platform/wayland/wayland.gypi
diff --git a/ui/ozone/platform/wayland/wayland.gypi b/ui/ozone/platform/wayland/wayland.gypi
index c71b6346172f02f572d3a56e0c5522162f95814e..01db4b6c345e5f46d8c840bf8166303c0f17e66c 100644
--- a/ui/ozone/platform/wayland/wayland.gypi
+++ b/ui/ozone/platform/wayland/wayland.gypi
@@ -13,6 +13,7 @@
'internal_ozone_platforms': [
'wayland'
],
+ 'use_wayland_egl%': 0,
},
'targets': [
{
@@ -47,6 +48,20 @@
'wayland_window.cc',
'wayland_window.h',
],
+ 'conditions': [
+ ['use_wayland_egl==1', {
+ 'defines': [
+ 'USE_WAYLAND_EGL',
+ ],
+ 'dependencies': [
+ '../../build/linux/system.gyp:wayland-egl',
+ ],
+ 'sources': [
+ 'wayland_egl_surface.cc',
+ 'wayland_egl_surface.h',
+ ],
+ }],
+ ],
},
{
'target_name': 'ozone_platform_wayland_unittests',
« no previous file with comments | « ui/ozone/platform/wayland/BUILD.gn ('k') | ui/ozone/platform/wayland/wayland_egl_surface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698