Index: third_party/wayland/wayland.gyp |
diff --git a/third_party/wayland/wayland.gyp b/third_party/wayland/wayland.gyp |
index 7bb4c79c657e4e130d151a39c8c9c59ea652b32b..df72c997e7cc98b6b931dc5aee9572529289f519 100644 |
--- a/third_party/wayland/wayland.gyp |
+++ b/third_party/wayland/wayland.gyp |
@@ -27,7 +27,7 @@ |
{ |
'target_name': 'wayland_private', |
'type': 'static_library', |
- 'dependencies' : [ |
+ 'dependencies': [ |
'../../build/linux/system.gyp:libffi', |
], |
'sources': [ |
@@ -43,16 +43,38 @@ |
], |
}, |
{ |
+ 'target_name': 'wayland_protocol', |
+ 'type': 'static_library', |
+ 'dependencies': [ |
+ 'wayland_util', |
+ ], |
+ 'sources': [ |
+ 'protocol/wayland-protocol.c', |
+ ], |
+ 'include_dirs': [ |
+ 'include/src', |
+ 'include/protocol', |
+ 'src/src', |
+ ], |
+ 'direct_dependent_settings': { |
+ 'include_dirs': [ |
+ 'include/src', |
+ 'include/protocol', |
+ 'src/src', |
+ ], |
+ }, |
+ }, |
+ { |
'target_name': 'wayland_server', |
'type': 'static_library', |
- 'dependencies' : [ |
+ 'dependencies': [ |
'../../build/linux/system.gyp:libffi', |
'wayland_private', |
+ 'wayland_protocol', |
'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', |
@@ -70,5 +92,31 @@ |
], |
}, |
}, |
+ { |
+ 'target_name': 'wayland_client', |
+ 'type': 'static_library', |
+ 'dependencies': [ |
+ '../../build/linux/system.gyp:libffi', |
+ 'wayland_private', |
+ 'wayland_protocol', |
+ 'wayland_util', |
+ ], |
+ 'sources': [ |
+ 'include/protocol/wayland-client-protocol.h', |
+ 'src/src/wayland-client.c', |
+ ], |
+ 'include_dirs': [ |
+ 'include/src', |
+ 'include/protocol', |
+ 'src/src', |
+ ], |
+ 'direct_dependent_settings': { |
+ 'include_dirs': [ |
+ 'include/src', |
+ 'include/protocol', |
+ 'src/src', |
+ ], |
+ }, |
+ }, |
], |
} |