aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/cctz
diff options
context:
space:
mode:
authoralexv-smirnov <alex@ydb.tech>2023-03-15 19:59:12 +0300
committeralexv-smirnov <alex@ydb.tech>2023-03-15 19:59:12 +0300
commit056bb284ccf8dd6793ec3a54ffa36c4fb2b9ad11 (patch)
tree4740980126f32e3af7937ba0ca5f83e59baa4ab0 /contrib/libs/cctz
parent269126dcced1cc8b53eb4398b4a33e5142f10290 (diff)
downloadydb-056bb284ccf8dd6793ec3a54ffa36c4fb2b9ad11.tar.gz
add library/cpp/actors, ymake build to ydb oss export
Diffstat (limited to 'contrib/libs/cctz')
-rw-r--r--contrib/libs/cctz/test/ya.make33
-rw-r--r--contrib/libs/cctz/tzdata/ya.make17
-rw-r--r--contrib/libs/cctz/ya.make49
3 files changed, 99 insertions, 0 deletions
diff --git a/contrib/libs/cctz/test/ya.make b/contrib/libs/cctz/test/ya.make
new file mode 100644
index 0000000000..0e551d7ba1
--- /dev/null
+++ b/contrib/libs/cctz/test/ya.make
@@ -0,0 +1,33 @@
+GTEST()
+
+LICENSE(Apache-2.0)
+
+LICENSE_TEXTS(.yandex_meta/licenses.list.txt)
+
+PEERDIR(
+ contrib/libs/cctz
+ contrib/libs/cctz/tzdata
+)
+
+ADDINCL(
+ contrib/libs/cctz/include
+)
+
+IF (NOT AUTOCHECK)
+ # We do not set TZDIR to a stable data source, so
+ # LoadZone("libc:localtime") is inconsistent and makes
+ # LocalTimeLibC test fail on distbuild.
+ CFLAGS(
+ -DCCTZ_TEST_LIBC_LOCALTIME
+ )
+ENDIF()
+
+SRCS(
+ civil_time_test.cc
+ time_zone_format_test.cc
+ time_zone_lookup_test.cc
+)
+
+EXPLICIT_DATA()
+
+END()
diff --git a/contrib/libs/cctz/tzdata/ya.make b/contrib/libs/cctz/tzdata/ya.make
new file mode 100644
index 0000000000..d881ad5f32
--- /dev/null
+++ b/contrib/libs/cctz/tzdata/ya.make
@@ -0,0 +1,17 @@
+LIBRARY()
+
+WITHOUT_LICENSE_TEXTS()
+
+LICENSE(Apache-2.0)
+
+PEERDIR(
+ contrib/libs/cctz
+)
+
+INCLUDE(ya.make.resources)
+
+SRCS(
+ GLOBAL factory.cpp
+)
+
+END()
diff --git a/contrib/libs/cctz/ya.make b/contrib/libs/cctz/ya.make
new file mode 100644
index 0000000000..f3866287b0
--- /dev/null
+++ b/contrib/libs/cctz/ya.make
@@ -0,0 +1,49 @@
+# Generated by devtools/yamaker from nixpkgs 22.05.
+
+LIBRARY()
+
+LICENSE(
+ Apache-2.0 AND
+ Public-Domain
+)
+
+LICENSE_TEXTS(.yandex_meta/licenses.list.txt)
+
+VERSION(2021-03-11)
+
+ORIGINAL_SOURCE(https://github.com/google/cctz/archive/583c52d1eaef159162790a1d4044940f5e0b201b.tar.gz)
+
+ADDINCL(
+ GLOBAL contrib/libs/cctz/include
+)
+
+NO_COMPILER_WARNINGS()
+
+NO_UTIL()
+
+IF (OS_DARWIN)
+ LDFLAGS(
+ -framework
+ CoreFoundation
+ )
+ENDIF()
+
+SRCS(
+ src/civil_time_detail.cc
+ src/time_zone_fixed.cc
+ src/time_zone_format.cc
+ src/time_zone_if.cc
+ src/time_zone_impl.cc
+ src/time_zone_info.cc
+ src/time_zone_libc.cc
+ src/time_zone_lookup.cc
+ src/time_zone_posix.cc
+ src/zone_info_source.cc
+)
+
+END()
+
+RECURSE(
+ test
+ tzdata
+)