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

Unified Diff: ui/events/BUILD.gn

Issue 750593003: Ozone X11 platform Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: cleanup leftover stuff Created 6 years 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 | « media/ozone/media_ozone_platform.cc ('k') | ui/events/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/events/BUILD.gn
diff --git a/ui/events/BUILD.gn b/ui/events/BUILD.gn
index ea4fa4ec2fa2db02732f723ac914e1269efac5f4..901a91ce11673668fa096c62cc201278ba3b1431 100644
--- a/ui/events/BUILD.gn
+++ b/ui/events/BUILD.gn
@@ -60,7 +60,7 @@ component("events_base") {
"//ui/gfx/geometry",
]
- if (use_x11) {
+ if (use_x11_backend) {
configs += [ "//build/config/linux:x11" ]
sources += [
@@ -118,7 +118,7 @@ component("events") {
"//ui/gfx/geometry",
]
- if (use_x11) {
+ if (use_x11_backend) {
sources += [ "x/events_x.cc" ]
configs += [
"//build/config/linux:glib",
@@ -155,7 +155,7 @@ component("events") {
]
}
- if (is_win || is_mac || use_x11 || use_ozone) {
+ if (is_win || is_mac || use_x11_backend || use_ozone) {
sources -= [ "events_stub.cc" ]
}
}
@@ -260,7 +260,7 @@ source_set("test_support") {
]
}
- if (use_x11) {
+ if (use_x11_backend) {
sources += [
"test/events_test_utils_x11.cc",
"test/events_test_utils_x11.h",
@@ -313,7 +313,7 @@ test("events_unittests") {
include_dirs = [ "//testing/gmock/include" ]
- if (use_x11) {
+ if (use_x11_backend) {
configs += [ "//build/config/linux:x11" ]
deps += [ "//ui/gfx/x" ]
} else {
« no previous file with comments | « media/ozone/media_ozone_platform.cc ('k') | ui/events/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698