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

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: Move refactor to new CL. Created 4 years, 8 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/gl/BUILD.gn
diff --git a/ui/gl/BUILD.gn b/ui/gl/BUILD.gn
index 481798ec7952158d245551800b8ae20cf0bd7b6f..e689b37b15216fbaf3ac1c51d7c35fcfbeaa7076 100644
--- a/ui/gl/BUILD.gn
+++ b/ui/gl/BUILD.gn
@@ -3,10 +3,11 @@
# found in the LICENSE file.
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")
@@ -196,6 +197,10 @@ component("gl") {
]
deps += [ "//ui/ozone" ]
+
+ if (ozone_platform_x11) {
+ deps += [ "//ui/events/platform/x11" ]
+ }
}
if (use_glx) {
sources += [
« no previous file with comments | « ui/gfx/x/x11_types.h ('k') | ui/gl/gl_context_ozone.cc » ('j') | ui/gl/gl_context_ozone.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698