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

Unified Diff: ui/gl/BUILD.gn

Issue 1723303002: Implement GLX for Ozone X11. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Change to use #define Created 4 years, 3 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/events/platform/x11/x11_event_source_libevent.cc ('k') | ui/gl/gl_surface_glx.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/BUILD.gn
diff --git a/ui/gl/BUILD.gn b/ui/gl/BUILD.gn
index bc11394c49c611517446fc22cd23338a1a858942..970e7165a38bf3ae761ef32fa4b62de75b517f9a 100644
--- a/ui/gl/BUILD.gn
+++ b/ui/gl/BUILD.gn
@@ -4,10 +4,11 @@
import("//build/config/linux/pkg_config.gni")
import("//build/config/ui.gni")
+import("//ui/ozone/ozone.gni")
import("//testing/test.gni")
use_egl = is_win || is_android || is_linux
-use_glx = use_x11
+use_glx = use_x11 || ozone_platform_x11
if (is_android) {
import("//build/config/android/config.gni")
@@ -168,6 +169,8 @@ component("gl") {
sources += [
"gl_surface_egl_x11.cc",
"gl_surface_egl_x11.h",
+ "gl_surface_glx_x11.cc",
+ "gl_surface_glx_x11.h",
"gl_surface_osmesa_x11.cc",
"gl_surface_osmesa_x11.h",
]
« no previous file with comments | « ui/events/platform/x11/x11_event_source_libevent.cc ('k') | ui/gl/gl_surface_glx.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698