1#!/usr/bin/env python 2 3Import("env") 4Import("env_modules") 5 6# Thirdparty source files 7 8env_webrtc = env_modules.Clone() 9use_gdnative = env_webrtc["module_gdnative_enabled"] 10 11if use_gdnative: # GDNative is retained in Javascript for export compatibility 12 env_webrtc.Append(CPPDEFINES=["WEBRTC_GDNATIVE_ENABLED"]) 13 env_webrtc.Prepend(CPPPATH=["#modules/gdnative/include/"]) 14 15env_webrtc.add_source_files(env.modules_sources, "*.cpp") 16