Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(121)

Unified Diff: ui/wayland/wayland.gyp

Issue 7457023: Adding a Wayland basic toolkit (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Removed the WaylandDisplay singleton Created 9 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ui/wayland/wayland.gyp
diff --git a/ui/wayland/wayland.gyp b/ui/wayland/wayland.gyp
new file mode 100644
index 0000000000000000000000000000000000000000..be3d0d99d97c3e2a575d7caf3ecdc3e110c4de85
--- /dev/null
+++ b/ui/wayland/wayland.gyp
@@ -0,0 +1,66 @@
+# 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)"',
+ },
+ }, {
+ 'variables': {
+ 'pkg-config': 'pkg-config'
+ },
+ }],
+ ],
+ 'targets': [{
+ 'target_name': 'wayland',
+ 'type': 'static_library',
+ 'include_dirs': [
+ '.',
+ '../..',
+ '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',
Evan Martin 2011/07/22 21:08:54 Does anyone use this?
+ ],
+ },
+ '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)',
+ ],
+ },
+ }],
+}

Powered by Google App Engine
This is Rietveld 408576698