aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/unicode
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 /library/cpp/unicode
parent269126dcced1cc8b53eb4398b4a33e5142f10290 (diff)
downloadydb-056bb284ccf8dd6793ec3a54ffa36c4fb2b9ad11.tar.gz
add library/cpp/actors, ymake build to ydb oss export
Diffstat (limited to 'library/cpp/unicode')
-rw-r--r--library/cpp/unicode/normalization/ut/ya.make11
-rw-r--r--library/cpp/unicode/normalization/ya.make26
-rw-r--r--library/cpp/unicode/punycode/ut/ya.make7
-rw-r--r--library/cpp/unicode/punycode/ya.make15
-rw-r--r--library/cpp/unicode/set/ya.make15
5 files changed, 74 insertions, 0 deletions
diff --git a/library/cpp/unicode/normalization/ut/ya.make b/library/cpp/unicode/normalization/ut/ya.make
new file mode 100644
index 0000000000..3cd271e620
--- /dev/null
+++ b/library/cpp/unicode/normalization/ut/ya.make
@@ -0,0 +1,11 @@
+UNITTEST()
+
+PEERDIR(
+ library/cpp/unicode/normalization
+)
+
+SRCS(
+ normalization_ut.cpp
+)
+
+END()
diff --git a/library/cpp/unicode/normalization/ya.make b/library/cpp/unicode/normalization/ya.make
new file mode 100644
index 0000000000..0646cfb8b0
--- /dev/null
+++ b/library/cpp/unicode/normalization/ya.make
@@ -0,0 +1,26 @@
+LIBRARY()
+
+NO_UTIL()
+
+SRCS(
+ generated/composition.cpp
+ generated/decomposition.cpp
+ decomposition_table.h
+ normalization.cpp
+)
+
+IF(NOT OPENSOURCE)
+ SRCS(
+ custom_encoder.cpp
+ )
+ PEERDIR(
+ library/cpp/charset
+ )
+ GENERATE_ENUM_SERIALIZATION(normalization.h)
+ENDIF()
+
+END()
+
+RECURSE_FOR_TESTS(
+ ut
+)
diff --git a/library/cpp/unicode/punycode/ut/ya.make b/library/cpp/unicode/punycode/ut/ya.make
new file mode 100644
index 0000000000..b242ab48cc
--- /dev/null
+++ b/library/cpp/unicode/punycode/ut/ya.make
@@ -0,0 +1,7 @@
+UNITTEST_FOR(library/cpp/unicode/punycode)
+
+SRCS(
+ punycode_ut.cpp
+)
+
+END()
diff --git a/library/cpp/unicode/punycode/ya.make b/library/cpp/unicode/punycode/ya.make
new file mode 100644
index 0000000000..4c5effa07b
--- /dev/null
+++ b/library/cpp/unicode/punycode/ya.make
@@ -0,0 +1,15 @@
+LIBRARY()
+
+PEERDIR(
+ contrib/libs/libidn
+)
+
+SRCS(
+ punycode.cpp
+)
+
+END()
+
+RECURSE_FOR_TESTS(
+ ut
+)
diff --git a/library/cpp/unicode/set/ya.make b/library/cpp/unicode/set/ya.make
new file mode 100644
index 0000000000..b06845f923
--- /dev/null
+++ b/library/cpp/unicode/set/ya.make
@@ -0,0 +1,15 @@
+LIBRARY()
+
+SRCS(
+ set.cpp
+ quoted_pair.cpp
+ unicode_set.cpp
+ unicode_set_parser.cpp
+ unicode_set_token.cpp
+ generated/category_ranges.cpp
+ unicode_set_lexer.rl6
+)
+
+GENERATE_ENUM_SERIALIZATION(unicode_set_token.h)
+
+END()