summaryrefslogtreecommitdiffstats
path: root/build/linux/system.gyp
diff options
context:
space:
mode:
Diffstat (limited to 'build/linux/system.gyp')
-rw-r--r--build/linux/system.gyp24
1 files changed, 24 insertions, 0 deletions
diff --git a/build/linux/system.gyp b/build/linux/system.gyp
index b7f09e4..e87e1a7 100644
--- a/build/linux/system.gyp
+++ b/build/linux/system.gyp
@@ -463,5 +463,29 @@
}],
],
},
+ {
+ 'target_name': 'wayland',
+ 'type': 'settings',
+ 'conditions': [
+ ['use_wayland == 1', {
+ '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)',
+ ],
+ 'libraries': [
+ '<!@(<(pkg-config) --libs-only-l wayland-client wayland-egl xkbcommon)',
+ ],
+ },
+ }],
+ ],
+ },
],
}