aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/yson
diff options
context:
space:
mode:
authoralexv-smirnov <alex@ydb.tech>2023-06-13 11:05:01 +0300
committeralexv-smirnov <alex@ydb.tech>2023-06-13 11:05:01 +0300
commitbf0f13dd39ee3e65092ba3572bb5b1fcd125dcd0 (patch)
tree1d1df72c0541a59a81439842f46d95396d3e7189 /library/cpp/yson
parent8bfdfa9a9bd19bddbc58d888e180fbd1218681be (diff)
downloadydb-bf0f13dd39ee3e65092ba3572bb5b1fcd125dcd0.tar.gz
add ymake export to ydb
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
+)