Index: ui/ui.gyp |
diff --git a/ui/ui.gyp b/ui/ui.gyp |
index eb498039665df8c968e63d53c081f0c97f5bb7b2..0446cfd70d3332da59b8f6cf8ae7b781a1f9139c 100644 |
--- a/ui/ui.gyp |
+++ b/ui/ui.gyp |
@@ -259,6 +259,7 @@ |
'gfx/render_text_win.h', |
'gfx/screen.h', |
'gfx/screen_gtk.cc', |
+ 'gfx/screen_wayland.cc', |
'gfx/screen_win.cc', |
'gfx/scoped_cg_context_save_gstate_mac.h', |
'gfx/scoped_ns_graphics_context_save_gstate_mac.h', |
@@ -322,6 +323,25 @@ |
}], |
], |
}], |
+ ['use_wayland == 1', { |
+ 'sources/': [ |
+ ['exclude', '_(gtk|x)\\.cc$'], |
+ ['exclude', '/(gtk|x11)_[^/]*\\.cc$'], |
+ ['include', 'base/dragdrop/gtk_dnd_util.cc'], |
+ ['include', 'base/dragdrop/gtk_dnd_util.h'], |
+ ['include', 'base/dragdrop/os_exchange_data_provider_gtk.cc'], |
+ ['include', 'base/dragdrop/os_exchange_data_provider_gtk.h'], |
+ ['include', 'base/keycodes/keyboard_code_conversion_x.cc'], |
+ ['include', 'base/keycodes/keyboard_code_conversion_x.h'], |
+ ['include', 'base/view_prop.cc'], |
+ ['include', 'base/view_prop.h'], |
+ ['include', 'gfx/gtk_util.cc'], |
+ ['include', 'gfx/gtk_util.h'], |
+ ['include', 'gfx/path_gtk.cc'], |
+ ['include', 'gfx/platform_font_gtk.cc'], |
+ ['include', 'gfx/platform_font_gtk.h'], |
+ ], |
+ }], |
['OS=="win"', { |
'sources': [ |
'gfx/canvas_direct2d.cc', |