Index: build/linux/system.gyp |
diff --git a/build/linux/system.gyp b/build/linux/system.gyp |
index b7f09e4c1e45bef59d8904872f109d60fc0a9b48..e87e1a7e33a52f99f0189bf3894bbebf19951309 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)', |
+ ], |
+ }, |
+ }], |
+ ], |
+ }, |
], |
} |