aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/actors
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/actors
parent8bfdfa9a9bd19bddbc58d888e180fbd1218681be (diff)
downloadydb-bf0f13dd39ee3e65092ba3572bb5b1fcd125dcd0.tar.gz
add ymake export to ydb
Diffstat (limited to 'library/cpp/actors')
-rw-r--r--library/cpp/actors/core/ut/ya.make43
-rw-r--r--library/cpp/actors/core/ya.make131
-rw-r--r--library/cpp/actors/dnscachelib/ya.make23
-rw-r--r--library/cpp/actors/dnsresolver/ut/ya.make18
-rw-r--r--library/cpp/actors/dnsresolver/ya.make20
-rw-r--r--library/cpp/actors/examples/01_ping_pong/ya.make13
-rw-r--r--library/cpp/actors/examples/02_discovery/ya.make25
-rw-r--r--library/cpp/actors/examples/ya.make4
-rw-r--r--library/cpp/actors/helpers/ut/ya.make31
-rw-r--r--library/cpp/actors/helpers/ya.make23
-rw-r--r--library/cpp/actors/http/ut/ya.make16
-rw-r--r--library/cpp/actors/http/ya.make36
-rw-r--r--library/cpp/actors/interconnect/mock/ya.make14
-rw-r--r--library/cpp/actors/interconnect/ut/lib/ya.make10
-rw-r--r--library/cpp/actors/interconnect/ut/protos/ya.make9
-rw-r--r--library/cpp/actors/interconnect/ut/ya.make32
-rw-r--r--library/cpp/actors/interconnect/ut_fat/ya.make21
-rw-r--r--library/cpp/actors/interconnect/ut_huge_cluster/ya.make34
-rw-r--r--library/cpp/actors/interconnect/ya.make96
-rw-r--r--library/cpp/actors/log_backend/ya.make12
-rw-r--r--library/cpp/actors/memory_log/ya.make15
-rw-r--r--library/cpp/actors/prof/ut/ya.make7
-rw-r--r--library/cpp/actors/prof/ya.make27
-rw-r--r--library/cpp/actors/protos/ya.make12
-rw-r--r--library/cpp/actors/testlib/ut/ya.make15
-rw-r--r--library/cpp/actors/testlib/ya.make23
-rw-r--r--library/cpp/actors/util/ut/ya.make20
-rw-r--r--library/cpp/actors/util/ya.make47
-rw-r--r--library/cpp/actors/wilson/protos/ya.make17
-rw-r--r--library/cpp/actors/wilson/ya.make21
-rw-r--r--library/cpp/actors/ya.make15
31 files changed, 830 insertions, 0 deletions
diff --git a/library/cpp/actors/core/ut/ya.make b/library/cpp/actors/core/ut/ya.make
new file mode 100644
index 0000000000..44803e7619
--- /dev/null
+++ b/library/cpp/actors/core/ut/ya.make
@@ -0,0 +1,43 @@
+UNITTEST_FOR(library/cpp/actors/core)
+
+FORK_SUBTESTS()
+IF (SANITIZER_TYPE)
+ SIZE(LARGE)
+ TIMEOUT(1200)
+ TAG(ya:fat)
+ SPLIT_FACTOR(20)
+ REQUIREMENTS(
+ ram:32
+ )
+ELSE()
+ SIZE(MEDIUM)
+ TIMEOUT(600)
+ REQUIREMENTS(
+ ram:16
+ )
+ENDIF()
+
+
+PEERDIR(
+ library/cpp/actors/interconnect
+ library/cpp/actors/testlib
+)
+
+SRCS(
+ actor_coroutine_ut.cpp
+ benchmark_ut.cpp
+ actor_ut.cpp
+ actorsystem_ut.cpp
+ performance_ut.cpp
+ ask_ut.cpp
+ balancer_ut.cpp
+ event_pb_payload_ut.cpp
+ event_pb_ut.cpp
+ executor_pool_basic_ut.cpp
+ executor_pool_united_ut.cpp
+ log_ut.cpp
+ mon_ut.cpp
+ scheduler_actor_ut.cpp
+)
+
+END()
diff --git a/library/cpp/actors/core/ya.make b/library/cpp/actors/core/ya.make
new file mode 100644
index 0000000000..d5a67c03a5
--- /dev/null
+++ b/library/cpp/actors/core/ya.make
@@ -0,0 +1,131 @@
+LIBRARY()
+
+NO_WSHADOW()
+
+IF (PROFILE_MEMORY_ALLOCATIONS)
+ CFLAGS(-DPROFILE_MEMORY_ALLOCATIONS)
+ENDIF()
+
+IF (ALLOCATOR == "B" OR ALLOCATOR == "BS" OR ALLOCATOR == "C")
+ CXXFLAGS(-DBALLOC)
+ PEERDIR(
+ library/cpp/balloc/optional
+ )
+ENDIF()
+
+SRCS(
+ actor_bootstrapped.cpp
+ actor_coroutine.cpp
+ actor_coroutine.h
+ actor.cpp
+ actor.h
+ actor_virtual.cpp
+ actorid.cpp
+ actorid.h
+ actorsystem.cpp
+ actorsystem.h
+ ask.cpp
+ ask.h
+ av_bootstrapped.cpp
+ balancer.h
+ balancer.cpp
+ buffer.cpp
+ buffer.h
+ callstack.cpp
+ callstack.h
+ config.h
+ cpu_manager.cpp
+ cpu_manager.h
+ cpu_state.h
+ defs.h
+ event.cpp
+ event.h
+ event_load.h
+ event_local.h
+ event_pb.cpp
+ event_pb.h
+ events.h
+ events_undelivered.cpp
+ executelater.h
+ executor_pool_base.cpp
+ executor_pool_base.h
+ executor_pool_basic.cpp
+ executor_pool_basic.h
+ executor_pool_io.cpp
+ executor_pool_io.h
+ executor_pool_united.cpp
+ executor_pool_united.h
+ executor_thread.cpp
+ executor_thread.h
+ harmonizer.cpp
+ harmonizer.h
+ hfunc.h
+ interconnect.cpp
+ interconnect.h
+ invoke.h
+ io_dispatcher.cpp
+ io_dispatcher.h
+ lease.h
+ log.cpp
+ log.h
+ log_settings.cpp
+ log_settings.h
+ log_buffer.cpp
+ log_buffer.h
+ log_metrics.h
+ mailbox.cpp
+ mailbox.h
+ mailbox_queue_revolving.h
+ mailbox_queue_simple.h
+ mon.h
+ mon_stats.h
+ monotonic.cpp
+ monotonic.h
+ monotonic_provider.cpp
+ monotonic_provider.h
+ worker_context.cpp
+ worker_context.h
+ probes.cpp
+ probes.h
+ process_stats.cpp
+ process_stats.h
+ scheduler_actor.cpp
+ scheduler_actor.h
+ scheduler_basic.cpp
+ scheduler_basic.h
+ scheduler_cookie.cpp
+ scheduler_cookie.h
+ scheduler_queue.h
+ servicemap.h
+)
+
+GENERATE_ENUM_SERIALIZATION(defs.h)
+GENERATE_ENUM_SERIALIZATION(actor.h)
+GENERATE_ENUM_SERIALIZATION(log_iface.h)
+
+PEERDIR(
+ library/cpp/actors/memory_log
+ library/cpp/actors/prof
+ library/cpp/actors/protos
+ library/cpp/actors/util
+ library/cpp/execprofile
+ library/cpp/json/writer
+ library/cpp/logger
+ library/cpp/lwtrace
+ library/cpp/monlib/dynamic_counters
+ library/cpp/svnversion
+ library/cpp/time_provider
+ library/cpp/threading/future
+)
+
+IF (SANITIZER_TYPE == "thread")
+ SUPPRESSIONS(
+ tsan.supp
+ )
+ENDIF()
+
+END()
+
+RECURSE_FOR_TESTS(
+ ut
+)
diff --git a/library/cpp/actors/dnscachelib/ya.make b/library/cpp/actors/dnscachelib/ya.make
new file mode 100644
index 0000000000..62eaafc8f5
--- /dev/null
+++ b/library/cpp/actors/dnscachelib/ya.make
@@ -0,0 +1,23 @@
+LIBRARY()
+
+SRCS(
+ dnscache.cpp
+ dnscache.h
+ probes.cpp
+ probes.h
+ timekeeper.h
+)
+
+PEERDIR(
+ contrib/libs/c-ares
+ library/cpp/lwtrace
+ library/cpp/deprecated/atomic
+)
+
+IF (NOT EXPORT_CMAKE)
+ ADDINCL(
+ contrib/libs/c-ares/include
+ )
+ENDIF()
+
+END()
diff --git a/library/cpp/actors/dnsresolver/ut/ya.make b/library/cpp/actors/dnsresolver/ut/ya.make
new file mode 100644
index 0000000000..ec4b117bf7
--- /dev/null
+++ b/library/cpp/actors/dnsresolver/ut/ya.make
@@ -0,0 +1,18 @@
+UNITTEST_FOR(library/cpp/actors/dnsresolver)
+
+PEERDIR(
+ library/cpp/actors/testlib
+)
+
+SRCS(
+ dnsresolver_caching_ut.cpp
+ dnsresolver_ondemand_ut.cpp
+ dnsresolver_ut.cpp
+)
+
+ADDINCL(contrib/libs/c-ares/include)
+
+TAG(ya:external)
+REQUIREMENTS(network:full)
+
+END()
diff --git a/library/cpp/actors/dnsresolver/ya.make b/library/cpp/actors/dnsresolver/ya.make
new file mode 100644
index 0000000000..a66125d65c
--- /dev/null
+++ b/library/cpp/actors/dnsresolver/ya.make
@@ -0,0 +1,20 @@
+LIBRARY()
+
+SRCS(
+ dnsresolver.cpp
+ dnsresolver_caching.cpp
+ dnsresolver_ondemand.cpp
+)
+
+PEERDIR(
+ library/cpp/actors/core
+ contrib/libs/c-ares
+)
+
+ADDINCL(contrib/libs/c-ares/include)
+
+END()
+
+RECURSE_FOR_TESTS(
+ ut
+)
diff --git a/library/cpp/actors/examples/01_ping_pong/ya.make b/library/cpp/actors/examples/01_ping_pong/ya.make
new file mode 100644
index 0000000000..d33cfd3456
--- /dev/null
+++ b/library/cpp/actors/examples/01_ping_pong/ya.make
@@ -0,0 +1,13 @@
+PROGRAM(example_01_ping_pong)
+
+ALLOCATOR(LF)
+
+SRCS(
+ main.cpp
+)
+
+PEERDIR(
+ library/cpp/actors/core
+)
+
+END()
diff --git a/library/cpp/actors/examples/02_discovery/ya.make b/library/cpp/actors/examples/02_discovery/ya.make
new file mode 100644
index 0000000000..953c13259c
--- /dev/null
+++ b/library/cpp/actors/examples/02_discovery/ya.make
@@ -0,0 +1,25 @@
+PROGRAM(example_02_discovery)
+
+ALLOCATOR(LF)
+
+SRCS(
+ endpoint.cpp
+ lookup.cpp
+ main.cpp
+ publish.cpp
+ replica.cpp
+ services.h
+)
+
+SRCS(
+ protocol.proto
+)
+
+PEERDIR(
+ library/cpp/actors/core
+ library/cpp/actors/dnsresolver
+ library/cpp/actors/interconnect
+ library/cpp/actors/http
+)
+
+END()
diff --git a/library/cpp/actors/examples/ya.make b/library/cpp/actors/examples/ya.make
new file mode 100644
index 0000000000..0a98074b47
--- /dev/null
+++ b/library/cpp/actors/examples/ya.make
@@ -0,0 +1,4 @@
+RECURSE(
+ 01_ping_pong
+ 02_discovery
+)
diff --git a/library/cpp/actors/helpers/ut/ya.make b/library/cpp/actors/helpers/ut/ya.make
new file mode 100644
index 0000000000..10b298bb72
--- /dev/null
+++ b/library/cpp/actors/helpers/ut/ya.make
@@ -0,0 +1,31 @@
+UNITTEST_FOR(library/cpp/actors/helpers)
+
+FORK_SUBTESTS()
+IF (SANITIZER_TYPE)
+ SIZE(LARGE)
+ TIMEOUT(1200)
+ TAG(ya:fat)
+ SPLIT_FACTOR(20)
+ REQUIREMENTS(
+ ram:32
+ )
+ELSE()
+ SIZE(MEDIUM)
+ TIMEOUT(600)
+ REQUIREMENTS(
+ ram:16
+ )
+ENDIF()
+
+
+PEERDIR(
+ library/cpp/actors/interconnect
+ library/cpp/actors/testlib
+ library/cpp/actors/core
+)
+
+SRCS(
+ selfping_actor_ut.cpp
+)
+
+END()
diff --git a/library/cpp/actors/helpers/ya.make b/library/cpp/actors/helpers/ya.make
new file mode 100644
index 0000000000..94acdca726
--- /dev/null
+++ b/library/cpp/actors/helpers/ya.make
@@ -0,0 +1,23 @@
+LIBRARY()
+
+SRCS(
+ activeactors.cpp
+ activeactors.h
+ flow_controlled_queue.cpp
+ flow_controlled_queue.h
+ future_callback.h
+ mon_histogram_helper.h
+ selfping_actor.cpp
+)
+
+PEERDIR(
+ library/cpp/actors/core
+ library/cpp/monlib/dynamic_counters
+)
+
+END()
+
+RECURSE_FOR_TESTS(
+ ut
+)
+
diff --git a/library/cpp/actors/http/ut/ya.make b/library/cpp/actors/http/ut/ya.make
new file mode 100644
index 0000000000..8404308053
--- /dev/null
+++ b/library/cpp/actors/http/ut/ya.make
@@ -0,0 +1,16 @@
+UNITTEST_FOR(library/cpp/actors/http)
+
+SIZE(SMALL)
+
+PEERDIR(
+ library/cpp/actors/testlib
+)
+
+IF (NOT OS_WINDOWS)
+SRCS(
+ http_ut.cpp
+)
+ELSE()
+ENDIF()
+
+END()
diff --git a/library/cpp/actors/http/ya.make b/library/cpp/actors/http/ya.make
new file mode 100644
index 0000000000..9b66988ea9
--- /dev/null
+++ b/library/cpp/actors/http/ya.make
@@ -0,0 +1,36 @@
+LIBRARY()
+
+SRCS(
+ http_cache.cpp
+ http_cache.h
+ http_compress.cpp
+ http_config.h
+ http_proxy_acceptor.cpp
+ http_proxy_incoming.cpp
+ http_proxy_outgoing.cpp
+ http_proxy_sock_impl.h
+ http_proxy_sock64.h
+ http_proxy_ssl.h
+ http_proxy.cpp
+ http_proxy.h
+ http_static.cpp
+ http_static.h
+ http.cpp
+ http.h
+)
+
+PEERDIR(
+ contrib/libs/openssl
+ contrib/libs/zlib
+ library/cpp/actors/core
+ library/cpp/actors/interconnect
+ library/cpp/dns
+ library/cpp/monlib/metrics
+ library/cpp/string_utils/quote
+)
+
+END()
+
+RECURSE_FOR_TESTS(
+ ut
+)
diff --git a/library/cpp/actors/interconnect/mock/ya.make b/library/cpp/actors/interconnect/mock/ya.make
new file mode 100644
index 0000000000..d097e3f094
--- /dev/null
+++ b/library/cpp/actors/interconnect/mock/ya.make
@@ -0,0 +1,14 @@
+LIBRARY()
+
+SRCS(
+ ic_mock.cpp
+ ic_mock.h
+)
+
+SUPPRESSIONS(tsan.supp)
+
+PEERDIR(
+ library/cpp/actors/interconnect
+)
+
+END()
diff --git a/library/cpp/actors/interconnect/ut/lib/ya.make b/library/cpp/actors/interconnect/ut/lib/ya.make
new file mode 100644
index 0000000000..615c6a0e54
--- /dev/null
+++ b/library/cpp/actors/interconnect/ut/lib/ya.make
@@ -0,0 +1,10 @@
+LIBRARY()
+
+SRCS(
+ node.h
+ test_events.h
+ test_actors.h
+ ic_test_cluster.h
+)
+
+END()
diff --git a/library/cpp/actors/interconnect/ut/protos/ya.make b/library/cpp/actors/interconnect/ut/protos/ya.make
new file mode 100644
index 0000000000..a7ffcd6bd0
--- /dev/null
+++ b/library/cpp/actors/interconnect/ut/protos/ya.make
@@ -0,0 +1,9 @@
+PROTO_LIBRARY()
+
+SRCS(
+ interconnect_test.proto
+)
+
+EXCLUDE_TAGS(GO_PROTO)
+
+END()
diff --git a/library/cpp/actors/interconnect/ut/ya.make b/library/cpp/actors/interconnect/ut/ya.make
new file mode 100644
index 0000000000..d524fc69f0
--- /dev/null
+++ b/library/cpp/actors/interconnect/ut/ya.make
@@ -0,0 +1,32 @@
+UNITTEST()
+
+IF (SANITIZER_TYPE == "thread")
+ TIMEOUT(1200)
+ SIZE(LARGE)
+ TAG(ya:fat)
+ELSE()
+ TIMEOUT(600)
+ SIZE(MEDIUM)
+ENDIF()
+
+SRCS(
+ channel_scheduler_ut.cpp
+ event_holder_pool_ut.cpp
+ interconnect_ut.cpp
+ large.cpp
+ outgoing_stream_ut.cpp
+ poller_actor_ut.cpp
+ dynamic_proxy_ut.cpp
+)
+
+PEERDIR(
+ library/cpp/actors/core
+ library/cpp/actors/interconnect
+ library/cpp/actors/interconnect/ut/lib
+ library/cpp/actors/interconnect/ut/protos
+ library/cpp/actors/testlib
+ library/cpp/digest/md5
+ library/cpp/testing/unittest
+)
+
+END()
diff --git a/library/cpp/actors/interconnect/ut_fat/ya.make b/library/cpp/actors/interconnect/ut_fat/ya.make
new file mode 100644
index 0000000000..8361c5d9f7
--- /dev/null
+++ b/library/cpp/actors/interconnect/ut_fat/ya.make
@@ -0,0 +1,21 @@
+UNITTEST()
+
+SIZE(LARGE)
+
+TAG(ya:fat)
+
+SRCS(
+ main.cpp
+)
+
+PEERDIR(
+ library/cpp/actors/core
+ library/cpp/actors/interconnect
+ library/cpp/actors/interconnect/mock
+ library/cpp/actors/interconnect/ut/lib
+ library/cpp/actors/interconnect/ut/protos
+ library/cpp/testing/unittest
+ library/cpp/deprecated/atomic
+)
+
+END()
diff --git a/library/cpp/actors/interconnect/ut_huge_cluster/ya.make b/library/cpp/actors/interconnect/ut_huge_cluster/ya.make
new file mode 100644
index 0000000000..828783323d
--- /dev/null
+++ b/library/cpp/actors/interconnect/ut_huge_cluster/ya.make
@@ -0,0 +1,34 @@
+UNITTEST()
+
+IF (SANITIZER_TYPE OR WITH_VALGRIND)
+ TIMEOUT(3600)
+ SIZE(LARGE)
+ TAG(ya:fat)
+ELSE()
+ TIMEOUT(600)
+ SIZE(MEDIUM)
+ENDIF()
+
+IF (BUILD_TYPE == "RELEASE" OR BUILD_TYPE == "RELWITHDEBINFO")
+ SRCS(
+ huge_cluster.cpp
+ )
+ELSE ()
+ MESSAGE(WARNING "It takes too much time to run test in DEBUG mode, some tests are skipped")
+ENDIF ()
+
+PEERDIR(
+ library/cpp/actors/core
+ library/cpp/actors/interconnect
+ library/cpp/actors/interconnect/ut/lib
+ library/cpp/actors/interconnect/ut/protos
+ library/cpp/testing/unittest
+ library/cpp/actors/testlib
+)
+
+REQUIREMENTS(
+ cpu:4
+ ram:32
+)
+
+END()
diff --git a/library/cpp/actors/interconnect/ya.make b/library/cpp/actors/interconnect/ya.make
new file mode 100644
index 0000000000..11355c710c
--- /dev/null
+++ b/library/cpp/actors/interconnect/ya.make
@@ -0,0 +1,96 @@
+LIBRARY()
+
+NO_WSHADOW()
+
+IF (PROFILE_MEMORY_ALLOCATIONS)
+ CFLAGS(-DPROFILE_MEMORY_ALLOCATIONS)
+ENDIF()
+
+SRCS(
+ channel_scheduler.h
+ event_filter.h
+ event_holder_pool.h
+ events_local.h
+ interconnect_address.cpp
+ interconnect_address.h
+ interconnect_channel.cpp
+ interconnect_channel.h
+ interconnect_common.h
+ interconnect_counters.cpp
+ interconnect.h
+ interconnect_handshake.cpp
+ interconnect_handshake.h
+ interconnect_impl.h
+ interconnect_mon.cpp
+ interconnect_mon.h
+ interconnect_nameserver_dynamic.cpp
+ interconnect_nameserver_table.cpp
+ interconnect_proxy_wrapper.cpp
+ interconnect_proxy_wrapper.h
+ interconnect_resolve.cpp
+ interconnect_stream.cpp
+ interconnect_stream.h
+ interconnect_tcp_input_session.cpp
+ interconnect_tcp_proxy.cpp
+ interconnect_tcp_proxy.h
+ interconnect_tcp_server.cpp
+ interconnect_tcp_server.h
+ interconnect_tcp_session.cpp
+ interconnect_tcp_session.h
+ load.cpp
+ load.h
+ logging.h
+ packet.cpp
+ packet.h
+ poller_actor.cpp
+ poller_actor.h
+ poller.h
+ poller_tcp.cpp
+ poller_tcp.h
+ poller_tcp_unit.cpp
+ poller_tcp_unit.h
+ poller_tcp_unit_select.cpp
+ poller_tcp_unit_select.h
+ profiler.h
+ slowpoke_actor.h
+ types.cpp
+ types.h
+ watchdog_timer.h
+)
+
+IF (OS_LINUX)
+ SRCS(
+ poller_tcp_unit_epoll.cpp
+ poller_tcp_unit_epoll.h
+ )
+ENDIF()
+
+PEERDIR(
+ contrib/libs/libc_compat
+ contrib/libs/openssl
+ contrib/libs/xxhash
+ library/cpp/actors/core
+ library/cpp/actors/dnscachelib
+ library/cpp/actors/dnsresolver
+ library/cpp/actors/helpers
+ library/cpp/actors/prof
+ library/cpp/actors/protos
+ library/cpp/actors/util
+ library/cpp/actors/wilson
+ library/cpp/digest/crc32c
+ library/cpp/json
+ library/cpp/lwtrace
+ library/cpp/monlib/dynamic_counters
+ library/cpp/monlib/metrics
+ library/cpp/monlib/service/pages/tablesorter
+ library/cpp/openssl/init
+ library/cpp/packedtypes
+)
+
+END()
+
+RECURSE_FOR_TESTS(
+ ut
+ ut_fat
+ ut_huge_cluster
+)
diff --git a/library/cpp/actors/log_backend/ya.make b/library/cpp/actors/log_backend/ya.make
new file mode 100644
index 0000000000..ce9f049e9a
--- /dev/null
+++ b/library/cpp/actors/log_backend/ya.make
@@ -0,0 +1,12 @@
+LIBRARY()
+
+PEERDIR(
+ library/cpp/actors/core
+ library/cpp/logger
+)
+
+SRCS(
+ actor_log_backend.cpp
+)
+
+END()
diff --git a/library/cpp/actors/memory_log/ya.make b/library/cpp/actors/memory_log/ya.make
new file mode 100644
index 0000000000..ae766a5464
--- /dev/null
+++ b/library/cpp/actors/memory_log/ya.make
@@ -0,0 +1,15 @@
+LIBRARY()
+
+SRCS(
+ memlog.cpp
+ memlog.h
+ mmap.cpp
+)
+
+PEERDIR(
+ library/cpp/threading/queue
+ contrib/libs/linuxvdso
+ library/cpp/deprecated/atomic
+)
+
+END()
diff --git a/library/cpp/actors/prof/ut/ya.make b/library/cpp/actors/prof/ut/ya.make
new file mode 100644
index 0000000000..e439856698
--- /dev/null
+++ b/library/cpp/actors/prof/ut/ya.make
@@ -0,0 +1,7 @@
+UNITTEST_FOR(library/cpp/actors/prof)
+
+SRCS(
+ tag_ut.cpp
+)
+
+END()
diff --git a/library/cpp/actors/prof/ya.make b/library/cpp/actors/prof/ya.make
new file mode 100644
index 0000000000..ca29f6cf39
--- /dev/null
+++ b/library/cpp/actors/prof/ya.make
@@ -0,0 +1,27 @@
+LIBRARY()
+
+SRCS(
+ tag.cpp
+ tcmalloc.cpp
+)
+
+PEERDIR(
+ contrib/libs/tcmalloc/malloc_extension
+ library/cpp/charset
+ library/cpp/containers/atomizer
+)
+
+IF (PROFILE_MEMORY_ALLOCATIONS)
+ CFLAGS(-DPROFILE_MEMORY_ALLOCATIONS)
+ PEERDIR(
+ library/cpp/malloc/api
+ library/cpp/lfalloc/dbg_info
+ library/cpp/ytalloc/api
+ )
+ENDIF()
+
+END()
+
+RECURSE_FOR_TESTS(
+ ut
+)
diff --git a/library/cpp/actors/protos/ya.make b/library/cpp/actors/protos/ya.make
new file mode 100644
index 0000000000..c9139191ec
--- /dev/null
+++ b/library/cpp/actors/protos/ya.make
@@ -0,0 +1,12 @@
+PROTO_LIBRARY()
+
+SRCS(
+ actors.proto
+ interconnect.proto
+ services_common.proto
+ unittests.proto
+)
+
+EXCLUDE_TAGS(GO_PROTO)
+
+END()
diff --git a/library/cpp/actors/testlib/ut/ya.make b/library/cpp/actors/testlib/ut/ya.make
new file mode 100644
index 0000000000..ea6aef37a6
--- /dev/null
+++ b/library/cpp/actors/testlib/ut/ya.make
@@ -0,0 +1,15 @@
+UNITTEST_FOR(library/cpp/actors/testlib)
+
+FORK_SUBTESTS()
+SIZE(SMALL)
+
+
+PEERDIR(
+ library/cpp/actors/core
+)
+
+SRCS(
+ decorator_ut.cpp
+)
+
+END()
diff --git a/library/cpp/actors/testlib/ya.make b/library/cpp/actors/testlib/ya.make
new file mode 100644
index 0000000000..0bd44ddd57
--- /dev/null
+++ b/library/cpp/actors/testlib/ya.make
@@ -0,0 +1,23 @@
+LIBRARY()
+
+SRCS(
+ test_runtime.cpp
+)
+
+PEERDIR(
+ library/cpp/actors/core
+ library/cpp/actors/interconnect/mock
+ library/cpp/actors/protos
+ library/cpp/random_provider
+ library/cpp/time_provider
+)
+
+IF (GCC)
+ CFLAGS(-fno-devirtualize-speculatively)
+ENDIF()
+
+END()
+
+RECURSE_FOR_TESTS(
+ ut
+)
diff --git a/library/cpp/actors/util/ut/ya.make b/library/cpp/actors/util/ut/ya.make
new file mode 100644
index 0000000000..9ac8504751
--- /dev/null
+++ b/library/cpp/actors/util/ut/ya.make
@@ -0,0 +1,20 @@
+UNITTEST_FOR(library/cpp/actors/util)
+
+IF (WITH_VALGRIND)
+ TIMEOUT(600)
+ SIZE(MEDIUM)
+ENDIF()
+
+SRCS(
+ cpu_load_log_ut.cpp
+ memory_tracker_ut.cpp
+ thread_load_log_ut.cpp
+ rope_ut.cpp
+ rc_buf_ut.cpp
+ shared_data_ut.cpp
+ shared_data_rope_backend_ut.cpp
+ shared_data_native_rope_backend_ut.cpp
+ unordered_cache_ut.cpp
+)
+
+END()
diff --git a/library/cpp/actors/util/ya.make b/library/cpp/actors/util/ya.make
new file mode 100644
index 0000000000..6dfc0e97a8
--- /dev/null
+++ b/library/cpp/actors/util/ya.make
@@ -0,0 +1,47 @@
+LIBRARY()
+
+SRCS(
+ affinity.cpp
+ affinity.h
+ cpu_load_log.h
+ cpumask.h
+ datetime.h
+ defs.h
+ funnel_queue.h
+ futex.h
+ intrinsics.h
+ local_process_key.h
+ named_tuple.h
+ queue_chunk.h
+ queue_oneone_inplace.h
+ memory_track.cpp
+ memory_track.h
+ memory_tracker.cpp
+ memory_tracker.h
+ recentwnd.h
+ rope.h
+ rc_buf.h
+ shared_data.h
+ shared_data.cpp
+ shared_data_rope_backend.h
+ should_continue.cpp
+ should_continue.h
+ thread.h
+ threadparkpad.cpp
+ threadparkpad.h
+ thread_load_log.h
+ ticket_lock.h
+ timerfd.h
+ unordered_cache.h
+)
+
+PEERDIR(
+ library/cpp/deprecated/atomic
+ library/cpp/pop_count
+)
+
+END()
+
+RECURSE_FOR_TESTS(
+ ut
+)
diff --git a/library/cpp/actors/wilson/protos/ya.make b/library/cpp/actors/wilson/protos/ya.make
new file mode 100644
index 0000000000..9a756e8da0
--- /dev/null
+++ b/library/cpp/actors/wilson/protos/ya.make
@@ -0,0 +1,17 @@
+PROTO_LIBRARY()
+
+ GRPC()
+
+ SRCS(
+ common.proto
+ resource.proto
+ service.proto
+ trace.proto
+ )
+
+ EXCLUDE_TAGS(
+ GO_PROTO
+ JAVA_PROTO
+ )
+
+END()
diff --git a/library/cpp/actors/wilson/ya.make b/library/cpp/actors/wilson/ya.make
new file mode 100644
index 0000000000..0dc8ba79ad
--- /dev/null
+++ b/library/cpp/actors/wilson/ya.make
@@ -0,0 +1,21 @@
+LIBRARY()
+
+SRCS(
+ wilson_event.cpp
+ wilson_span.cpp
+ wilson_profile_span.cpp
+ wilson_trace.cpp
+ wilson_uploader.cpp
+)
+
+PEERDIR(
+ library/cpp/actors/core
+ library/cpp/actors/protos
+ library/cpp/actors/wilson/protos
+)
+
+END()
+
+RECURSE(
+ protos
+)
diff --git a/library/cpp/actors/ya.make b/library/cpp/actors/ya.make
new file mode 100644
index 0000000000..2612c414cd
--- /dev/null
+++ b/library/cpp/actors/ya.make
@@ -0,0 +1,15 @@
+RECURSE(
+ log_backend
+ core
+ dnsresolver
+ examples
+ interconnect
+ memory_log
+ helpers
+ prof
+ protos
+ util
+ wilson
+ testlib
+ http
+)