| Index: ui/display/BUILD.gn
|
| diff --git a/ui/display/BUILD.gn b/ui/display/BUILD.gn
|
| index 3b1cdc5211e8a05bab00cd9996cd15a499506864..d7d360ff7d3bd79dd9a316cbdf78ac1cc431d49d 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",
|
| @@ -86,34 +80,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" ]
|
| }
|
|
|