Chromium Code Reviews| Index: ui/wayland/wayland.gyp |
| diff --git a/ui/wayland/wayland.gyp b/ui/wayland/wayland.gyp |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..79ec156bf5b338dfd335a699e5091962b66e95d3 |
| --- /dev/null |
| +++ b/ui/wayland/wayland.gyp |
| @@ -0,0 +1,62 @@ |
| +{ |
|
Evan Martin
2011/07/22 18:21:22
Missing copyright block (copy it from another gyp
|
| + 'conditions': [ |
| + ['sysroot!=""', { |
| + 'variables': { |
| + 'pkg-config': '../../build/linux/pkg-config-wrapper "<(sysroot)"', |
|
Evan Martin
2011/07/22 18:21:22
Hm, is this not inherited from somewhere else?
...
|
| + }, |
| + }, { |
| + 'variables': { |
| + 'pkg-config': 'pkg-config' |
| + }, |
| + }], |
| + ], |
| + 'targets': [{ |
| + 'target_name': 'libwayland', |
|
Evan Martin
2011/07/22 18:21:22
'wayland', not 'libwayland'. (the 'lib' is implic
|
| + 'type': 'static_library', |
| + 'include_dirs': [ |
| + '.', |
| + '../..', |
|
Evan Martin
2011/07/22 18:21:22
This I think is implicit from our build system.
|
| + '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)', |
| + ], |
| + }, |
| + }], |
| +} |