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

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

Issue 2697693002: Stub out ScreenManagerOzoneExternal (Closed)
Patch Set: fixed typo Created 3 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 | « no previous file | services/ui/display/screen_manager_ozone_external.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/display/BUILD.gn
diff --git a/services/ui/display/BUILD.gn b/services/ui/display/BUILD.gn
index c0bd6e7338f1dfab053ea4e977733a309063b965..ddd6894adf36afe8765916e7846985efa344a0e9 100644
--- a/services/ui/display/BUILD.gn
+++ b/services/ui/display/BUILD.gn
@@ -21,19 +21,26 @@ source_set("display") {
"//ui/gfx",
]
- if (use_ozone && is_chromeos) {
- sources += [
- "screen_manager_ozone_internal.cc",
- "screen_manager_ozone_internal.h",
- ]
+ if (use_ozone) {
+ if (is_chromeos) {
+ sources += [
+ "screen_manager_ozone_internal.cc",
+ "screen_manager_ozone_internal.h",
+ ]
- deps += [
- "//chromeos",
- "//services/ui/public/interfaces/display",
- "//skia",
- "//ui/display/manager",
- "//ui/ozone",
- ]
+ deps += [
+ "//chromeos",
+ "//services/ui/public/interfaces/display",
+ "//skia",
+ "//ui/display/manager",
+ "//ui/ozone",
+ ]
+ } else {
+ sources += [
+ "screen_manager_ozone_external.cc",
+ "screen_manager_ozone_external.h",
+ ]
+ }
} else {
sources += [
"screen_manager_stub_internal.cc",
« no previous file with comments | « no previous file | services/ui/display/screen_manager_ozone_external.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698