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

Unified Diff: ui/ozone/platform/wayland/BUILD.gn

Issue 2431383002: Ozone: Remove the use_wayland_egl build flag (Closed)
Patch Set: Created 4 years, 2 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 | « no previous file | ui/ozone/platform/wayland/wayland_surface_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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") {
« no previous file with comments | « no previous file | ui/ozone/platform/wayland/wayland_surface_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698