summaryrefslogtreecommitdiffstats
path: root/library/cpp/yt/memory
diff options
context:
space:
mode:
authoralexv-smirnov <[email protected]>2023-03-15 19:59:12 +0300
committeralexv-smirnov <[email protected]>2023-03-15 19:59:12 +0300
commit056bb284ccf8dd6793ec3a54ffa36c4fb2b9ad11 (patch)
tree4740980126f32e3af7937ba0ca5f83e59baa4ab0 /library/cpp/yt/memory
parent269126dcced1cc8b53eb4398b4a33e5142f10290 (diff)
add library/cpp/actors, ymake build to ydb oss export
Diffstat (limited to 'library/cpp/yt/memory')
-rw-r--r--library/cpp/yt/memory/unittests/ya.make22
-rw-r--r--library/cpp/yt/memory/ya.make38
2 files changed, 60 insertions, 0 deletions
diff --git a/library/cpp/yt/memory/unittests/ya.make b/library/cpp/yt/memory/unittests/ya.make
new file mode 100644
index 00000000000..ff0e6398191
--- /dev/null
+++ b/library/cpp/yt/memory/unittests/ya.make
@@ -0,0 +1,22 @@
+GTEST(unittester-library-memory)
+
+INCLUDE(${ARCADIA_ROOT}/library/cpp/yt/ya_cpp.make.inc)
+
+IF (NOT OS_WINDOWS)
+ ALLOCATOR(YT)
+ENDIF()
+
+SRCS(
+ atomic_intrusive_ptr_ut.cpp
+ chunked_memory_pool_ut.cpp
+ chunked_memory_pool_output_ut.cpp
+ intrusive_ptr_ut.cpp
+ weak_ptr_ut.cpp
+)
+
+PEERDIR(
+ library/cpp/testing/gtest
+ library/cpp/yt/memory
+)
+
+END()
diff --git a/library/cpp/yt/memory/ya.make b/library/cpp/yt/memory/ya.make
new file mode 100644
index 00000000000..c83121673de
--- /dev/null
+++ b/library/cpp/yt/memory/ya.make
@@ -0,0 +1,38 @@
+LIBRARY()
+
+INCLUDE(${ARCADIA_ROOT}/library/cpp/yt/ya_cpp.make.inc)
+
+SRCS(
+ blob.cpp
+ chunked_input_stream.cpp
+ chunked_memory_allocator.cpp
+ chunked_memory_pool.cpp
+ chunked_memory_pool_output.cpp
+ chunked_output_stream.cpp
+ ref.cpp
+ ref_tracked.cpp
+ shared_range.cpp
+)
+
+PEERDIR(
+ library/cpp/yt/assert
+ library/cpp/yt/misc
+ library/cpp/yt/malloc
+)
+
+CHECK_DEPENDENT_DIRS(
+ ALLOW_ONLY ALL
+ build
+ contrib
+ library
+ util
+ library/cpp/yt/assert
+ library/cpp/yt/misc
+ library/cpp/yt/malloc
+)
+
+END()
+
+RECURSE_FOR_TESTS(
+ unittests
+)