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

Unified Diff: ui/display/BUILD.gn

Issue 2324163002: Add FakeDisplayDelegate for off device usage. (Closed)
Patch Set: Fix windows compile problems. Created 4 years, 3 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
Index: ui/display/BUILD.gn
diff --git a/ui/display/BUILD.gn b/ui/display/BUILD.gn
index 471148ad6e2be1ef8b852e32efa4a0c5e14bd456..7fc81d06b20b915d2b1d8cde36049c824e0d6a67 100644
--- a/ui/display/BUILD.gn
+++ b/ui/display/BUILD.gn
@@ -23,16 +23,6 @@ component("display") {
"chromeos/query_content_protection_task.h",
"chromeos/update_display_configuration_task.cc",
"chromeos/update_display_configuration_task.h",
- "chromeos/x11/display_mode_x11.cc",
- "chromeos/x11/display_mode_x11.h",
- "chromeos/x11/display_snapshot_x11.cc",
- "chromeos/x11/display_snapshot_x11.h",
- "chromeos/x11/display_util_x11.cc",
- "chromeos/x11/display_util_x11.h",
- "chromeos/x11/native_display_delegate_x11.cc",
- "chromeos/x11/native_display_delegate_x11.h",
- "chromeos/x11/native_display_event_dispatcher_x11.cc",
- "chromeos/x11/native_display_event_dispatcher_x11.h",
"display.cc",
"display.h",
"display_change_notifier.cc",
@@ -46,6 +36,10 @@ component("display") {
"display_observer.h",
"display_switches.cc",
"display_switches.h",
+ "fake_display_delegate.cc",
+ "fake_display_delegate.h",
+ "fake_display_snapshot.cc",
+ "fake_display_snapshot.h",
"ios/screen_ios.mm",
"mac/screen_mac.mm",
"manager/display_layout.cc",
@@ -90,34 +84,33 @@ component("display") {
]
if (is_chromeos && use_x11) {
+ sources += [
+ "chromeos/x11/display_mode_x11.cc",
+ "chromeos/x11/display_mode_x11.h",
+ "chromeos/x11/display_snapshot_x11.cc",
+ "chromeos/x11/display_snapshot_x11.h",
+ "chromeos/x11/display_util_x11.cc",
+ "chromeos/x11/display_util_x11.h",
+ "chromeos/x11/native_display_delegate_x11.cc",
+ "chromeos/x11/native_display_delegate_x11.h",
+ "chromeos/x11/native_display_event_dispatcher_x11.cc",
+ "chromeos/x11/native_display_event_dispatcher_x11.h",
+ ]
+
configs += [
"//build/config/linux:x11",
"//build/config/linux:xext",
"//build/config/linux:xi",
"//build/config/linux:xrandr",
]
+
deps += [ "//ui/events/platform" ]
}
- deps += []
if (use_x11) {
deps += [ "//ui/gfx/x" ]
}
- if (is_chromeos && use_ozone) {
- sources -= [
- "chromeos/x11/display_mode_x11.cc",
- "chromeos/x11/display_mode_x11.h",
- "chromeos/x11/display_snapshot_x11.cc",
- "chromeos/x11/display_snapshot_x11.h",
- "chromeos/x11/display_util_x11.cc",
- "chromeos/x11/display_util_x11.h",
- "chromeos/x11/native_display_delegate_x11.cc",
- "chromeos/x11/native_display_delegate_x11.h",
- "chromeos/x11/native_display_event_dispatcher_x11.cc",
- "chromeos/x11/native_display_event_dispatcher_x11.h",
- ]
- }
if (!use_aura) {
sources -= [ "screen_aura.cc" ]
}
« no previous file with comments | « services/ui/display/platform_screen_ozone_unittests.cc ('k') | ui/display/chromeos/test/test_native_display_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698