aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/yson
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/yson
parent269126dcced1cc8b53eb4398b4a33e5142f10290 (diff)
downloadydb-056bb284ccf8dd6793ec3a54ffa36c4fb2b9ad11.tar.gz
add library/cpp/actors, ymake build to ydb oss export
Diffstat (limited to 'library/cpp/yson')
-rw-r--r--library/cpp/yson/json/ya.make12
-rw-r--r--library/cpp/yson/node/benchmark/ya.make13
-rw-r--r--library/cpp/yson/node/ut/ya.make7
-rw-r--r--library/cpp/yson/node/ya.make23
-rw-r--r--library/cpp/yson/ut/ya.make11
-rw-r--r--library/cpp/yson/ya.make22
6 files changed, 88 insertions, 0 deletions
diff --git a/library/cpp/yson/json/ya.make b/library/cpp/yson/json/ya.make
new file mode 100644
index 0000000000..cdf7bd2b10
--- /dev/null
+++ b/library/cpp/yson/json/ya.make
@@ -0,0 +1,12 @@
+LIBRARY()
+
+SRCS(
+ json_writer.cpp
+ yson2json_adapter.cpp
+)
+
+PEERDIR(
+ library/cpp/json
+)
+
+END()
diff --git a/library/cpp/yson/node/benchmark/ya.make b/library/cpp/yson/node/benchmark/ya.make
new file mode 100644
index 0000000000..dd2035b1fa
--- /dev/null
+++ b/library/cpp/yson/node/benchmark/ya.make
@@ -0,0 +1,13 @@
+G_BENCHMARK()
+
+SRCS(
+ reserve.cpp
+)
+
+PEERDIR(
+ library/cpp/yson/node
+)
+
+SIZE(SMALL)
+
+END()
diff --git a/library/cpp/yson/node/ut/ya.make b/library/cpp/yson/node/ut/ya.make
new file mode 100644
index 0000000000..a3f79f7403
--- /dev/null
+++ b/library/cpp/yson/node/ut/ya.make
@@ -0,0 +1,7 @@
+UNITTEST_FOR(library/cpp/yson/node)
+
+SRCS(
+ node_ut.cpp
+)
+
+END()
diff --git a/library/cpp/yson/node/ya.make b/library/cpp/yson/node/ya.make
new file mode 100644
index 0000000000..18fcd10168
--- /dev/null
+++ b/library/cpp/yson/node/ya.make
@@ -0,0 +1,23 @@
+LIBRARY()
+
+GENERATE_ENUM_SERIALIZATION(node.h)
+
+PEERDIR(
+ library/cpp/yson
+ library/cpp/yson/json
+)
+
+SRCS(
+ node.cpp
+ node_io.cpp
+ node_builder.cpp
+ node_visitor.cpp
+ serialize.cpp
+)
+
+END()
+
+RECURSE(
+ benchmark
+ ut
+)
diff --git a/library/cpp/yson/ut/ya.make b/library/cpp/yson/ut/ya.make
new file mode 100644
index 0000000000..489735f772
--- /dev/null
+++ b/library/cpp/yson/ut/ya.make
@@ -0,0 +1,11 @@
+GTEST()
+
+SRCS(
+ yson_ut.cpp
+)
+
+PEERDIR(
+ library/cpp/yson
+)
+
+END()
diff --git a/library/cpp/yson/ya.make b/library/cpp/yson/ya.make
new file mode 100644
index 0000000000..cc973356bd
--- /dev/null
+++ b/library/cpp/yson/ya.make
@@ -0,0 +1,22 @@
+LIBRARY()
+
+PEERDIR(
+ library/cpp/yt/misc
+ library/cpp/yt/yson
+)
+
+SRCS(
+ consumer.cpp
+ lexer.cpp
+ parser.cpp
+ token.cpp
+ tokenizer.cpp
+ varint.cpp
+ writer.cpp
+)
+
+END()
+
+RECURSE_FOR_TESTS(
+ ut
+)