[Net] Expose WebRTC classes to extensions.

This commit is contained in:
Fabio Alessandrelli 2021-09-08 01:00:47 +02:00
parent 25226329be
commit 6cb81543d4
12 changed files with 437 additions and 340 deletions

View file

@ -4,11 +4,6 @@ Import("env")
Import("env_modules")
env_webrtc = env_modules.Clone()
use_gdnative = env_webrtc["module_gdnative_enabled"]
if use_gdnative: # GDNative is retained in Javascript for export compatibility
env_webrtc.Append(CPPDEFINES=["WEBRTC_GDNATIVE_ENABLED"])
env_webrtc.Prepend(CPPPATH=["#modules/gdnative/include/"])
if env["platform"] == "javascript":
# Our JavaScript/C++ interface.