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