mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 15:48:12 +00:00
Meta: Port recent changes to gn BUILD
5c7e5cc738
a8f0fa5dd4
0d417cd604
5b87d26027
(and other friends from the JIT PR)f915aa70cd
This commit is contained in:
parent
d8ab9ed87c
commit
faa8ef98c9
12 changed files with 146 additions and 63 deletions
|
@ -0,0 +1,43 @@
|
|||
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")
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue