1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-23 17:25:09 +00:00
serenity/Meta/gn/secondary/Userland/Libraries/LibIPC/BUILD.gn
Timothy Flynn 91558fa381 LibIPC+LibWeb: Add an IPC helper to transfer an IPC message buffer
This large block of code is repeated nearly verbatim in LibWeb. Move it
to a helper function that both LibIPC and LibWeb can defer to. This will
let us make changes to this method in a singular location going forward.

Note this is a bit of a regression for the MessagePort. It now suffers
from the same performance issue that IPC messages face - we prepend the
meessage size to the message buffer. This degredation is very temporary
though, as a fix is imminent, and this change makes that fix easier.
2024-01-03 10:17:00 +01:00

26 lines
490 B
Text

shared_library("LibIPC") {
output_name = "ipc"
include_dirs = [ "//Userland/Libraries" ]
sources = [
"Concepts.h",
"Connection.cpp",
"Connection.h",
"ConnectionFromClient.h",
"ConnectionToServer.h",
"Decoder.cpp",
"Decoder.h",
"Encoder.cpp",
"Encoder.h",
"File.h",
"Forward.h",
"Message.cpp",
"Message.h",
"MultiServer.h",
"SingleServer.h",
"Stub.h",
]
deps = [
"//AK",
"//Userland/Libraries/LibCore",
]
}