1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 21:37:35 +00:00

Meta: Add CodeGenerators and library dependencies for them to gn build

This commit is contained in:
Andrew Kaster 2023-05-05 12:25:53 -06:00 committed by Andrew Kaster
parent cbda1a6c73
commit 05f56e09b5
12 changed files with 218 additions and 1 deletions

View 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" ]
}
}