aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/blockcodecs
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/blockcodecs
parent8bfdfa9a9bd19bddbc58d888e180fbd1218681be (diff)
downloadydb-bf0f13dd39ee3e65092ba3572bb5b1fcd125dcd0.tar.gz
add ymake export to ydb
Diffstat (limited to 'library/cpp/blockcodecs')
-rw-r--r--library/cpp/blockcodecs/codecs/brotli/ya.make13
-rw-r--r--library/cpp/blockcodecs/codecs/bzip/ya.make12
-rw-r--r--library/cpp/blockcodecs/codecs/fastlz/ya.make12
-rw-r--r--library/cpp/blockcodecs/codecs/legacy_zstd06/ya.make12
-rw-r--r--library/cpp/blockcodecs/codecs/lz4/ya.make12
-rw-r--r--library/cpp/blockcodecs/codecs/lzma/ya.make12
-rw-r--r--library/cpp/blockcodecs/codecs/snappy/ya.make12
-rw-r--r--library/cpp/blockcodecs/codecs/zlib/ya.make12
-rw-r--r--library/cpp/blockcodecs/codecs/zstd/ya.make12
-rw-r--r--library/cpp/blockcodecs/core/ya.make8
-rw-r--r--library/cpp/blockcodecs/fuzz/proto/ya.make9
-rw-r--r--library/cpp/blockcodecs/fuzz/ya.make18
-rw-r--r--library/cpp/blockcodecs/ut/ya.make17
-rw-r--r--library/cpp/blockcodecs/ya.make26
14 files changed, 187 insertions, 0 deletions
diff --git a/library/cpp/blockcodecs/codecs/brotli/ya.make b/library/cpp/blockcodecs/codecs/brotli/ya.make
new file mode 100644
index 0000000000..f1983cef15
--- /dev/null
+++ b/library/cpp/blockcodecs/codecs/brotli/ya.make
@@ -0,0 +1,13 @@
+LIBRARY()
+
+PEERDIR(
+ contrib/libs/brotli/enc
+ contrib/libs/brotli/dec
+ library/cpp/blockcodecs/core
+)
+
+SRCS(
+ GLOBAL brotli.cpp
+)
+
+END()
diff --git a/library/cpp/blockcodecs/codecs/bzip/ya.make b/library/cpp/blockcodecs/codecs/bzip/ya.make
new file mode 100644
index 0000000000..7c83580341
--- /dev/null
+++ b/library/cpp/blockcodecs/codecs/bzip/ya.make
@@ -0,0 +1,12 @@
+LIBRARY()
+
+PEERDIR(
+ contrib/libs/libbz2
+ library/cpp/blockcodecs/core
+)
+
+SRCS(
+ GLOBAL bzip.cpp
+)
+
+END()
diff --git a/library/cpp/blockcodecs/codecs/fastlz/ya.make b/library/cpp/blockcodecs/codecs/fastlz/ya.make
new file mode 100644
index 0000000000..24306c308c
--- /dev/null
+++ b/library/cpp/blockcodecs/codecs/fastlz/ya.make
@@ -0,0 +1,12 @@
+LIBRARY()
+
+PEERDIR(
+ contrib/libs/fastlz
+ library/cpp/blockcodecs/core
+)
+
+SRCS(
+ GLOBAL fastlz.cpp
+)
+
+END()
diff --git a/library/cpp/blockcodecs/codecs/legacy_zstd06/ya.make b/library/cpp/blockcodecs/codecs/legacy_zstd06/ya.make
new file mode 100644
index 0000000000..d4735651b9
--- /dev/null
+++ b/library/cpp/blockcodecs/codecs/legacy_zstd06/ya.make
@@ -0,0 +1,12 @@
+LIBRARY()
+
+PEERDIR(
+ contrib/libs/zstd06
+ library/cpp/blockcodecs/core
+)
+
+SRCS(
+ GLOBAL legacy_zstd06.cpp
+)
+
+END()
diff --git a/library/cpp/blockcodecs/codecs/lz4/ya.make b/library/cpp/blockcodecs/codecs/lz4/ya.make
new file mode 100644
index 0000000000..c66b8fc634
--- /dev/null
+++ b/library/cpp/blockcodecs/codecs/lz4/ya.make
@@ -0,0 +1,12 @@
+LIBRARY()
+
+PEERDIR(
+ contrib/libs/lz4
+ library/cpp/blockcodecs/core
+)
+
+SRCS(
+ GLOBAL lz4.cpp
+)
+
+END()
diff --git a/library/cpp/blockcodecs/codecs/lzma/ya.make b/library/cpp/blockcodecs/codecs/lzma/ya.make
new file mode 100644
index 0000000000..20db16c83d
--- /dev/null
+++ b/library/cpp/blockcodecs/codecs/lzma/ya.make
@@ -0,0 +1,12 @@
+LIBRARY()
+
+PEERDIR(
+ contrib/libs/lzmasdk
+ library/cpp/blockcodecs/core
+)
+
+SRCS(
+ GLOBAL lzma.cpp
+)
+
+END()
diff --git a/library/cpp/blockcodecs/codecs/snappy/ya.make b/library/cpp/blockcodecs/codecs/snappy/ya.make
new file mode 100644
index 0000000000..122cd721cc
--- /dev/null
+++ b/library/cpp/blockcodecs/codecs/snappy/ya.make
@@ -0,0 +1,12 @@
+LIBRARY()
+
+PEERDIR(
+ contrib/libs/snappy
+ library/cpp/blockcodecs/core
+)
+
+SRCS(
+ GLOBAL snappy.cpp
+)
+
+END()
diff --git a/library/cpp/blockcodecs/codecs/zlib/ya.make b/library/cpp/blockcodecs/codecs/zlib/ya.make
new file mode 100644
index 0000000000..206ce30e10
--- /dev/null
+++ b/library/cpp/blockcodecs/codecs/zlib/ya.make
@@ -0,0 +1,12 @@
+LIBRARY()
+
+PEERDIR(
+ contrib/libs/zlib
+ library/cpp/blockcodecs/core
+)
+
+SRCS(
+ GLOBAL zlib.cpp
+)
+
+END()
diff --git a/library/cpp/blockcodecs/codecs/zstd/ya.make b/library/cpp/blockcodecs/codecs/zstd/ya.make
new file mode 100644
index 0000000000..3e65f7ca2f
--- /dev/null
+++ b/library/cpp/blockcodecs/codecs/zstd/ya.make
@@ -0,0 +1,12 @@
+LIBRARY()
+
+PEERDIR(
+ contrib/libs/zstd
+ library/cpp/blockcodecs/core
+)
+
+SRCS(
+ GLOBAL zstd.cpp
+)
+
+END()
diff --git a/library/cpp/blockcodecs/core/ya.make b/library/cpp/blockcodecs/core/ya.make
new file mode 100644
index 0000000000..ac9789ab7f
--- /dev/null
+++ b/library/cpp/blockcodecs/core/ya.make
@@ -0,0 +1,8 @@
+LIBRARY()
+
+SRCS(
+ codecs.cpp
+ stream.cpp
+)
+
+END()
diff --git a/library/cpp/blockcodecs/fuzz/proto/ya.make b/library/cpp/blockcodecs/fuzz/proto/ya.make
new file mode 100644
index 0000000000..93252bce8d
--- /dev/null
+++ b/library/cpp/blockcodecs/fuzz/proto/ya.make
@@ -0,0 +1,9 @@
+PROTO_LIBRARY()
+
+SRCS(
+ case.proto
+)
+
+EXCLUDE_TAGS(GO_PROTO)
+
+END()
diff --git a/library/cpp/blockcodecs/fuzz/ya.make b/library/cpp/blockcodecs/fuzz/ya.make
new file mode 100644
index 0000000000..c917e89aac
--- /dev/null
+++ b/library/cpp/blockcodecs/fuzz/ya.make
@@ -0,0 +1,18 @@
+IF (NOT MSVC)
+ FUZZ()
+
+ SIZE(MEDIUM)
+
+ SRCS(
+ main.cpp
+ )
+
+ PEERDIR(
+ contrib/libs/protobuf
+ contrib/libs/protobuf-mutator
+ library/cpp/blockcodecs
+ library/cpp/blockcodecs/fuzz/proto
+ )
+
+ END()
+ENDIF()
diff --git a/library/cpp/blockcodecs/ut/ya.make b/library/cpp/blockcodecs/ut/ya.make
new file mode 100644
index 0000000000..d39e21f371
--- /dev/null
+++ b/library/cpp/blockcodecs/ut/ya.make
@@ -0,0 +1,17 @@
+UNITTEST_FOR(library/cpp/blockcodecs)
+
+FORK_TESTS()
+
+FORK_SUBTESTS()
+
+SPLIT_FACTOR(40)
+
+TIMEOUT(300)
+
+SIZE(MEDIUM)
+
+SRCS(
+ codecs_ut.cpp
+)
+
+END()
diff --git a/library/cpp/blockcodecs/ya.make b/library/cpp/blockcodecs/ya.make
new file mode 100644
index 0000000000..add534d2d6
--- /dev/null
+++ b/library/cpp/blockcodecs/ya.make
@@ -0,0 +1,26 @@
+LIBRARY()
+
+PEERDIR(
+ library/cpp/blockcodecs/core
+ library/cpp/blockcodecs/codecs/brotli
+ library/cpp/blockcodecs/codecs/bzip
+ library/cpp/blockcodecs/codecs/fastlz
+ library/cpp/blockcodecs/codecs/legacy_zstd06
+ library/cpp/blockcodecs/codecs/lz4
+ library/cpp/blockcodecs/codecs/lzma
+ library/cpp/blockcodecs/codecs/snappy
+ library/cpp/blockcodecs/codecs/zlib
+ library/cpp/blockcodecs/codecs/zstd
+)
+
+SRCS(
+ codecs.cpp
+ stream.cpp
+)
+
+END()
+
+RECURSE_FOR_TESTS(
+ fuzz
+ ut
+)