| Index: ui/wayland/wayland.gyp
|
| diff --git a/ui/wayland/wayland.gyp b/ui/wayland/wayland.gyp
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..06ed3e6d2433845abd9a2c31f3debf5f9ba95962
|
| --- /dev/null
|
| +++ b/ui/wayland/wayland.gyp
|
| @@ -0,0 +1,62 @@
|
| +# Copyright (c) 2011 The Chromium Authors. All rights reserved.
|
| +# Use of this source code is governed by a BSD-style license that can be
|
| +# found in the LICENSE file.
|
| +
|
| +{
|
| + 'conditions': [
|
| + ['sysroot!=""', {
|
| + 'variables': {
|
| + 'pkg-config': '../../build/linux/pkg-config-wrapper "<(sysroot)"',
|
| + },
|
| + }, {
|
| + 'variables': {
|
| + 'pkg-config': 'pkg-config'
|
| + },
|
| + }],
|
| + ],
|
| + 'targets': [{
|
| + 'target_name': 'wayland',
|
| + '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_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)',
|
| + ],
|
| + },
|
| + '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)',
|
| + ],
|
| + },
|
| + }],
|
| +}
|
|
|