summaryrefslogtreecommitdiffstats
path: root/third_party/wayland/wayland.gyp
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/wayland/wayland.gyp')
-rw-r--r--third_party/wayland/wayland.gyp74
1 files changed, 74 insertions, 0 deletions
diff --git a/third_party/wayland/wayland.gyp b/third_party/wayland/wayland.gyp
new file mode 100644
index 0000000..7bb4c79
--- /dev/null
+++ b/third_party/wayland/wayland.gyp
@@ -0,0 +1,74 @@
+# Copyright 2015 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.
+
+{
+ 'targets': [
+ {
+ 'target_name': 'wayland_util',
+ 'type': 'static_library',
+ 'sources': [
+ 'src/src/wayland-util.c',
+ 'src/src/wayland-util.h',
+ ],
+ 'include_dirs': [
+ 'include/src',
+ 'include/protocol',
+ 'src/src',
+ ],
+ 'direct_dependent_settings': {
+ 'include_dirs': [
+ 'include/src',
+ 'include/protocol',
+ 'src/src',
+ ],
+ },
+ },
+ {
+ 'target_name': 'wayland_private',
+ 'type': 'static_library',
+ 'dependencies' : [
+ '../../build/linux/system.gyp:libffi',
+ ],
+ 'sources': [
+ 'src/src/connection.c',
+ 'src/src/wayland-os.c',
+ 'src/src/wayland-os.h',
+ 'src/src/wayland-private.h',
+ ],
+ 'include_dirs': [
+ 'include/src',
+ 'include/protocol',
+ 'src/src',
+ ],
+ },
+ {
+ 'target_name': 'wayland_server',
+ 'type': 'static_library',
+ 'dependencies' : [
+ '../../build/linux/system.gyp:libffi',
+ 'wayland_private',
+ 'wayland_util',
+ ],
+ 'sources': [
+ 'include/protocol/wayland-server-protocol.h',
+ 'protocol/wayland-protocol.c',
+ 'src/src/event-loop.c',
+ 'src/src/wayland-server.c',
+ 'src/src/wayland-shm.c',
+ ],
+ 'include_dirs': [
+ 'include/src',
+ 'include/protocol',
+ 'src/src',
+ ],
+ 'direct_dependent_settings': {
+ 'include_dirs': [
+ 'include/src',
+ 'include/protocol',
+ 'src/src',
+ ],
+ },
+ },
+ ],
+}