[Net] Expose WebRTC classes to extensions.
This commit is contained in:
parent
25226329be
commit
6cb81543d4
12 changed files with 437 additions and 340 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue