mirror of
https://github.com/godotengine/godot.git
synced 2024-12-27 11:24:59 +08:00
14 lines
309 B
Python
14 lines
309 B
Python
#!/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")
|