summaryrefslogtreecommitdiff
path: root/platform/javascript/SCsub
diff options
context:
space:
mode:
authorJuan Linietsky <reduzio@gmail.com>2015-09-10 00:10:54 -0300
committerJuan Linietsky <reduzio@gmail.com>2015-09-10 00:10:54 -0300
commit0fb7b5aa0c023d60880d259e70f7641152460aa6 (patch)
tree86f6432457a0cbf14a9994b5e0d23dbdad12421b /platform/javascript/SCsub
parentb0aa49accbd7e45dae38f1bd43b0fbdd11714211 (diff)
HTML5 exporter Improvements
-Better template handling -Voice support -Stream support
Diffstat (limited to 'platform/javascript/SCsub')
-rw-r--r--platform/javascript/SCsub5
1 files changed, 4 insertions, 1 deletions
diff --git a/platform/javascript/SCsub b/platform/javascript/SCsub
index c1ba0c2283..ac17f68aa6 100644
--- a/platform/javascript/SCsub
+++ b/platform/javascript/SCsub
@@ -3,7 +3,8 @@ Import('env')
javascript_files = [
"os_javascript.cpp",
"audio_driver_javascript.cpp",
- "javascript_main.cpp"
+ "javascript_main.cpp",
+ "audio_server_javascript.cpp"
]
#obj = env.SharedObject('godot_javascript.cpp')
@@ -16,6 +17,8 @@ javascript_objects=[]
for x in javascript_files:
javascript_objects.append( env_javascript.Object( x ) )
+env.Append(LINKFLAGS=["-s","EXPORTED_FUNCTIONS=\"['_main','_audio_server_mix_function']\""])
+
prog = None
#env_javascript.SharedLibrary("#platform/javascript/libgodot_javascript.so",[javascript_objects])