OLD | NEW |
---|---|
(Empty) | |
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | |
2 # Use of this source code is governed by a BSD-style license that can be | |
3 # found in the LICENSE file. | |
4 | |
5 { | |
6 'conditions': [ | |
7 ['sysroot!=""', { | |
8 'variables': { | |
9 'pkg-config': '../../build/linux/pkg-config-wrapper "<(sysroot)"', | |
tfarina
2011/07/26 14:36:50
Including 'chromium_code' variable instead, doesn'
| |
10 }, | |
11 }, { | |
12 'variables': { | |
13 'pkg-config': 'pkg-config' | |
14 }, | |
15 }], | |
16 ], | |
17 'targets': [{ | |
tfarina
2011/07/26 14:36:50
the { should be on the next line right below the '
| |
18 'target_name': 'wayland', | |
19 'type': 'static_library', | |
tfarina
2011/07/26 14:36:50
Don't you need a 'dependencies': [ ../../base/base
| |
20 'include_dirs': [ | |
21 '.', | |
22 '../..', | |
23 'events', | |
24 ], | |
25 'sources': [ | |
26 'wayland_buffer.cc', | |
27 'wayland_buffer.h', | |
28 'wayland_cursor.cc', | |
29 'wayland_cursor.h', | |
30 'wayland_display.cc', | |
31 'wayland_display.h', | |
32 'wayland_input_device.cc', | |
33 'wayland_input_device.h', | |
34 'wayland_screen.cc', | |
35 'wayland_screen.h', | |
36 'wayland_shm_buffer.cc', | |
37 'wayland_shm_buffer.h', | |
38 'wayland_message_pump.cc', | |
39 'wayland_message_pump.h', | |
40 'wayland_widget.h', | |
41 'wayland_window.cc', | |
42 'wayland_window.h', | |
43 'events/wayland_event.h', | |
tfarina
2011/07/26 14:36:50
this should be sort alphabetical, so it should be
| |
44 ], | |
45 'cflags': [ | |
46 '<!@(<(pkg-config) --cflags cairo wayland-client wayland-egl xkbcommon)', | |
47 ], | |
48 'direct_dependent_settings': { | |
49 'cflags': [ | |
50 '<!@(<(pkg-config) --cflags cairo wayland-client wayland-egl xkbcommon)' , | |
51 ], | |
52 }, | |
53 'link_settings': { | |
54 'ldflags': [ | |
55 '<!@(<(pkg-config) --libs-only-L --libs-only-other wayland-client waylan d-egl xkbcommon)', | |
tfarina
2011/07/26 14:36:50
Not sure if we enforce 80 columns in .gyp files.
| |
56 ], | |
57 'libraries': [ | |
58 '<!@(<(pkg-config) --libs-only-l wayland-client wayland-egl xkbcommon)', | |
59 ], | |
60 }, | |
61 }], | |
62 } | |
OLD | NEW |