mirror of
				https://github.com/godotengine/godot.git
				synced 2025-11-04 07:31:16 +00:00 
			
		
		
		
	
		
			
	
	
		
			12 lines
		
	
	
	
		
			294 B
		
	
	
	
		
			Text
		
	
	
	
	
	
		
		
			
		
	
	
			12 lines
		
	
	
	
		
			294 B
		
	
	
	
		
			Text
		
	
	
	
	
	
| 
								 | 
							
								#!/usr/bin/env python
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								Import("env")
							 | 
						||
| 
								 | 
							
								Import("env_modules")
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								if env["platform"] == "javascript":
							 | 
						||
| 
								 | 
							
								    env.AddJSLibraries(["native/library_godot_webxr.js"])
							 | 
						||
| 
								 | 
							
								    env.AddJSExterns(["native/webxr.externs.js"])
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								env_webxr = env_modules.Clone()
							 | 
						||
| 
								 | 
							
								env_webxr.add_source_files(env.modules_sources, "*.cpp")
							 |