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

Unified Diff: chrome/browser/ui/BUILD.gn

Issue 2408803002: Make it possible to launch chrome --mash with ozone_platform={wayland|x11}, chromeos=0 (Closed)
Patch Set: smaller CL, only with crucial bits (see comment #53) Created 4 years, 1 month 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: chrome/browser/ui/BUILD.gn
diff --git a/chrome/browser/ui/BUILD.gn b/chrome/browser/ui/BUILD.gn
index 22f4cfef139f105ac10b0f6231e4747d1905b16f..311a57ec494e15144d21809c4e98cdd4b154925a 100644
--- a/chrome/browser/ui/BUILD.gn
+++ b/chrome/browser/ui/BUILD.gn
@@ -3066,16 +3066,20 @@ split_static_library("ui") {
sources += [
"views/javascript_app_modal_event_blocker_x11.cc",
"views/javascript_app_modal_event_blocker_x11.h",
- "views/tabs/window_finder_x11.cc",
]
configs += [ "//build/config/linux:x11" ]
deps += [
"//ui/events/devices",
"//ui/events/devices/x11",
]
- if (is_chromeos) {
- sources -= [ "views/tabs/window_finder_x11.cc" ]
- }
+ }
+ }
+ if (is_desktop_linux) {
+ if (use_x11) {
+ sources += [ "views/tabs/window_finder_x11.cc" ]
+ }
+ if (use_ozone) {
+ sources += [ "views/tabs/window_finder_ozone.cc" ]
}
}

Powered by Google App Engine
This is Rietveld 408576698