mirror of
				https://github.com/godotengine/godot.git
				synced 2025-10-30 21:21:10 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			12 lines
		
	
	
	
		
			270 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
	
		
			270 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| #!/usr/bin/env python
 | |
| 
 | |
| 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")
 | 
