| Index: ui/ozone/platform/wayland/BUILD.gn | 
| diff --git a/ui/ozone/platform/wayland/BUILD.gn b/ui/ozone/platform/wayland/BUILD.gn | 
| index 8ba2444bd6a37cafb497b0a8c056710c8c1b55ac..7ce46ec11cc379e948f04b01a942e47e7dee046b 100644 | 
| --- a/ui/ozone/platform/wayland/BUILD.gn | 
| +++ b/ui/ozone/platform/wayland/BUILD.gn | 
| @@ -6,20 +6,16 @@ visibility = [ "//ui/ozone/*" ] | 
|  | 
| import("//build/config/linux/pkg_config.gni") | 
|  | 
| -declare_args() { | 
| -  use_wayland_egl = true | 
| -} | 
| - | 
| -if (use_wayland_egl) { | 
| -  pkg_config("wayland-egl") { | 
| -    packages = [ "wayland-egl" ] | 
| -  } | 
| +pkg_config("wayland-egl") { | 
| +  packages = [ "wayland-egl" ] | 
| } | 
|  | 
| source_set("wayland") { | 
| sources = [ | 
| "client_native_pixmap_factory_wayland.cc", | 
| "client_native_pixmap_factory_wayland.h", | 
| +    "gl_surface_wayland.cc", | 
| +    "gl_surface_wayland.h", | 
| "ozone_platform_wayland.cc", | 
| "ozone_platform_wayland.h", | 
| "wayland_connection.cc", | 
| @@ -52,17 +48,10 @@ source_set("wayland") { | 
|  | 
| defines = [ "OZONE_IMPLEMENTATION" ] | 
|  | 
| -  if (use_wayland_egl) { | 
| -    sources += [ | 
| -      "gl_surface_wayland.cc", | 
| -      "gl_surface_wayland.h", | 
| -    ] | 
| -    configs += [ | 
| -      ":wayland-egl", | 
| -      "//third_party/khronos:khronos_headers", | 
| -    ] | 
| -    defines += [ "USE_WAYLAND_EGL" ] | 
| -  } | 
| +  configs += [ | 
| +    ":wayland-egl", | 
| +    "//third_party/khronos:khronos_headers", | 
| +  ] | 
| } | 
|  | 
| source_set("wayland_unittests") { | 
|  |