diff options
author | Stefano Pigozzi <stefano.pigozzi@gmail.com> | 2014-07-13 17:35:45 +0200 |
---|---|---|
committer | Stefano Pigozzi <stefano.pigozzi@gmail.com> | 2017-12-29 11:26:57 +0100 |
commit | 5a5cc02793ad28ecdc50d3df66b7913a0b467ac6 (patch) | |
tree | 75bce93cd8180f7cd26547f72db02b046fdcff48 /wscript_build.py | |
parent | d9ca235c68038629807fbcf21fd679cadbb8eba8 (diff) | |
download | mpv-5a5cc02793ad28ecdc50d3df66b7913a0b467ac6.tar.bz2 mpv-5a5cc02793ad28ecdc50d3df66b7913a0b467ac6.tar.xz |
tmp: mruby support
Diffstat (limited to 'wscript_build.py')
-rw-r--r-- | wscript_build.py | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/wscript_build.py b/wscript_build.py index bbe367963f..332bc9e596 100644 --- a/wscript_build.py +++ b/wscript_build.py @@ -101,7 +101,6 @@ def build(ctx): lua_files = ["defaults.lua", "assdraw.lua", "options.lua", "osc.lua", "ytdl_hook.lua", "stats.lua"] - for fn in lua_files: fn = "player/lua/" + fn ctx( @@ -110,6 +109,15 @@ def build(ctx): target = os.path.splitext(fn)[0] + ".inc", ) + mruby_files = ['events.mrb', 'logging.mrb', 'reply.mrb'] + for fn in mruby_files: + fn = "player/mruby/" + fn + ctx( + features = "file2string", + source = fn, + target = os.path.splitext(fn)[0] + ".inc", + ) + ctx( features = "file2string", source = "player/javascript/defaults.js", @@ -294,6 +302,7 @@ def build(ctx): ( "player/lavfi.c" ), ( "player/lua.c", "lua" ), ( "player/javascript.c", "javascript" ), + ( "player/mruby.c", "mruby" ), ( "player/osd.c" ), ( "player/playloop.c" ), ( "player/screenshot.c" ), |