summaryrefslogtreecommitdiffstats
path: root/modules/webrtc/SCsub
blob: 0c5f2c9dda4cdce430e24bc32e66c08395bb3ade (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/usr/bin/env python
from misc.utility.scons_hints import *

Import("env")
Import("env_modules")

env_webrtc = env_modules.Clone()

if env["platform"] == "web":
    # Our JavaScript/C++ interface.
    env.AddJSLibraries(["library_godot_webrtc.js"])

env_webrtc.add_source_files(env.modules_sources, "*.cpp")