diff options
author | alexv-smirnov <alex@ydb.tech> | 2023-06-13 11:05:01 +0300 |
---|---|---|
committer | alexv-smirnov <alex@ydb.tech> | 2023-06-13 11:05:01 +0300 |
commit | bf0f13dd39ee3e65092ba3572bb5b1fcd125dcd0 (patch) | |
tree | 1d1df72c0541a59a81439842f46d95396d3e7189 /library/cpp/protobuf | |
parent | 8bfdfa9a9bd19bddbc58d888e180fbd1218681be (diff) | |
download | ydb-bf0f13dd39ee3e65092ba3572bb5b1fcd125dcd0.tar.gz |
add ymake export to ydb
Diffstat (limited to 'library/cpp/protobuf')
-rw-r--r-- | library/cpp/protobuf/interop/ut/ya.make | 11 | ||||
-rw-r--r-- | library/cpp/protobuf/interop/ya.make | 15 | ||||
-rw-r--r-- | library/cpp/protobuf/json/ut/ya.make | 22 | ||||
-rw-r--r-- | library/cpp/protobuf/json/ya.make | 27 | ||||
-rw-r--r-- | library/cpp/protobuf/util/proto/ya.make | 9 | ||||
-rw-r--r-- | library/cpp/protobuf/util/ut/ya.make | 17 | ||||
-rw-r--r-- | library/cpp/protobuf/util/ya.make | 24 |
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) |