summaryrefslogtreecommitdiffstats
path: root/wscript_build.py
diff options
context:
space:
mode:
Diffstat (limited to 'wscript_build.py')
-rw-r--r--wscript_build.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/wscript_build.py b/wscript_build.py
index e9a37f7594..793b12b75a 100644
--- a/wscript_build.py
+++ b/wscript_build.py
@@ -86,10 +86,18 @@ def build(ctx):
source = "video/out/wayland/protocol/xdg-shell.xml",
target = "video/out/wayland/xdg-shell-protocol.c")
+ ctx.wayland_protocol_code(
+ source = "video/out/wayland/protocol/scaler.xml",
+ target = "video/out/wayland/scaler-protocol.c")
+
ctx.wayland_protocol_header(
source = "video/out/wayland/protocol/xdg-shell.xml",
target = "video/out/wayland/xdg-shell-protocol.h")
+ ctx.wayland_protocol_header(
+ source = "video/out/wayland/protocol/scaler.xml",
+ target = "video/out/wayland/scaler-protocol.h")
+
getch2_c = {
'win32': 'osdep/terminal-win.c',
}.get(ctx.env.DEST_OS, "osdep/terminal-unix.c")
@@ -382,6 +390,7 @@ def build(ctx):
( "video/out/wayland/buffer.c", "wayland" ),
( "video/out/wayland/memfile.c", "wayland" ),
( "video/out/wayland/xdg-shell-protocol.c", "wayland" ),
+ ( "video/out/wayland/scaler-protocol.c", "wayland" ),
( "video/out/win_state.c"),
( "video/out/x11_common.c", "x11" ),