Commit 9a1bf38b authored by Shawn Gallea's avatar Shawn Gallea Committed by Commit Bot

EXO: Conditionally build ChromeOS Wayland protocols

Moved protocols under is_chromeos for selective compilation. These
protocols have ChromeOS dependencies and would not compile on other
platforms. This is needed for eventual compilation of exo on Chromecast.

Bug: 896710
Test: Run exo_unittests
Change-Id: Id30ebdc8bf8338cba9e21a87350ab206b6d6057c
Reviewed-on: https://chromium-review.googlesource.com/c/1328566Reviewed-by: default avatarDaniele Castagna <dcastagna@chromium.org>
Reviewed-by: default avatarDaniel Nicoara <dnicoara@chromium.org>
Commit-Queue: Daniel Nicoara <dnicoara@chromium.org>
Cr-Commit-Position: refs/heads/master@{#611729}
parent 2bebff9b
......@@ -41,46 +41,51 @@ source_set("wayland") {
"wayland_display_output.h",
"wayland_input_delegate.cc",
"wayland_input_delegate.h",
"wayland_keyboard_delegate.cc",
"wayland_keyboard_delegate.h",
"wayland_pointer_delegate.cc",
"wayland_pointer_delegate.h",
"wayland_touch_delegate.cc",
"wayland_touch_delegate.h",
"wl_output.cc",
"wl_output.h",
"wl_seat.cc",
"wl_seat.h",
"wl_shell.cc",
"wl_shell.h",
"zaura_shell.cc",
"zaura_shell.h",
"zcr_cursor_shapes.cc",
"zcr_cursor_shapes.h",
"zcr_gaming_input.cc",
"zcr_gaming_input.h",
"zcr_keyboard_configuration.cc",
"zcr_keyboard_configuration.h",
"zcr_keyboard_extension.cc",
"zcr_keyboard_extension.h",
"zcr_notification_shell.cc",
"zcr_notification_shell.h",
"zcr_remote_shell.cc",
"zcr_remote_shell.h",
"zcr_stylus_tools.cc",
"zcr_stylus_tools.h",
"zwp_input_timestamps_manager.cc",
"zwp_input_timestamps_manager.h",
"zwp_pointer_gestures.cc",
"zwp_pointer_gestures.h",
"zwp_text_input_manager.cc",
"zwp_text_input_manager.h",
"zxdg_shell.cc",
"zxdg_shell.h",
]
defines = [ "EXO_IMPLEMENTATION" ]
if (is_chromeos) {
sources += [
"wayland_keyboard_delegate.cc",
"wayland_keyboard_delegate.h",
"wayland_pointer_delegate.cc",
"wayland_pointer_delegate.h",
"wl_shell.cc",
"wl_shell.h",
"zaura_shell.cc",
"zaura_shell.h",
"zcr_cursor_shapes.cc",
"zcr_cursor_shapes.h",
"zcr_gaming_input.cc",
"zcr_gaming_input.h",
"zcr_keyboard_configuration.cc",
"zcr_keyboard_configuration.h",
"zcr_keyboard_extension.cc",
"zcr_keyboard_extension.h",
"zcr_notification_shell.cc",
"zcr_notification_shell.h",
"zcr_remote_shell.cc",
"zcr_remote_shell.h",
"zcr_stylus_tools.cc",
"zcr_stylus_tools.h",
"zwp_input_timestamps_manager.cc",
"zwp_input_timestamps_manager.h",
"zwp_pointer_gestures.cc",
"zwp_pointer_gestures.h",
"zwp_text_input_manager.cc",
"zwp_text_input_manager.h",
"zxdg_shell.cc",
"zxdg_shell.h",
]
}
deps = [
"//base",
"//components/exo",
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment