aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/protobuf
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/protobuf
parent269126dcced1cc8b53eb4398b4a33e5142f10290 (diff)
downloadydb-056bb284ccf8dd6793ec3a54ffa36c4fb2b9ad11.tar.gz
add library/cpp/actors, ymake build to ydb oss export
Diffstat (limited to 'library/cpp/protobuf')
-rw-r--r--library/cpp/protobuf/interop/ut/ya.make11
-rw-r--r--library/cpp/protobuf/interop/ya.make15
-rw-r--r--library/cpp/protobuf/json/ut/ya.make22
-rw-r--r--library/cpp/protobuf/json/ya.make27
-rw-r--r--library/cpp/protobuf/util/proto/ya.make9
-rw-r--r--library/cpp/protobuf/util/ut/ya.make17
-rw-r--r--library/cpp/protobuf/util/ya.make24
7 files changed, 125 insertions, 0 deletions
diff --git a/library/cpp/protobuf/interop/ut/ya.make b/library/cpp/protobuf/interop/ut/ya.make
new file mode 100644
index 0000000000..07813fe5df
--- /dev/null
+++ b/library/cpp/protobuf/interop/ut/ya.make
@@ -0,0 +1,11 @@
+UNITTEST_FOR(library/cpp/protobuf/interop)
+
+SRCS(
+ cast_ut.cpp
+)
+
+PEERDIR(
+ library/cpp/protobuf/interop
+)
+
+END()
diff --git a/library/cpp/protobuf/interop/ya.make b/library/cpp/protobuf/interop/ya.make
new file mode 100644
index 0000000000..ed6fcd65cd
--- /dev/null
+++ b/library/cpp/protobuf/interop/ya.make
@@ -0,0 +1,15 @@
+LIBRARY()
+
+SRCS(
+ cast.cpp
+)
+
+PEERDIR(
+ contrib/libs/protobuf
+)
+
+END()
+
+RECURSE_FOR_TESTS(
+ ut
+)
diff --git a/library/cpp/protobuf/json/ut/ya.make b/library/cpp/protobuf/json/ut/ya.make
new file mode 100644
index 0000000000..2a5391e375
--- /dev/null
+++ b/library/cpp/protobuf/json/ut/ya.make
@@ -0,0 +1,22 @@
+UNITTEST_FOR(library/cpp/protobuf/json)
+
+SRCS(
+ filter_ut.cpp
+ json2proto_ut.cpp
+ proto2json_ut.cpp
+ inline_ut.proto
+ inline_ut.cpp
+ string_transform_ut.cpp
+ filter_ut.proto
+ test.proto
+ util_ut.cpp
+)
+
+GENERATE_ENUM_SERIALIZATION(test.pb.h)
+
+PEERDIR(
+ library/cpp/protobuf/interop
+ library/cpp/protobuf/json
+)
+
+END()
diff --git a/library/cpp/protobuf/json/ya.make b/library/cpp/protobuf/json/ya.make
new file mode 100644
index 0000000000..7dbd055a3a
--- /dev/null
+++ b/library/cpp/protobuf/json/ya.make
@@ -0,0 +1,27 @@
+LIBRARY()
+
+SRCS(
+ json2proto.cpp
+ json_output_create.cpp
+ json_value_output.cpp
+ json_writer_output.cpp
+ name_generator.cpp
+ proto2json.cpp
+ proto2json_printer.cpp
+ string_transform.cpp
+ util.h
+ util.cpp
+)
+
+PEERDIR(
+ contrib/libs/protobuf
+ library/cpp/json
+ library/cpp/protobuf/util
+ library/cpp/string_utils/relaxed_escaper
+)
+
+END()
+
+RECURSE_FOR_TESTS(
+ ut
+)
diff --git a/library/cpp/protobuf/util/proto/ya.make b/library/cpp/protobuf/util/proto/ya.make
new file mode 100644
index 0000000000..f3fedf54cd
--- /dev/null
+++ b/library/cpp/protobuf/util/proto/ya.make
@@ -0,0 +1,9 @@
+PROTO_LIBRARY()
+
+SRCS(
+ merge.proto
+)
+
+EXCLUDE_TAGS(GO_PROTO)
+
+END()
diff --git a/library/cpp/protobuf/util/ut/ya.make b/library/cpp/protobuf/util/ut/ya.make
new file mode 100644
index 0000000000..1f321085b1
--- /dev/null
+++ b/library/cpp/protobuf/util/ut/ya.make
@@ -0,0 +1,17 @@
+UNITTEST_FOR(library/cpp/protobuf/util)
+
+SRCS(
+ extensions.proto
+ sample_for_is_equal.proto
+ sample_for_simple_reflection.proto
+ common_ut.proto
+ pb_io_ut.cpp
+ is_equal_ut.cpp
+ iterators_ut.cpp
+ simple_reflection_ut.cpp
+ repeated_field_utils_ut.cpp
+ walk_ut.cpp
+ merge_ut.cpp
+)
+
+END()
diff --git a/library/cpp/protobuf/util/ya.make b/library/cpp/protobuf/util/ya.make
new file mode 100644
index 0000000000..98c6a0306d
--- /dev/null
+++ b/library/cpp/protobuf/util/ya.make
@@ -0,0 +1,24 @@
+LIBRARY()
+
+PEERDIR(
+ contrib/libs/protobuf
+ library/cpp/binsaver
+ library/cpp/protobuf/util/proto
+ library/cpp/string_utils/base64
+)
+
+SRCS(
+ is_equal.cpp
+ iterators.h
+ merge.cpp
+ path.cpp
+ pb_io.cpp
+ pb_utils.h
+ repeated_field_utils.h
+ simple_reflection.cpp
+ walk.cpp
+)
+
+END()
+
+RECURSE_FOR_TESTS(ut)