| Index: ui/wayland/wayland.gyp
|
| diff --git a/ui/wayland/wayland.gyp b/ui/wayland/wayland.gyp
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..8a5a4112f4440f30bfec9b576971185997392801
|
| --- /dev/null
|
| +++ b/ui/wayland/wayland.gyp
|
| @@ -0,0 +1,61 @@
|
| +{
|
| + 'conditions': [
|
| + ['sysroot!=""', {
|
| + 'variables': {
|
| + 'pkg-config': '../../build/linux/pkg-config-wrapper "<(sysroot)"',
|
| + },
|
| + }, {
|
| + 'variables': {
|
| + 'pkg-config': 'pkg-config'
|
| + },
|
| + }],
|
| + ],
|
| + 'targets': [{
|
| + 'target_name': 'libwayland',
|
| + 'type': 'static_library',
|
| + 'include_dirs': [
|
| + '.',
|
| + 'events',
|
| + ],
|
| + 'sources': [
|
| + 'wayland_buffer.cc',
|
| + 'wayland_buffer.h',
|
| + 'wayland_cursor.cc',
|
| + 'wayland_cursor.h',
|
| + 'wayland_display.cc',
|
| + 'wayland_display.h',
|
| + 'wayland_geometry_utils.h',
|
| + 'wayland_input_device.cc',
|
| + 'wayland_input_device.h',
|
| + 'wayland_screen.cc',
|
| + 'wayland_screen.h',
|
| + 'wayland_shm_buffer.cc',
|
| + 'wayland_shm_buffer.h',
|
| + 'wayland_message_pump.cc',
|
| + 'wayland_message_pump.h',
|
| + 'wayland_widget.h',
|
| + 'wayland_window.cc',
|
| + 'wayland_window.h',
|
| + 'events/wayland_event.h',
|
| + ],
|
| + 'cflags': [
|
| + '<!@(<(pkg-config) --cflags cairo wayland-client wayland-egl xkbcommon)',
|
| + ],
|
| + 'direct_dependent_settings': {
|
| + 'cflags': [
|
| + '<!@(<(pkg-config) --cflags cairo wayland-client wayland-egl xkbcommon)',
|
| + ],
|
| + 'defines': [
|
| + 'USE_SYSTEM_LIBWAYLAND',
|
| + ],
|
| + },
|
| + 'link_settings': {
|
| + 'ldflags': [
|
| + '<!@(<(pkg-config) --libs-only-L --libs-only-other wayland-client wayland-egl xkbcommon)',
|
| + ],
|
| + 'libraries': [
|
| + '<!@(<(pkg-config) --libs-only-l wayland-client wayland-egl xkbcommon)',
|
| + ],
|
| + },
|
| + }],
|
| +}
|
|
|