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/balloc | |
parent | 8bfdfa9a9bd19bddbc58d888e180fbd1218681be (diff) | |
download | ydb-bf0f13dd39ee3e65092ba3572bb5b1fcd125dcd0.tar.gz |
add ymake export to ydb
Diffstat (limited to 'library/cpp/balloc')
-rw-r--r-- | library/cpp/balloc/lib/ya.make | 26 | ||||
-rw-r--r-- | library/cpp/balloc/setup/ya.make | 16 | ||||
-rw-r--r-- | library/cpp/balloc/ya.make | 24 |
3 files changed, 66 insertions, 0 deletions
diff --git a/library/cpp/balloc/lib/ya.make b/library/cpp/balloc/lib/ya.make new file mode 100644 index 00000000000..a2c5f800087 --- /dev/null +++ b/library/cpp/balloc/lib/ya.make @@ -0,0 +1,26 @@ +LIBRARY() + +NO_UTIL() +NO_COMPILER_WARNINGS() + +SRCS( + alloc_stats.cpp + alloc_stats.h +) + +IF (OS_LINUX) + PEERDIR( + contrib/libs/linuxvdso + ) +ENDIF() + +PEERDIR( + library/cpp/balloc/setup + library/cpp/malloc/api +) + +SET(IDE_FOLDER "util") + +END() + +NEED_CHECK() diff --git a/library/cpp/balloc/setup/ya.make b/library/cpp/balloc/setup/ya.make new file mode 100644 index 00000000000..90bb97ea288 --- /dev/null +++ b/library/cpp/balloc/setup/ya.make @@ -0,0 +1,16 @@ +LIBRARY() + +NO_UTIL() + +IF ("${YMAKE}" MATCHES "devtools") + CFLAGS(-DYMAKE=1) +ENDIF() + +SRCS( + alloc.cpp + enable.cpp +) + +END() + +NEED_CHECK() diff --git a/library/cpp/balloc/ya.make b/library/cpp/balloc/ya.make new file mode 100644 index 00000000000..a8480fb4579 --- /dev/null +++ b/library/cpp/balloc/ya.make @@ -0,0 +1,24 @@ +LIBRARY() + +NO_UTIL() +ALLOCATOR_IMPL() +NO_COMPILER_WARNINGS() + +IF (OS_WINDOWS) + PEERDIR( + library/cpp/lfalloc + ) +ELSE() + SRCS( + balloc.cpp + malloc-info.cpp + ) + + PEERDIR( + library/cpp/balloc/lib + ) +ENDIF() + +END() + +NEED_CHECK() |