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

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, drop dependency on pointer patchset Created 4 years, 10 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
Index: ui/ozone/platform/wayland/wayland.gypi
diff --git a/ui/ozone/platform/wayland/wayland.gypi b/ui/ozone/platform/wayland/wayland.gypi
index d87240300ad95ccc0a994c5dfea2b1123233c50d..b9e362e526478ccd086e6b489da31eb4b206bedd 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': [
{
@@ -44,6 +45,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',

Powered by Google App Engine
This is Rietveld 408576698