summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNico Weber <thakis@chromium.org>2024-02-17 21:24:58 -0500
committerNico Weber <thakis@chromium.org>2024-02-17 21:24:58 -0500
commit4206d06130834cb79b641221261c4b5d7a174320 (patch)
treeabe5aeb3ee2bed8c32867978e737de60e80b6fb6
parentdb8b76dbb07d4053a4e44baf1518c9ea0d84c844 (diff)
[gn] port d332d88b919f (tzdb.cpp)
-rw-r--r--llvm/utils/gn/secondary/libcxx/include/BUILD.gn2
-rw-r--r--llvm/utils/gn/secondary/libcxx/src/BUILD.gn8
2 files changed, 9 insertions, 1 deletions
diff --git a/llvm/utils/gn/secondary/libcxx/include/BUILD.gn b/llvm/utils/gn/secondary/libcxx/include/BUILD.gn
index b7c7de9f9915..14c457f3c880 100644
--- a/llvm/utils/gn/secondary/libcxx/include/BUILD.gn
+++ b/llvm/utils/gn/secondary/libcxx/include/BUILD.gn
@@ -369,6 +369,8 @@ if (current_toolchain == default_toolchain) {
"__chrono/steady_clock.h",
"__chrono/system_clock.h",
"__chrono/time_point.h",
+ "__chrono/time_zone.h",
+ "__chrono/time_zone_link.h",
"__chrono/tzdb.h",
"__chrono/tzdb_list.h",
"__chrono/weekday.h",
diff --git a/llvm/utils/gn/secondary/libcxx/src/BUILD.gn b/llvm/utils/gn/secondary/libcxx/src/BUILD.gn
index 79504775ea21..55309720725b 100644
--- a/llvm/utils/gn/secondary/libcxx/src/BUILD.gn
+++ b/llvm/utils/gn/secondary/libcxx/src/BUILD.gn
@@ -315,7 +315,13 @@ if (libcxx_enable_experimental) {
sources = [ "experimental/keep.cpp" ]
if (libcxx_enable_filesystem && libcxx_enable_time_zone_database) {
sources += [
- "tz.cpp",
+ "include/tzdb/time_zone_link_private.h",
+ "include/tzdb/time_zone_private.h",
+ "include/tzdb/types_private.h",
+ "include/tzdb/tzdb_list_private.h",
+ "include/tzdb/tzdb_private.h",
+ "time_zone.cpp",
+ "tzdb.cpp",
"tzdb_list.cpp",
]
}