mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 04:57:45 +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
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