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

Unified Diff: services/ui/ws/BUILD.gn

Issue 2121053002: Have PlatformScreen use DisplayConfigurator. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix cast for real. Created 4 years, 5 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 | « no previous file | services/ui/ws/platform_screen.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/ws/BUILD.gn
diff --git a/services/ui/ws/BUILD.gn b/services/ui/ws/BUILD.gn
index 64564ef48fedc853d20a400adeacaa1165008e3a..d7b0319e26858e3a6fc8f4632599b81d0e6c2665 100644
--- a/services/ui/ws/BUILD.gn
+++ b/services/ui/ws/BUILD.gn
@@ -130,14 +130,17 @@ source_set("lib") {
]
if (use_ozone) {
- sources -= [
- "platform_screen_impl.cc",
- "platform_screen_impl.h",
- ]
- sources += [
- "platform_screen_impl_ozone.cc",
- "platform_screen_impl_ozone.h",
- ]
+ if (is_chromeos) {
+ sources -= [
+ "platform_screen_impl.cc",
+ "platform_screen_impl.h",
+ ]
+ sources += [
+ "platform_screen_impl_ozone.cc",
+ "platform_screen_impl_ozone.h",
+ ]
+ }
+
public_deps += [ "//ui/ozone:ozone" ]
}
}
« no previous file with comments | « no previous file | services/ui/ws/platform_screen.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698