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

Unified Diff: ui/platform_window/x11/BUILD.gn

Issue 1602173005: Add PlatformWindow/Event related code for Ozone X11. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Final fixes for comments + tests. 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
« no previous file with comments | « ui/ozone/platform/x11/ozone_platform_x11.cc ('k') | ui/platform_window/x11/x11_window.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/platform_window/x11/BUILD.gn
diff --git a/ui/platform_window/x11/BUILD.gn b/ui/platform_window/x11/BUILD.gn
index 4775aa771449011f02f181f1dc2c3a478a3b2824..002f6debae759090fe38acbd431b9e53a2a78a55 100644
--- a/ui/platform_window/x11/BUILD.gn
+++ b/ui/platform_window/x11/BUILD.gn
@@ -3,8 +3,9 @@
# found in the LICENSE file.
import("//build/config/ui.gni")
+import("//ui/ozone/ozone.gni")
-assert(use_x11)
+assert(use_x11 || ozone_platform_x11)
component("x11") {
output_name = "x11_window"
@@ -25,8 +26,20 @@ component("x11") {
defines = [ "X11_WINDOW_IMPLEMENTATION" ]
sources = [
- "x11_window.cc",
- "x11_window.h",
+ "x11_window_base.cc",
+ "x11_window_base.h",
"x11_window_export.h",
]
+
+ if (ozone_platform_x11) {
+ sources += [
+ "x11_window_ozone.cc",
+ "x11_window_ozone.h",
+ ]
+ } else if (use_x11) {
+ sources += [
+ "x11_window.cc",
+ "x11_window.h",
+ ]
+ }
}
« no previous file with comments | « ui/ozone/platform/x11/ozone_platform_x11.cc ('k') | ui/platform_window/x11/x11_window.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698