Index: build/linux/system.gyp |
diff --git a/build/linux/system.gyp b/build/linux/system.gyp |
index 867553fbf7fab3b250e3a2d6ea5249b696dec45c..668756ae06760387ba85ce7d9ec2ee028e1605a2 100644 |
--- a/build/linux/system.gyp |
+++ b/build/linux/system.gyp |
@@ -811,6 +811,30 @@ |
}, |
}, |
{ |
+ 'target_name': 'wayland', |
+ 'type': 'none', |
+ 'conditions': [ |
+ ['use_wayland == 1', { |
+ 'cflags': [ |
+ '<!@(<(pkg-config) --cflags wayland-client wayland-cursor wayland-egl xkbcommon)', |
+ ], |
+ 'direct_dependent_settings': { |
+ 'cflags': [ |
+ '<!@(<(pkg-config) --cflags wayland-client wayland-cursor wayland-egl xkbcommon)', |
+ ], |
+ }, |
+ 'link_settings': { |
+ 'ldflags': [ |
+ '<!@(<(pkg-config) --libs-only-L --libs-only-other wayland-client wayland-cursor wayland-egl xkbcommon)', |
+ ], |
+ 'libraries': [ |
+ '<!@(<(pkg-config) --libs-only-l wayland-client wayland-cursor wayland-egl xkbcommon)', |
+ ], |
+ }, |
+ }], |
+ ], |
+ }, |
+ { |
'target_name': 'udev', |
'type': 'none', |
'conditions': [ |