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/yt/memory | |
parent | 8bfdfa9a9bd19bddbc58d888e180fbd1218681be (diff) | |
download | ydb-bf0f13dd39ee3e65092ba3572bb5b1fcd125dcd0.tar.gz |
add ymake export to ydb
Diffstat (limited to 'library/cpp/yt/memory')
-rw-r--r-- | library/cpp/yt/memory/unittests/ya.make | 29 | ||||
-rw-r--r-- | library/cpp/yt/memory/ya.make | 40 |
2 files changed, 69 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 0000000000..54f8f4f1a5 --- /dev/null +++ b/library/cpp/yt/memory/unittests/ya.make @@ -0,0 +1,29 @@ +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 + free_list_ut.cpp + intrusive_ptr_ut.cpp + weak_ptr_ut.cpp +) + +IF (NOT OS_WINDOWS) + SRCS( + safe_memory_reader_ut.cpp + ) +ENDIF() + +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 0000000000..171bfd5cbf --- /dev/null +++ b/library/cpp/yt/memory/ya.make @@ -0,0 +1,40 @@ +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 + memory_tag.cpp + ref.cpp + ref_tracked.cpp + safe_memory_reader.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 +) |