OLD | NEW |
(Empty) | |
| 1 { |
| 2 'conditions': [ |
| 3 ['sysroot!=""', { |
| 4 'variables': { |
| 5 'pkg-config': '../../build/linux/pkg-config-wrapper "<(sysroot)"', |
| 6 }, |
| 7 }, { |
| 8 'variables': { |
| 9 'pkg-config': 'pkg-config' |
| 10 }, |
| 11 }], |
| 12 ], |
| 13 'targets': [{ |
| 14 'target_name': 'libwayland', |
| 15 'type': 'static_library', |
| 16 'include_dirs': [ |
| 17 '.', |
| 18 'events', |
| 19 ], |
| 20 'sources': [ |
| 21 'wayland_buffer.cc', |
| 22 'wayland_buffer.h', |
| 23 'wayland_cursor.cc', |
| 24 'wayland_cursor.h', |
| 25 'wayland_display.cc', |
| 26 'wayland_display.h', |
| 27 'wayland_geometry_utils.h', |
| 28 'wayland_input_device.cc', |
| 29 'wayland_input_device.h', |
| 30 'wayland_screen.cc', |
| 31 'wayland_screen.h', |
| 32 'wayland_shm_buffer.cc', |
| 33 'wayland_shm_buffer.h', |
| 34 'wayland_message_pump.cc', |
| 35 'wayland_message_pump.h', |
| 36 'wayland_widget.h', |
| 37 'wayland_window.cc', |
| 38 'wayland_window.h', |
| 39 'events/wayland_event.h', |
| 40 ], |
| 41 'cflags': [ |
| 42 '<!@(<(pkg-config) --cflags cairo wayland-client wayland-egl xkbcommon)', |
| 43 ], |
| 44 'direct_dependent_settings': { |
| 45 'cflags': [ |
| 46 '<!@(<(pkg-config) --cflags cairo wayland-client wayland-egl xkbcommon)'
, |
| 47 ], |
| 48 'defines': [ |
| 49 'USE_SYSTEM_LIBWAYLAND', |
| 50 ], |
| 51 }, |
| 52 'link_settings': { |
| 53 'ldflags': [ |
| 54 '<!@(<(pkg-config) --libs-only-L --libs-only-other wayland-client waylan
d-egl xkbcommon)', |
| 55 ], |
| 56 'libraries': [ |
| 57 '<!@(<(pkg-config) --libs-only-l wayland-client wayland-egl xkbcommon)', |
| 58 ], |
| 59 }, |
| 60 }], |
| 61 } |
OLD | NEW |