aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/balloc
diff options
context:
space:
mode:
authoralexv-smirnov <alex@ydb.tech>2023-03-15 19:59:12 +0300
committeralexv-smirnov <alex@ydb.tech>2023-03-15 19:59:12 +0300
commit056bb284ccf8dd6793ec3a54ffa36c4fb2b9ad11 (patch)
tree4740980126f32e3af7937ba0ca5f83e59baa4ab0 /library/cpp/balloc
parent269126dcced1cc8b53eb4398b4a33e5142f10290 (diff)
downloadydb-056bb284ccf8dd6793ec3a54ffa36c4fb2b9ad11.tar.gz
add library/cpp/actors, ymake build to ydb oss export
Diffstat (limited to 'library/cpp/balloc')
-rw-r--r--library/cpp/balloc/lib/ya.make26
-rw-r--r--library/cpp/balloc/setup/ya.make16
-rw-r--r--library/cpp/balloc/ya.make23
3 files changed, 65 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..ad8cae97e51
--- /dev/null
+++ b/library/cpp/balloc/ya.make
@@ -0,0 +1,23 @@
+LIBRARY()
+
+NO_UTIL()
+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()