mirror of
				https://github.com/LadybirdBrowser/ladybird.git
				synced 2025-10-25 09:30:01 +00:00 
			
		
		
		
	5c7e5cc738a8f0fa5dd40d417cd6045b87d26027(and other friends from the JIT PR)f915aa70cd
		
			
				
	
	
		
			43 lines
		
	
	
	
		
			1.3 KiB
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			43 lines
		
	
	
	
		
			1.3 KiB
		
	
	
	
		
			Text
		
	
	
	
	
	
| import("//Meta/gn/build/compiled_action.gni")
 | |
| 
 | |
| compiled_action("ImageDecoderClientEndpoint") {
 | |
|   tool = "//Meta/Lagom/Tools/CodeGenerators/IPCCompiler"
 | |
|   inputs = [ "//Userland/Services/ImageDecoder/ImageDecoderClient.ipc" ]
 | |
|   outputs = [ "$root_gen_dir/ImageDecoder/ImageDecoderClientEndpoint.h" ]
 | |
|   args = [
 | |
|     rebase_path(inputs[0], root_build_dir),
 | |
|     "-o",
 | |
|     rebase_path(outputs[0], root_build_dir),
 | |
|   ]
 | |
| }
 | |
| 
 | |
| compiled_action("ImageDecoderServerEndpoint") {
 | |
|   tool = "//Meta/Lagom/Tools/CodeGenerators/IPCCompiler"
 | |
|   inputs = [ "//Userland/Services/ImageDecoder/ImageDecoderServer.ipc" ]
 | |
|   outputs = [ "$root_gen_dir/ImageDecoder/ImageDecoderServerEndpoint.h" ]
 | |
|   args = [
 | |
|     rebase_path(inputs[0], root_build_dir),
 | |
|     "-o",
 | |
|     rebase_path(outputs[0], root_build_dir),
 | |
|   ]
 | |
| }
 | |
| 
 | |
| shared_library("LibImageDecoderClient") {
 | |
|   output_name = "imagedecoderclient"
 | |
|   include_dirs = [
 | |
|     "//Userland/Libraries",
 | |
|     "//Userland/Services",
 | |
|     "//Userland/",
 | |
|   ]
 | |
|   deps = [
 | |
|     ":ImageDecoderClientEndpoint",
 | |
|     ":ImageDecoderServerEndpoint",
 | |
|     "//AK",
 | |
|     "//Userland/Libraries/LibCore",
 | |
|     "//Userland/Libraries/LibGfx",
 | |
|     "//Userland/Libraries/LibIPC",
 | |
|   ]
 | |
|   sources = [ "Client.cpp" ]
 | |
|   sources += get_target_outputs(":ImageDecoderClientEndpoint") +
 | |
|              get_target_outputs(":ImageDecoderServerEndpoint")
 | |
| }
 |