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..06ed3e6d2433845abd9a2c31f3debf5f9ba95962 |
| --- /dev/null |
| +++ b/ui/wayland/wayland.gyp |
| @@ -0,0 +1,62 @@ |
| +# Copyright (c) 2011 The Chromium Authors. All rights reserved. |
| +# Use of this source code is governed by a BSD-style license that can be |
| +# found in the LICENSE file. |
| + |
| +{ |
| + 'conditions': [ |
| + ['sysroot!=""', { |
| + 'variables': { |
| + 'pkg-config': '../../build/linux/pkg-config-wrapper "<(sysroot)"', |
|
tfarina
2011/07/26 14:36:50
Including 'chromium_code' variable instead, doesn'
|
| + }, |
| + }, { |
| + 'variables': { |
| + 'pkg-config': 'pkg-config' |
| + }, |
| + }], |
| + ], |
| + 'targets': [{ |
|
tfarina
2011/07/26 14:36:50
the { should be on the next line right below the '
|
| + 'target_name': 'wayland', |
| + 'type': 'static_library', |
|
tfarina
2011/07/26 14:36:50
Don't you need a 'dependencies': [ ../../base/base
|
| + 'include_dirs': [ |
| + '.', |
| + '../..', |
| + 'events', |
| + ], |
| + 'sources': [ |
| + 'wayland_buffer.cc', |
| + 'wayland_buffer.h', |
| + 'wayland_cursor.cc', |
| + 'wayland_cursor.h', |
| + 'wayland_display.cc', |
| + 'wayland_display.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', |
|
tfarina
2011/07/26 14:36:50
this should be sort alphabetical, so it should be
|
| + ], |
| + 'cflags': [ |
| + '<!@(<(pkg-config) --cflags cairo wayland-client wayland-egl xkbcommon)', |
| + ], |
| + 'direct_dependent_settings': { |
| + 'cflags': [ |
| + '<!@(<(pkg-config) --cflags cairo wayland-client wayland-egl xkbcommon)', |
| + ], |
| + }, |
| + 'link_settings': { |
| + 'ldflags': [ |
| + '<!@(<(pkg-config) --libs-only-L --libs-only-other wayland-client wayland-egl xkbcommon)', |
|
tfarina
2011/07/26 14:36:50
Not sure if we enforce 80 columns in .gyp files.
|
| + ], |
| + 'libraries': [ |
| + '<!@(<(pkg-config) --libs-only-l wayland-client wayland-egl xkbcommon)', |
| + ], |
| + }, |
| + }], |
| +} |