mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 09:57:35 +00:00
Meta: Add CodeGenerators and library dependencies for them to gn build
This commit is contained in:
parent
cbda1a6c73
commit
05f56e09b5
12 changed files with 218 additions and 1 deletions
14
Meta/gn/secondary/Userland/Libraries/LibFileSystem/BUILD.gn
Normal file
14
Meta/gn/secondary/Userland/Libraries/LibFileSystem/BUILD.gn
Normal file
|
@ -0,0 +1,14 @@
|
|||
shared_library("LibFileSystem") {
|
||||
include_dirs = [ "//Userland/Libraries" ]
|
||||
sources = [
|
||||
"FileSystem.cpp",
|
||||
"FileSystem.h",
|
||||
"TempFile.cpp",
|
||||
"TempFile.h",
|
||||
]
|
||||
deps = [
|
||||
"//AK",
|
||||
"//Userland/Libraries/LibCore",
|
||||
]
|
||||
output_name = "filesystem"
|
||||
}
|
26
Meta/gn/secondary/Userland/Libraries/LibIPC/BUILD.gn
Normal file
26
Meta/gn/secondary/Userland/Libraries/LibIPC/BUILD.gn
Normal file
|
@ -0,0 +1,26 @@
|
|||
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",
|
||||
"Dictionary.h",
|
||||
"Encoder.cpp",
|
||||
"Encoder.h",
|
||||
"File.h",
|
||||
"Forward.h",
|
||||
"Message.h",
|
||||
"MultiServer.h",
|
||||
"SingleServer.h",
|
||||
"Stub.h",
|
||||
]
|
||||
deps = [
|
||||
"//AK",
|
||||
"//Userland/Libraries/LibCore",
|
||||
]
|
||||
}
|
9
Meta/gn/secondary/Userland/Libraries/LibMain/BUILD.gn
Normal file
9
Meta/gn/secondary/Userland/Libraries/LibMain/BUILD.gn
Normal file
|
@ -0,0 +1,9 @@
|
|||
static_library("LibMain") {
|
||||
include_dirs = [ "//Userland/Libraries" ]
|
||||
sources = [
|
||||
"Main.cpp",
|
||||
"Main.h",
|
||||
]
|
||||
deps = [ "//AK" ]
|
||||
output_name = "main"
|
||||
}
|
22
Meta/gn/secondary/Userland/Libraries/LibTimeZone/BUILD.gn
Normal file
22
Meta/gn/secondary/Userland/Libraries/LibTimeZone/BUILD.gn
Normal file
|
@ -0,0 +1,22 @@
|
|||
declare_args() {
|
||||
# If true, Download tzdata from data.iana.org and use it in LibTimeZone
|
||||
# Data will be downloaded to $cache_path/TZDB
|
||||
enable_timezone_database_download = false
|
||||
}
|
||||
|
||||
source_set("LibTimeZone") {
|
||||
output_name = "timezone"
|
||||
include_dirs = [ "//Userland/Libraries" ]
|
||||
sources = [
|
||||
"Forward.h",
|
||||
"TimeZone.cpp",
|
||||
"TimeZone.h",
|
||||
]
|
||||
deps = [
|
||||
"//AK",
|
||||
"//Userland/Libraries/LibCore",
|
||||
]
|
||||
if (enable_timezone_database_download) {
|
||||
deps += [ ":timezone_data" ]
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue