aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/actors
diff options
context:
space:
mode:
authorthegeorg <thegeorg@yandex-team.com>2022-12-15 19:25:15 +0300
committerthegeorg <thegeorg@yandex-team.com>2022-12-15 19:25:15 +0300
commit0c31d97afd7858af5f8f858c8addf91655ca9ccc (patch)
tree4d8a246db168f7beaafcd06d486c034115c2123d /library/cpp/actors
parentd1d5f5e00df0dd6efc00880dd8283477fc643aaf (diff)
downloadydb-0c31d97afd7858af5f8f858c8addf91655ca9ccc.tar.gz
Sync linux-headers instead of using system ones
Diffstat (limited to 'library/cpp/actors')
-rw-r--r--library/cpp/actors/core/CMakeLists.darwin.txt74
-rw-r--r--library/cpp/actors/core/CMakeLists.linux-aarch64.txt75
-rw-r--r--library/cpp/actors/core/CMakeLists.linux.txt75
-rw-r--r--library/cpp/actors/core/CMakeLists.txt73
-rw-r--r--library/cpp/actors/dnscachelib/CMakeLists.darwin.txt22
-rw-r--r--library/cpp/actors/dnscachelib/CMakeLists.linux-aarch64.txt23
-rw-r--r--library/cpp/actors/dnscachelib/CMakeLists.linux.txt23
-rw-r--r--library/cpp/actors/dnscachelib/CMakeLists.txt21
-rw-r--r--library/cpp/actors/dnsresolver/CMakeLists.darwin.txt25
-rw-r--r--library/cpp/actors/dnsresolver/CMakeLists.linux-aarch64.txt26
-rw-r--r--library/cpp/actors/dnsresolver/CMakeLists.linux.txt26
-rw-r--r--library/cpp/actors/dnsresolver/CMakeLists.txt24
-rw-r--r--library/cpp/actors/helpers/CMakeLists.darwin.txt21
-rw-r--r--library/cpp/actors/helpers/CMakeLists.linux-aarch64.txt22
-rw-r--r--library/cpp/actors/helpers/CMakeLists.linux.txt22
-rw-r--r--library/cpp/actors/helpers/CMakeLists.txt20
-rw-r--r--library/cpp/actors/http/CMakeLists.darwin.txt33
-rw-r--r--library/cpp/actors/http/CMakeLists.linux-aarch64.txt34
-rw-r--r--library/cpp/actors/http/CMakeLists.linux.txt34
-rw-r--r--library/cpp/actors/http/CMakeLists.txt32
-rw-r--r--library/cpp/actors/interconnect/CMakeLists.linux-aarch64.txt1
-rw-r--r--library/cpp/actors/interconnect/CMakeLists.linux.txt1
-rw-r--r--library/cpp/actors/interconnect/mock/CMakeLists.darwin.txt18
-rw-r--r--library/cpp/actors/interconnect/mock/CMakeLists.linux-aarch64.txt19
-rw-r--r--library/cpp/actors/interconnect/mock/CMakeLists.linux.txt19
-rw-r--r--library/cpp/actors/interconnect/mock/CMakeLists.txt17
-rw-r--r--library/cpp/actors/memory_log/CMakeLists.darwin.txt21
-rw-r--r--library/cpp/actors/memory_log/CMakeLists.linux-aarch64.txt22
-rw-r--r--library/cpp/actors/memory_log/CMakeLists.linux.txt22
-rw-r--r--library/cpp/actors/memory_log/CMakeLists.txt20
-rw-r--r--library/cpp/actors/prof/CMakeLists.darwin.txt21
-rw-r--r--library/cpp/actors/prof/CMakeLists.linux-aarch64.txt22
-rw-r--r--library/cpp/actors/prof/CMakeLists.linux.txt22
-rw-r--r--library/cpp/actors/prof/CMakeLists.txt20
-rw-r--r--library/cpp/actors/protos/CMakeLists.darwin.txt34
-rw-r--r--library/cpp/actors/protos/CMakeLists.linux-aarch64.txt35
-rw-r--r--library/cpp/actors/protos/CMakeLists.linux.txt35
-rw-r--r--library/cpp/actors/protos/CMakeLists.txt33
-rw-r--r--library/cpp/actors/testlib/CMakeLists.darwin.txt22
-rw-r--r--library/cpp/actors/testlib/CMakeLists.linux-aarch64.txt23
-rw-r--r--library/cpp/actors/testlib/CMakeLists.linux.txt23
-rw-r--r--library/cpp/actors/testlib/CMakeLists.txt21
-rw-r--r--library/cpp/actors/util/CMakeLists.darwin.txt24
-rw-r--r--library/cpp/actors/util/CMakeLists.linux-aarch64.txt25
-rw-r--r--library/cpp/actors/util/CMakeLists.linux.txt25
-rw-r--r--library/cpp/actors/util/CMakeLists.txt23
-rw-r--r--library/cpp/actors/wilson/CMakeLists.darwin.txt25
-rw-r--r--library/cpp/actors/wilson/CMakeLists.linux-aarch64.txt26
-rw-r--r--library/cpp/actors/wilson/CMakeLists.linux.txt26
-rw-r--r--library/cpp/actors/wilson/CMakeLists.txt24
-rw-r--r--library/cpp/actors/wilson/protos/CMakeLists.darwin.txt42
-rw-r--r--library/cpp/actors/wilson/protos/CMakeLists.linux-aarch64.txt43
-rw-r--r--library/cpp/actors/wilson/protos/CMakeLists.linux.txt43
-rw-r--r--library/cpp/actors/wilson/protos/CMakeLists.txt41
54 files changed, 1265 insertions, 278 deletions
diff --git a/library/cpp/actors/core/CMakeLists.darwin.txt b/library/cpp/actors/core/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..7bbf9297c2
--- /dev/null
+++ b/library/cpp/actors/core/CMakeLists.darwin.txt
@@ -0,0 +1,74 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-actors-core)
+target_link_libraries(cpp-actors-core PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ tools-enum_parser-enum_serialization_runtime
+ cpp-actors-memory_log
+ cpp-actors-prof
+ cpp-actors-protos
+ cpp-actors-util
+ library-cpp-execprofile
+ cpp-json-writer
+ library-cpp-logger
+ library-cpp-lwtrace
+ cpp-monlib-dynamic_counters
+ library-cpp-svnversion
+ library-cpp-time_provider
+ cpp-threading-future
+)
+target_sources(cpp-actors-core PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/actor_bootstrapped.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/actor_coroutine.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/actor.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/actor_virtual.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/actorid.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/actorsystem.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/ask.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/av_bootstrapped.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/balancer.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/buffer.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/callstack.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/cpu_manager.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/event.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/event_pb.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/events_undelivered.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/executor_pool_base.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/executor_pool_basic.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/executor_pool_io.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/executor_pool_united.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/executor_thread.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/harmonizer.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/interconnect.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/io_dispatcher.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/log.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/log_settings.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/log_buffer.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/mailbox.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/monotonic.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/monotonic_provider.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/worker_context.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/probes.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/process_stats.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/scheduler_actor.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/scheduler_basic.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/scheduler_cookie.cpp
+)
+generate_enum_serilization(cpp-actors-core
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/defs.h
+ INCLUDE_HEADERS
+ library/cpp/actors/core/defs.h
+)
+generate_enum_serilization(cpp-actors-core
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/actor.h
+ INCLUDE_HEADERS
+ library/cpp/actors/core/actor.h
+)
diff --git a/library/cpp/actors/core/CMakeLists.linux-aarch64.txt b/library/cpp/actors/core/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..54c3427d28
--- /dev/null
+++ b/library/cpp/actors/core/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,75 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-actors-core)
+target_link_libraries(cpp-actors-core PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ tools-enum_parser-enum_serialization_runtime
+ cpp-actors-memory_log
+ cpp-actors-prof
+ cpp-actors-protos
+ cpp-actors-util
+ library-cpp-execprofile
+ cpp-json-writer
+ library-cpp-logger
+ library-cpp-lwtrace
+ cpp-monlib-dynamic_counters
+ library-cpp-svnversion
+ library-cpp-time_provider
+ cpp-threading-future
+)
+target_sources(cpp-actors-core PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/actor_bootstrapped.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/actor_coroutine.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/actor.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/actor_virtual.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/actorid.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/actorsystem.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/ask.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/av_bootstrapped.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/balancer.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/buffer.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/callstack.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/cpu_manager.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/event.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/event_pb.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/events_undelivered.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/executor_pool_base.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/executor_pool_basic.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/executor_pool_io.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/executor_pool_united.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/executor_thread.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/harmonizer.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/interconnect.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/io_dispatcher.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/log.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/log_settings.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/log_buffer.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/mailbox.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/monotonic.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/monotonic_provider.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/worker_context.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/probes.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/process_stats.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/scheduler_actor.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/scheduler_basic.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/scheduler_cookie.cpp
+)
+generate_enum_serilization(cpp-actors-core
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/defs.h
+ INCLUDE_HEADERS
+ library/cpp/actors/core/defs.h
+)
+generate_enum_serilization(cpp-actors-core
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/actor.h
+ INCLUDE_HEADERS
+ library/cpp/actors/core/actor.h
+)
diff --git a/library/cpp/actors/core/CMakeLists.linux.txt b/library/cpp/actors/core/CMakeLists.linux.txt
new file mode 100644
index 0000000000..54c3427d28
--- /dev/null
+++ b/library/cpp/actors/core/CMakeLists.linux.txt
@@ -0,0 +1,75 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-actors-core)
+target_link_libraries(cpp-actors-core PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ tools-enum_parser-enum_serialization_runtime
+ cpp-actors-memory_log
+ cpp-actors-prof
+ cpp-actors-protos
+ cpp-actors-util
+ library-cpp-execprofile
+ cpp-json-writer
+ library-cpp-logger
+ library-cpp-lwtrace
+ cpp-monlib-dynamic_counters
+ library-cpp-svnversion
+ library-cpp-time_provider
+ cpp-threading-future
+)
+target_sources(cpp-actors-core PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/actor_bootstrapped.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/actor_coroutine.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/actor.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/actor_virtual.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/actorid.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/actorsystem.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/ask.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/av_bootstrapped.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/balancer.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/buffer.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/callstack.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/cpu_manager.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/event.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/event_pb.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/events_undelivered.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/executor_pool_base.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/executor_pool_basic.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/executor_pool_io.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/executor_pool_united.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/executor_thread.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/harmonizer.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/interconnect.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/io_dispatcher.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/log.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/log_settings.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/log_buffer.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/mailbox.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/monotonic.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/monotonic_provider.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/worker_context.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/probes.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/process_stats.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/scheduler_actor.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/scheduler_basic.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/scheduler_cookie.cpp
+)
+generate_enum_serilization(cpp-actors-core
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/defs.h
+ INCLUDE_HEADERS
+ library/cpp/actors/core/defs.h
+)
+generate_enum_serilization(cpp-actors-core
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/actor.h
+ INCLUDE_HEADERS
+ library/cpp/actors/core/actor.h
+)
diff --git a/library/cpp/actors/core/CMakeLists.txt b/library/cpp/actors/core/CMakeLists.txt
index 7bbf9297c2..3e0811fb22 100644
--- a/library/cpp/actors/core/CMakeLists.txt
+++ b/library/cpp/actors/core/CMakeLists.txt
@@ -6,69 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-actors-core)
-target_link_libraries(cpp-actors-core PUBLIC
- contrib-libs-cxxsupp
- yutil
- tools-enum_parser-enum_serialization_runtime
- cpp-actors-memory_log
- cpp-actors-prof
- cpp-actors-protos
- cpp-actors-util
- library-cpp-execprofile
- cpp-json-writer
- library-cpp-logger
- library-cpp-lwtrace
- cpp-monlib-dynamic_counters
- library-cpp-svnversion
- library-cpp-time_provider
- cpp-threading-future
-)
-target_sources(cpp-actors-core PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/actor_bootstrapped.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/actor_coroutine.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/actor.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/actor_virtual.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/actorid.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/actorsystem.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/ask.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/av_bootstrapped.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/balancer.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/buffer.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/callstack.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/cpu_manager.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/event.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/event_pb.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/events_undelivered.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/executor_pool_base.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/executor_pool_basic.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/executor_pool_io.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/executor_pool_united.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/executor_thread.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/harmonizer.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/interconnect.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/io_dispatcher.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/log.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/log_settings.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/log_buffer.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/mailbox.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/monotonic.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/monotonic_provider.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/worker_context.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/probes.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/process_stats.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/scheduler_actor.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/scheduler_basic.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/scheduler_cookie.cpp
-)
-generate_enum_serilization(cpp-actors-core
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/defs.h
- INCLUDE_HEADERS
- library/cpp/actors/core/defs.h
-)
-generate_enum_serilization(cpp-actors-core
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/core/actor.h
- INCLUDE_HEADERS
- library/cpp/actors/core/actor.h
-)
+if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT ANDROID)
+ include(CMakeLists.linux-aarch64.txt)
+elseif (APPLE)
+ include(CMakeLists.darwin.txt)
+elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID)
+ include(CMakeLists.linux.txt)
+endif()
diff --git a/library/cpp/actors/dnscachelib/CMakeLists.darwin.txt b/library/cpp/actors/dnscachelib/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..63e3450fa2
--- /dev/null
+++ b/library/cpp/actors/dnscachelib/CMakeLists.darwin.txt
@@ -0,0 +1,22 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+find_package(c-ares REQUIRED)
+
+add_library(cpp-actors-dnscachelib)
+target_link_libraries(cpp-actors-dnscachelib PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ c-ares::c-ares
+ library-cpp-lwtrace
+ cpp-deprecated-atomic
+)
+target_sources(cpp-actors-dnscachelib PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/dnscachelib/dnscache.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/dnscachelib/probes.cpp
+)
diff --git a/library/cpp/actors/dnscachelib/CMakeLists.linux-aarch64.txt b/library/cpp/actors/dnscachelib/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..9f29adc7bc
--- /dev/null
+++ b/library/cpp/actors/dnscachelib/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,23 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+find_package(c-ares REQUIRED)
+
+add_library(cpp-actors-dnscachelib)
+target_link_libraries(cpp-actors-dnscachelib PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ c-ares::c-ares
+ library-cpp-lwtrace
+ cpp-deprecated-atomic
+)
+target_sources(cpp-actors-dnscachelib PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/dnscachelib/dnscache.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/dnscachelib/probes.cpp
+)
diff --git a/library/cpp/actors/dnscachelib/CMakeLists.linux.txt b/library/cpp/actors/dnscachelib/CMakeLists.linux.txt
new file mode 100644
index 0000000000..9f29adc7bc
--- /dev/null
+++ b/library/cpp/actors/dnscachelib/CMakeLists.linux.txt
@@ -0,0 +1,23 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+find_package(c-ares REQUIRED)
+
+add_library(cpp-actors-dnscachelib)
+target_link_libraries(cpp-actors-dnscachelib PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ c-ares::c-ares
+ library-cpp-lwtrace
+ cpp-deprecated-atomic
+)
+target_sources(cpp-actors-dnscachelib PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/dnscachelib/dnscache.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/dnscachelib/probes.cpp
+)
diff --git a/library/cpp/actors/dnscachelib/CMakeLists.txt b/library/cpp/actors/dnscachelib/CMakeLists.txt
index 63e3450fa2..3e0811fb22 100644
--- a/library/cpp/actors/dnscachelib/CMakeLists.txt
+++ b/library/cpp/actors/dnscachelib/CMakeLists.txt
@@ -6,17 +6,10 @@
# original buildsystem will not be accepted.
-find_package(c-ares REQUIRED)
-
-add_library(cpp-actors-dnscachelib)
-target_link_libraries(cpp-actors-dnscachelib PUBLIC
- contrib-libs-cxxsupp
- yutil
- c-ares::c-ares
- library-cpp-lwtrace
- cpp-deprecated-atomic
-)
-target_sources(cpp-actors-dnscachelib PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/dnscachelib/dnscache.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/dnscachelib/probes.cpp
-)
+if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT ANDROID)
+ include(CMakeLists.linux-aarch64.txt)
+elseif (APPLE)
+ include(CMakeLists.darwin.txt)
+elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID)
+ include(CMakeLists.linux.txt)
+endif()
diff --git a/library/cpp/actors/dnsresolver/CMakeLists.darwin.txt b/library/cpp/actors/dnsresolver/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..f4a0909db2
--- /dev/null
+++ b/library/cpp/actors/dnsresolver/CMakeLists.darwin.txt
@@ -0,0 +1,25 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+find_package(c-ares REQUIRED)
+
+add_library(cpp-actors-dnsresolver)
+target_include_directories(cpp-actors-dnsresolver PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/libs/c-ares/include
+)
+target_link_libraries(cpp-actors-dnsresolver PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ cpp-actors-core
+ c-ares::c-ares
+)
+target_sources(cpp-actors-dnsresolver PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/dnsresolver/dnsresolver.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/dnsresolver/dnsresolver_caching.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/dnsresolver/dnsresolver_ondemand.cpp
+)
diff --git a/library/cpp/actors/dnsresolver/CMakeLists.linux-aarch64.txt b/library/cpp/actors/dnsresolver/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..7e622c1693
--- /dev/null
+++ b/library/cpp/actors/dnsresolver/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,26 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+find_package(c-ares REQUIRED)
+
+add_library(cpp-actors-dnsresolver)
+target_include_directories(cpp-actors-dnsresolver PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/libs/c-ares/include
+)
+target_link_libraries(cpp-actors-dnsresolver PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-actors-core
+ c-ares::c-ares
+)
+target_sources(cpp-actors-dnsresolver PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/dnsresolver/dnsresolver.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/dnsresolver/dnsresolver_caching.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/dnsresolver/dnsresolver_ondemand.cpp
+)
diff --git a/library/cpp/actors/dnsresolver/CMakeLists.linux.txt b/library/cpp/actors/dnsresolver/CMakeLists.linux.txt
new file mode 100644
index 0000000000..7e622c1693
--- /dev/null
+++ b/library/cpp/actors/dnsresolver/CMakeLists.linux.txt
@@ -0,0 +1,26 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+find_package(c-ares REQUIRED)
+
+add_library(cpp-actors-dnsresolver)
+target_include_directories(cpp-actors-dnsresolver PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/libs/c-ares/include
+)
+target_link_libraries(cpp-actors-dnsresolver PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-actors-core
+ c-ares::c-ares
+)
+target_sources(cpp-actors-dnsresolver PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/dnsresolver/dnsresolver.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/dnsresolver/dnsresolver_caching.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/dnsresolver/dnsresolver_ondemand.cpp
+)
diff --git a/library/cpp/actors/dnsresolver/CMakeLists.txt b/library/cpp/actors/dnsresolver/CMakeLists.txt
index f4a0909db2..3e0811fb22 100644
--- a/library/cpp/actors/dnsresolver/CMakeLists.txt
+++ b/library/cpp/actors/dnsresolver/CMakeLists.txt
@@ -6,20 +6,10 @@
# original buildsystem will not be accepted.
-find_package(c-ares REQUIRED)
-
-add_library(cpp-actors-dnsresolver)
-target_include_directories(cpp-actors-dnsresolver PRIVATE
- ${CMAKE_SOURCE_DIR}/contrib/libs/c-ares/include
-)
-target_link_libraries(cpp-actors-dnsresolver PUBLIC
- contrib-libs-cxxsupp
- yutil
- cpp-actors-core
- c-ares::c-ares
-)
-target_sources(cpp-actors-dnsresolver PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/dnsresolver/dnsresolver.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/dnsresolver/dnsresolver_caching.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/dnsresolver/dnsresolver_ondemand.cpp
-)
+if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT ANDROID)
+ include(CMakeLists.linux-aarch64.txt)
+elseif (APPLE)
+ include(CMakeLists.darwin.txt)
+elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID)
+ include(CMakeLists.linux.txt)
+endif()
diff --git a/library/cpp/actors/helpers/CMakeLists.darwin.txt b/library/cpp/actors/helpers/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..a9e3e369eb
--- /dev/null
+++ b/library/cpp/actors/helpers/CMakeLists.darwin.txt
@@ -0,0 +1,21 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-actors-helpers)
+target_link_libraries(cpp-actors-helpers PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ cpp-actors-core
+ cpp-monlib-dynamic_counters
+)
+target_sources(cpp-actors-helpers PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/helpers/activeactors.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/helpers/flow_controlled_queue.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/helpers/selfping_actor.cpp
+)
diff --git a/library/cpp/actors/helpers/CMakeLists.linux-aarch64.txt b/library/cpp/actors/helpers/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..52ef906f05
--- /dev/null
+++ b/library/cpp/actors/helpers/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,22 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-actors-helpers)
+target_link_libraries(cpp-actors-helpers PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-actors-core
+ cpp-monlib-dynamic_counters
+)
+target_sources(cpp-actors-helpers PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/helpers/activeactors.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/helpers/flow_controlled_queue.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/helpers/selfping_actor.cpp
+)
diff --git a/library/cpp/actors/helpers/CMakeLists.linux.txt b/library/cpp/actors/helpers/CMakeLists.linux.txt
new file mode 100644
index 0000000000..52ef906f05
--- /dev/null
+++ b/library/cpp/actors/helpers/CMakeLists.linux.txt
@@ -0,0 +1,22 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-actors-helpers)
+target_link_libraries(cpp-actors-helpers PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-actors-core
+ cpp-monlib-dynamic_counters
+)
+target_sources(cpp-actors-helpers PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/helpers/activeactors.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/helpers/flow_controlled_queue.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/helpers/selfping_actor.cpp
+)
diff --git a/library/cpp/actors/helpers/CMakeLists.txt b/library/cpp/actors/helpers/CMakeLists.txt
index a9e3e369eb..3e0811fb22 100644
--- a/library/cpp/actors/helpers/CMakeLists.txt
+++ b/library/cpp/actors/helpers/CMakeLists.txt
@@ -6,16 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-actors-helpers)
-target_link_libraries(cpp-actors-helpers PUBLIC
- contrib-libs-cxxsupp
- yutil
- cpp-actors-core
- cpp-monlib-dynamic_counters
-)
-target_sources(cpp-actors-helpers PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/helpers/activeactors.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/helpers/flow_controlled_queue.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/helpers/selfping_actor.cpp
-)
+if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT ANDROID)
+ include(CMakeLists.linux-aarch64.txt)
+elseif (APPLE)
+ include(CMakeLists.darwin.txt)
+elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID)
+ include(CMakeLists.linux.txt)
+endif()
diff --git a/library/cpp/actors/http/CMakeLists.darwin.txt b/library/cpp/actors/http/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..277ffc4560
--- /dev/null
+++ b/library/cpp/actors/http/CMakeLists.darwin.txt
@@ -0,0 +1,33 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+find_package(OpenSSL REQUIRED)
+find_package(ZLIB REQUIRED)
+
+add_library(cpp-actors-http)
+target_link_libraries(cpp-actors-http PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ OpenSSL::OpenSSL
+ ZLIB::ZLIB
+ cpp-actors-core
+ cpp-actors-interconnect
+ library-cpp-dns
+ cpp-monlib-metrics
+ cpp-string_utils-quote
+)
+target_sources(cpp-actors-http PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/http/http_cache.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/http/http_compress.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/http/http_proxy_acceptor.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/http/http_proxy_incoming.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/http/http_proxy_outgoing.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/http/http_proxy.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/http/http_static.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/http/http.cpp
+)
diff --git a/library/cpp/actors/http/CMakeLists.linux-aarch64.txt b/library/cpp/actors/http/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..66011d9355
--- /dev/null
+++ b/library/cpp/actors/http/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,34 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+find_package(OpenSSL REQUIRED)
+find_package(ZLIB REQUIRED)
+
+add_library(cpp-actors-http)
+target_link_libraries(cpp-actors-http PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ OpenSSL::OpenSSL
+ ZLIB::ZLIB
+ cpp-actors-core
+ cpp-actors-interconnect
+ library-cpp-dns
+ cpp-monlib-metrics
+ cpp-string_utils-quote
+)
+target_sources(cpp-actors-http PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/http/http_cache.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/http/http_compress.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/http/http_proxy_acceptor.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/http/http_proxy_incoming.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/http/http_proxy_outgoing.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/http/http_proxy.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/http/http_static.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/http/http.cpp
+)
diff --git a/library/cpp/actors/http/CMakeLists.linux.txt b/library/cpp/actors/http/CMakeLists.linux.txt
new file mode 100644
index 0000000000..66011d9355
--- /dev/null
+++ b/library/cpp/actors/http/CMakeLists.linux.txt
@@ -0,0 +1,34 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+find_package(OpenSSL REQUIRED)
+find_package(ZLIB REQUIRED)
+
+add_library(cpp-actors-http)
+target_link_libraries(cpp-actors-http PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ OpenSSL::OpenSSL
+ ZLIB::ZLIB
+ cpp-actors-core
+ cpp-actors-interconnect
+ library-cpp-dns
+ cpp-monlib-metrics
+ cpp-string_utils-quote
+)
+target_sources(cpp-actors-http PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/http/http_cache.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/http/http_compress.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/http/http_proxy_acceptor.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/http/http_proxy_incoming.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/http/http_proxy_outgoing.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/http/http_proxy.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/http/http_static.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/http/http.cpp
+)
diff --git a/library/cpp/actors/http/CMakeLists.txt b/library/cpp/actors/http/CMakeLists.txt
index 277ffc4560..3e0811fb22 100644
--- a/library/cpp/actors/http/CMakeLists.txt
+++ b/library/cpp/actors/http/CMakeLists.txt
@@ -6,28 +6,10 @@
# original buildsystem will not be accepted.
-find_package(OpenSSL REQUIRED)
-find_package(ZLIB REQUIRED)
-
-add_library(cpp-actors-http)
-target_link_libraries(cpp-actors-http PUBLIC
- contrib-libs-cxxsupp
- yutil
- OpenSSL::OpenSSL
- ZLIB::ZLIB
- cpp-actors-core
- cpp-actors-interconnect
- library-cpp-dns
- cpp-monlib-metrics
- cpp-string_utils-quote
-)
-target_sources(cpp-actors-http PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/http/http_cache.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/http/http_compress.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/http/http_proxy_acceptor.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/http/http_proxy_incoming.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/http/http_proxy_outgoing.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/http/http_proxy.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/http/http_static.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/http/http.cpp
-)
+if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT ANDROID)
+ include(CMakeLists.linux-aarch64.txt)
+elseif (APPLE)
+ include(CMakeLists.darwin.txt)
+elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID)
+ include(CMakeLists.linux.txt)
+endif()
diff --git a/library/cpp/actors/interconnect/CMakeLists.linux-aarch64.txt b/library/cpp/actors/interconnect/CMakeLists.linux-aarch64.txt
index 94a7bda34d..b5201f16a0 100644
--- a/library/cpp/actors/interconnect/CMakeLists.linux-aarch64.txt
+++ b/library/cpp/actors/interconnect/CMakeLists.linux-aarch64.txt
@@ -11,6 +11,7 @@ add_subdirectory(mock)
add_library(cpp-actors-interconnect)
target_link_libraries(cpp-actors-interconnect PUBLIC
+ contrib-libs-linux-headers
contrib-libs-cxxsupp
yutil
contrib-libs-libc_compat
diff --git a/library/cpp/actors/interconnect/CMakeLists.linux.txt b/library/cpp/actors/interconnect/CMakeLists.linux.txt
index 94a7bda34d..b5201f16a0 100644
--- a/library/cpp/actors/interconnect/CMakeLists.linux.txt
+++ b/library/cpp/actors/interconnect/CMakeLists.linux.txt
@@ -11,6 +11,7 @@ add_subdirectory(mock)
add_library(cpp-actors-interconnect)
target_link_libraries(cpp-actors-interconnect PUBLIC
+ contrib-libs-linux-headers
contrib-libs-cxxsupp
yutil
contrib-libs-libc_compat
diff --git a/library/cpp/actors/interconnect/mock/CMakeLists.darwin.txt b/library/cpp/actors/interconnect/mock/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..13db21524e
--- /dev/null
+++ b/library/cpp/actors/interconnect/mock/CMakeLists.darwin.txt
@@ -0,0 +1,18 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(actors-interconnect-mock)
+target_link_libraries(actors-interconnect-mock PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ cpp-actors-interconnect
+)
+target_sources(actors-interconnect-mock PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/mock/ic_mock.cpp
+)
diff --git a/library/cpp/actors/interconnect/mock/CMakeLists.linux-aarch64.txt b/library/cpp/actors/interconnect/mock/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..e86545f9c2
--- /dev/null
+++ b/library/cpp/actors/interconnect/mock/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,19 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(actors-interconnect-mock)
+target_link_libraries(actors-interconnect-mock PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-actors-interconnect
+)
+target_sources(actors-interconnect-mock PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/mock/ic_mock.cpp
+)
diff --git a/library/cpp/actors/interconnect/mock/CMakeLists.linux.txt b/library/cpp/actors/interconnect/mock/CMakeLists.linux.txt
new file mode 100644
index 0000000000..e86545f9c2
--- /dev/null
+++ b/library/cpp/actors/interconnect/mock/CMakeLists.linux.txt
@@ -0,0 +1,19 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(actors-interconnect-mock)
+target_link_libraries(actors-interconnect-mock PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-actors-interconnect
+)
+target_sources(actors-interconnect-mock PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/mock/ic_mock.cpp
+)
diff --git a/library/cpp/actors/interconnect/mock/CMakeLists.txt b/library/cpp/actors/interconnect/mock/CMakeLists.txt
index 13db21524e..3e0811fb22 100644
--- a/library/cpp/actors/interconnect/mock/CMakeLists.txt
+++ b/library/cpp/actors/interconnect/mock/CMakeLists.txt
@@ -6,13 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(actors-interconnect-mock)
-target_link_libraries(actors-interconnect-mock PUBLIC
- contrib-libs-cxxsupp
- yutil
- cpp-actors-interconnect
-)
-target_sources(actors-interconnect-mock PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/interconnect/mock/ic_mock.cpp
-)
+if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT ANDROID)
+ include(CMakeLists.linux-aarch64.txt)
+elseif (APPLE)
+ include(CMakeLists.darwin.txt)
+elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID)
+ include(CMakeLists.linux.txt)
+endif()
diff --git a/library/cpp/actors/memory_log/CMakeLists.darwin.txt b/library/cpp/actors/memory_log/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..3eb16eed1d
--- /dev/null
+++ b/library/cpp/actors/memory_log/CMakeLists.darwin.txt
@@ -0,0 +1,21 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-actors-memory_log)
+target_link_libraries(cpp-actors-memory_log PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ cpp-threading-queue
+ contrib-libs-linuxvdso
+ cpp-deprecated-atomic
+)
+target_sources(cpp-actors-memory_log PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/memory_log/memlog.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/memory_log/mmap.cpp
+)
diff --git a/library/cpp/actors/memory_log/CMakeLists.linux-aarch64.txt b/library/cpp/actors/memory_log/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..46c24e7d71
--- /dev/null
+++ b/library/cpp/actors/memory_log/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,22 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-actors-memory_log)
+target_link_libraries(cpp-actors-memory_log PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-threading-queue
+ contrib-libs-linuxvdso
+ cpp-deprecated-atomic
+)
+target_sources(cpp-actors-memory_log PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/memory_log/memlog.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/memory_log/mmap.cpp
+)
diff --git a/library/cpp/actors/memory_log/CMakeLists.linux.txt b/library/cpp/actors/memory_log/CMakeLists.linux.txt
new file mode 100644
index 0000000000..46c24e7d71
--- /dev/null
+++ b/library/cpp/actors/memory_log/CMakeLists.linux.txt
@@ -0,0 +1,22 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-actors-memory_log)
+target_link_libraries(cpp-actors-memory_log PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-threading-queue
+ contrib-libs-linuxvdso
+ cpp-deprecated-atomic
+)
+target_sources(cpp-actors-memory_log PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/memory_log/memlog.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/memory_log/mmap.cpp
+)
diff --git a/library/cpp/actors/memory_log/CMakeLists.txt b/library/cpp/actors/memory_log/CMakeLists.txt
index 3eb16eed1d..3e0811fb22 100644
--- a/library/cpp/actors/memory_log/CMakeLists.txt
+++ b/library/cpp/actors/memory_log/CMakeLists.txt
@@ -6,16 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-actors-memory_log)
-target_link_libraries(cpp-actors-memory_log PUBLIC
- contrib-libs-cxxsupp
- yutil
- cpp-threading-queue
- contrib-libs-linuxvdso
- cpp-deprecated-atomic
-)
-target_sources(cpp-actors-memory_log PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/memory_log/memlog.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/memory_log/mmap.cpp
-)
+if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT ANDROID)
+ include(CMakeLists.linux-aarch64.txt)
+elseif (APPLE)
+ include(CMakeLists.darwin.txt)
+elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID)
+ include(CMakeLists.linux.txt)
+endif()
diff --git a/library/cpp/actors/prof/CMakeLists.darwin.txt b/library/cpp/actors/prof/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..da4124b232
--- /dev/null
+++ b/library/cpp/actors/prof/CMakeLists.darwin.txt
@@ -0,0 +1,21 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-actors-prof)
+target_link_libraries(cpp-actors-prof PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ libs-tcmalloc-malloc_extension
+ library-cpp-charset
+ cpp-containers-atomizer
+)
+target_sources(cpp-actors-prof PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/prof/tag.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/prof/tcmalloc.cpp
+)
diff --git a/library/cpp/actors/prof/CMakeLists.linux-aarch64.txt b/library/cpp/actors/prof/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..a0ec95e1ab
--- /dev/null
+++ b/library/cpp/actors/prof/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,22 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-actors-prof)
+target_link_libraries(cpp-actors-prof PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ libs-tcmalloc-malloc_extension
+ library-cpp-charset
+ cpp-containers-atomizer
+)
+target_sources(cpp-actors-prof PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/prof/tag.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/prof/tcmalloc.cpp
+)
diff --git a/library/cpp/actors/prof/CMakeLists.linux.txt b/library/cpp/actors/prof/CMakeLists.linux.txt
new file mode 100644
index 0000000000..a0ec95e1ab
--- /dev/null
+++ b/library/cpp/actors/prof/CMakeLists.linux.txt
@@ -0,0 +1,22 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-actors-prof)
+target_link_libraries(cpp-actors-prof PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ libs-tcmalloc-malloc_extension
+ library-cpp-charset
+ cpp-containers-atomizer
+)
+target_sources(cpp-actors-prof PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/prof/tag.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/prof/tcmalloc.cpp
+)
diff --git a/library/cpp/actors/prof/CMakeLists.txt b/library/cpp/actors/prof/CMakeLists.txt
index da4124b232..3e0811fb22 100644
--- a/library/cpp/actors/prof/CMakeLists.txt
+++ b/library/cpp/actors/prof/CMakeLists.txt
@@ -6,16 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-actors-prof)
-target_link_libraries(cpp-actors-prof PUBLIC
- contrib-libs-cxxsupp
- yutil
- libs-tcmalloc-malloc_extension
- library-cpp-charset
- cpp-containers-atomizer
-)
-target_sources(cpp-actors-prof PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/prof/tag.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/prof/tcmalloc.cpp
-)
+if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT ANDROID)
+ include(CMakeLists.linux-aarch64.txt)
+elseif (APPLE)
+ include(CMakeLists.darwin.txt)
+elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID)
+ include(CMakeLists.linux.txt)
+endif()
diff --git a/library/cpp/actors/protos/CMakeLists.darwin.txt b/library/cpp/actors/protos/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..207460e2cc
--- /dev/null
+++ b/library/cpp/actors/protos/CMakeLists.darwin.txt
@@ -0,0 +1,34 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-actors-protos)
+target_link_libraries(cpp-actors-protos PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-protobuf
+)
+target_proto_messages(cpp-actors-protos PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/protos/actors.proto
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/protos/interconnect.proto
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/protos/services_common.proto
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/protos/unittests.proto
+)
+target_proto_addincls(cpp-actors-protos
+ ./
+ ${CMAKE_SOURCE_DIR}/
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
+)
+target_proto_outs(cpp-actors-protos
+ --cpp_out=${CMAKE_BINARY_DIR}/
+ --cpp_styleguide_out=${CMAKE_BINARY_DIR}/
+)
diff --git a/library/cpp/actors/protos/CMakeLists.linux-aarch64.txt b/library/cpp/actors/protos/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..9733ae60e8
--- /dev/null
+++ b/library/cpp/actors/protos/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,35 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-actors-protos)
+target_link_libraries(cpp-actors-protos PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-protobuf
+)
+target_proto_messages(cpp-actors-protos PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/protos/actors.proto
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/protos/interconnect.proto
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/protos/services_common.proto
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/protos/unittests.proto
+)
+target_proto_addincls(cpp-actors-protos
+ ./
+ ${CMAKE_SOURCE_DIR}/
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
+)
+target_proto_outs(cpp-actors-protos
+ --cpp_out=${CMAKE_BINARY_DIR}/
+ --cpp_styleguide_out=${CMAKE_BINARY_DIR}/
+)
diff --git a/library/cpp/actors/protos/CMakeLists.linux.txt b/library/cpp/actors/protos/CMakeLists.linux.txt
new file mode 100644
index 0000000000..9733ae60e8
--- /dev/null
+++ b/library/cpp/actors/protos/CMakeLists.linux.txt
@@ -0,0 +1,35 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-actors-protos)
+target_link_libraries(cpp-actors-protos PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-protobuf
+)
+target_proto_messages(cpp-actors-protos PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/protos/actors.proto
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/protos/interconnect.proto
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/protos/services_common.proto
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/protos/unittests.proto
+)
+target_proto_addincls(cpp-actors-protos
+ ./
+ ${CMAKE_SOURCE_DIR}/
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
+)
+target_proto_outs(cpp-actors-protos
+ --cpp_out=${CMAKE_BINARY_DIR}/
+ --cpp_styleguide_out=${CMAKE_BINARY_DIR}/
+)
diff --git a/library/cpp/actors/protos/CMakeLists.txt b/library/cpp/actors/protos/CMakeLists.txt
index 207460e2cc..3e0811fb22 100644
--- a/library/cpp/actors/protos/CMakeLists.txt
+++ b/library/cpp/actors/protos/CMakeLists.txt
@@ -6,29 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-actors-protos)
-target_link_libraries(cpp-actors-protos PUBLIC
- contrib-libs-cxxsupp
- yutil
- contrib-libs-protobuf
-)
-target_proto_messages(cpp-actors-protos PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/protos/actors.proto
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/protos/interconnect.proto
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/protos/services_common.proto
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/protos/unittests.proto
-)
-target_proto_addincls(cpp-actors-protos
- ./
- ${CMAKE_SOURCE_DIR}/
- ${CMAKE_BINARY_DIR}
- ${CMAKE_SOURCE_DIR}
- ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
- ${CMAKE_BINARY_DIR}
- ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
-)
-target_proto_outs(cpp-actors-protos
- --cpp_out=${CMAKE_BINARY_DIR}/
- --cpp_styleguide_out=${CMAKE_BINARY_DIR}/
-)
+if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT ANDROID)
+ include(CMakeLists.linux-aarch64.txt)
+elseif (APPLE)
+ include(CMakeLists.darwin.txt)
+elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID)
+ include(CMakeLists.linux.txt)
+endif()
diff --git a/library/cpp/actors/testlib/CMakeLists.darwin.txt b/library/cpp/actors/testlib/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..07cf982905
--- /dev/null
+++ b/library/cpp/actors/testlib/CMakeLists.darwin.txt
@@ -0,0 +1,22 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-actors-testlib)
+target_link_libraries(cpp-actors-testlib PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ cpp-actors-core
+ actors-interconnect-mock
+ cpp-actors-protos
+ library-cpp-random_provider
+ library-cpp-time_provider
+)
+target_sources(cpp-actors-testlib PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/testlib/test_runtime.cpp
+)
diff --git a/library/cpp/actors/testlib/CMakeLists.linux-aarch64.txt b/library/cpp/actors/testlib/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..4f565a0769
--- /dev/null
+++ b/library/cpp/actors/testlib/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,23 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-actors-testlib)
+target_link_libraries(cpp-actors-testlib PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-actors-core
+ actors-interconnect-mock
+ cpp-actors-protos
+ library-cpp-random_provider
+ library-cpp-time_provider
+)
+target_sources(cpp-actors-testlib PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/testlib/test_runtime.cpp
+)
diff --git a/library/cpp/actors/testlib/CMakeLists.linux.txt b/library/cpp/actors/testlib/CMakeLists.linux.txt
new file mode 100644
index 0000000000..4f565a0769
--- /dev/null
+++ b/library/cpp/actors/testlib/CMakeLists.linux.txt
@@ -0,0 +1,23 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-actors-testlib)
+target_link_libraries(cpp-actors-testlib PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-actors-core
+ actors-interconnect-mock
+ cpp-actors-protos
+ library-cpp-random_provider
+ library-cpp-time_provider
+)
+target_sources(cpp-actors-testlib PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/testlib/test_runtime.cpp
+)
diff --git a/library/cpp/actors/testlib/CMakeLists.txt b/library/cpp/actors/testlib/CMakeLists.txt
index 07cf982905..3e0811fb22 100644
--- a/library/cpp/actors/testlib/CMakeLists.txt
+++ b/library/cpp/actors/testlib/CMakeLists.txt
@@ -6,17 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-actors-testlib)
-target_link_libraries(cpp-actors-testlib PUBLIC
- contrib-libs-cxxsupp
- yutil
- cpp-actors-core
- actors-interconnect-mock
- cpp-actors-protos
- library-cpp-random_provider
- library-cpp-time_provider
-)
-target_sources(cpp-actors-testlib PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/testlib/test_runtime.cpp
-)
+if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT ANDROID)
+ include(CMakeLists.linux-aarch64.txt)
+elseif (APPLE)
+ include(CMakeLists.darwin.txt)
+elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID)
+ include(CMakeLists.linux.txt)
+endif()
diff --git a/library/cpp/actors/util/CMakeLists.darwin.txt b/library/cpp/actors/util/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..19f683cb2a
--- /dev/null
+++ b/library/cpp/actors/util/CMakeLists.darwin.txt
@@ -0,0 +1,24 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-actors-util)
+target_link_libraries(cpp-actors-util PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ cpp-deprecated-atomic
+ library-cpp-pop_count
+)
+target_sources(cpp-actors-util PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/util/affinity.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/util/memory_track.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/util/memory_tracker.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/util/shared_data.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/util/should_continue.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/util/threadparkpad.cpp
+)
diff --git a/library/cpp/actors/util/CMakeLists.linux-aarch64.txt b/library/cpp/actors/util/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..c6673cde78
--- /dev/null
+++ b/library/cpp/actors/util/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,25 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-actors-util)
+target_link_libraries(cpp-actors-util PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-deprecated-atomic
+ library-cpp-pop_count
+)
+target_sources(cpp-actors-util PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/util/affinity.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/util/memory_track.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/util/memory_tracker.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/util/shared_data.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/util/should_continue.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/util/threadparkpad.cpp
+)
diff --git a/library/cpp/actors/util/CMakeLists.linux.txt b/library/cpp/actors/util/CMakeLists.linux.txt
new file mode 100644
index 0000000000..c6673cde78
--- /dev/null
+++ b/library/cpp/actors/util/CMakeLists.linux.txt
@@ -0,0 +1,25 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(cpp-actors-util)
+target_link_libraries(cpp-actors-util PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-deprecated-atomic
+ library-cpp-pop_count
+)
+target_sources(cpp-actors-util PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/util/affinity.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/util/memory_track.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/util/memory_tracker.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/util/shared_data.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/util/should_continue.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/util/threadparkpad.cpp
+)
diff --git a/library/cpp/actors/util/CMakeLists.txt b/library/cpp/actors/util/CMakeLists.txt
index 19f683cb2a..3e0811fb22 100644
--- a/library/cpp/actors/util/CMakeLists.txt
+++ b/library/cpp/actors/util/CMakeLists.txt
@@ -6,19 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-actors-util)
-target_link_libraries(cpp-actors-util PUBLIC
- contrib-libs-cxxsupp
- yutil
- cpp-deprecated-atomic
- library-cpp-pop_count
-)
-target_sources(cpp-actors-util PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/util/affinity.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/util/memory_track.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/util/memory_tracker.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/util/shared_data.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/util/should_continue.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/util/threadparkpad.cpp
-)
+if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT ANDROID)
+ include(CMakeLists.linux-aarch64.txt)
+elseif (APPLE)
+ include(CMakeLists.darwin.txt)
+elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID)
+ include(CMakeLists.linux.txt)
+endif()
diff --git a/library/cpp/actors/wilson/CMakeLists.darwin.txt b/library/cpp/actors/wilson/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..91f380ee05
--- /dev/null
+++ b/library/cpp/actors/wilson/CMakeLists.darwin.txt
@@ -0,0 +1,25 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+add_subdirectory(protos)
+
+add_library(cpp-actors-wilson)
+target_link_libraries(cpp-actors-wilson PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ cpp-actors-core
+ cpp-actors-protos
+ actors-wilson-protos
+)
+target_sources(cpp-actors-wilson PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/wilson/wilson_event.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/wilson/wilson_span.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/wilson/wilson_profile_span.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/wilson/wilson_trace.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/wilson/wilson_uploader.cpp
+)
diff --git a/library/cpp/actors/wilson/CMakeLists.linux-aarch64.txt b/library/cpp/actors/wilson/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..edcc32e752
--- /dev/null
+++ b/library/cpp/actors/wilson/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,26 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+add_subdirectory(protos)
+
+add_library(cpp-actors-wilson)
+target_link_libraries(cpp-actors-wilson PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-actors-core
+ cpp-actors-protos
+ actors-wilson-protos
+)
+target_sources(cpp-actors-wilson PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/wilson/wilson_event.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/wilson/wilson_span.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/wilson/wilson_profile_span.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/wilson/wilson_trace.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/wilson/wilson_uploader.cpp
+)
diff --git a/library/cpp/actors/wilson/CMakeLists.linux.txt b/library/cpp/actors/wilson/CMakeLists.linux.txt
new file mode 100644
index 0000000000..edcc32e752
--- /dev/null
+++ b/library/cpp/actors/wilson/CMakeLists.linux.txt
@@ -0,0 +1,26 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+add_subdirectory(protos)
+
+add_library(cpp-actors-wilson)
+target_link_libraries(cpp-actors-wilson PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-actors-core
+ cpp-actors-protos
+ actors-wilson-protos
+)
+target_sources(cpp-actors-wilson PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/wilson/wilson_event.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/wilson/wilson_span.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/wilson/wilson_profile_span.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/wilson/wilson_trace.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/wilson/wilson_uploader.cpp
+)
diff --git a/library/cpp/actors/wilson/CMakeLists.txt b/library/cpp/actors/wilson/CMakeLists.txt
index 91f380ee05..3e0811fb22 100644
--- a/library/cpp/actors/wilson/CMakeLists.txt
+++ b/library/cpp/actors/wilson/CMakeLists.txt
@@ -6,20 +6,10 @@
# original buildsystem will not be accepted.
-add_subdirectory(protos)
-
-add_library(cpp-actors-wilson)
-target_link_libraries(cpp-actors-wilson PUBLIC
- contrib-libs-cxxsupp
- yutil
- cpp-actors-core
- cpp-actors-protos
- actors-wilson-protos
-)
-target_sources(cpp-actors-wilson PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/wilson/wilson_event.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/wilson/wilson_span.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/wilson/wilson_profile_span.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/wilson/wilson_trace.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/wilson/wilson_uploader.cpp
-)
+if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT ANDROID)
+ include(CMakeLists.linux-aarch64.txt)
+elseif (APPLE)
+ include(CMakeLists.darwin.txt)
+elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID)
+ include(CMakeLists.linux.txt)
+endif()
diff --git a/library/cpp/actors/wilson/protos/CMakeLists.darwin.txt b/library/cpp/actors/wilson/protos/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..f61a5ee58d
--- /dev/null
+++ b/library/cpp/actors/wilson/protos/CMakeLists.darwin.txt
@@ -0,0 +1,42 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(actors-wilson-protos)
+set_property(TARGET actors-wilson-protos PROPERTY
+ PROTOC_EXTRA_OUTS .grpc.pb.cc .grpc.pb.h
+)
+target_link_libraries(actors-wilson-protos PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-grpc
+ contrib-libs-protobuf
+)
+target_proto_messages(actors-wilson-protos PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/wilson/protos/common.proto
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/wilson/protos/resource.proto
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/wilson/protos/service.proto
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/wilson/protos/trace.proto
+)
+target_proto_addincls(actors-wilson-protos
+ ./
+ ${CMAKE_SOURCE_DIR}/
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
+)
+target_proto_outs(actors-wilson-protos
+ --cpp_out=${CMAKE_BINARY_DIR}/
+ --cpp_styleguide_out=${CMAKE_BINARY_DIR}/
+)
+target_proto_plugin(actors-wilson-protos
+ grpc_cpp
+ grpc_cpp
+)
diff --git a/library/cpp/actors/wilson/protos/CMakeLists.linux-aarch64.txt b/library/cpp/actors/wilson/protos/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..8b1fac6642
--- /dev/null
+++ b/library/cpp/actors/wilson/protos/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,43 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(actors-wilson-protos)
+set_property(TARGET actors-wilson-protos PROPERTY
+ PROTOC_EXTRA_OUTS .grpc.pb.cc .grpc.pb.h
+)
+target_link_libraries(actors-wilson-protos PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-grpc
+ contrib-libs-protobuf
+)
+target_proto_messages(actors-wilson-protos PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/wilson/protos/common.proto
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/wilson/protos/resource.proto
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/wilson/protos/service.proto
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/wilson/protos/trace.proto
+)
+target_proto_addincls(actors-wilson-protos
+ ./
+ ${CMAKE_SOURCE_DIR}/
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
+)
+target_proto_outs(actors-wilson-protos
+ --cpp_out=${CMAKE_BINARY_DIR}/
+ --cpp_styleguide_out=${CMAKE_BINARY_DIR}/
+)
+target_proto_plugin(actors-wilson-protos
+ grpc_cpp
+ grpc_cpp
+)
diff --git a/library/cpp/actors/wilson/protos/CMakeLists.linux.txt b/library/cpp/actors/wilson/protos/CMakeLists.linux.txt
new file mode 100644
index 0000000000..8b1fac6642
--- /dev/null
+++ b/library/cpp/actors/wilson/protos/CMakeLists.linux.txt
@@ -0,0 +1,43 @@
+
+# This file was gererated by the build system used internally in the Yandex monorepo.
+# Only simple modifications are allowed (adding source-files to targets, adding simple properties
+# like target_include_directories). These modifications will be ported to original
+# ya.make files by maintainers. Any complex modifications which can't be ported back to the
+# original buildsystem will not be accepted.
+
+
+
+add_library(actors-wilson-protos)
+set_property(TARGET actors-wilson-protos PROPERTY
+ PROTOC_EXTRA_OUTS .grpc.pb.cc .grpc.pb.h
+)
+target_link_libraries(actors-wilson-protos PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-grpc
+ contrib-libs-protobuf
+)
+target_proto_messages(actors-wilson-protos PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/wilson/protos/common.proto
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/wilson/protos/resource.proto
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/wilson/protos/service.proto
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/wilson/protos/trace.proto
+)
+target_proto_addincls(actors-wilson-protos
+ ./
+ ${CMAKE_SOURCE_DIR}/
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
+)
+target_proto_outs(actors-wilson-protos
+ --cpp_out=${CMAKE_BINARY_DIR}/
+ --cpp_styleguide_out=${CMAKE_BINARY_DIR}/
+)
+target_proto_plugin(actors-wilson-protos
+ grpc_cpp
+ grpc_cpp
+)
diff --git a/library/cpp/actors/wilson/protos/CMakeLists.txt b/library/cpp/actors/wilson/protos/CMakeLists.txt
index f61a5ee58d..3e0811fb22 100644
--- a/library/cpp/actors/wilson/protos/CMakeLists.txt
+++ b/library/cpp/actors/wilson/protos/CMakeLists.txt
@@ -6,37 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(actors-wilson-protos)
-set_property(TARGET actors-wilson-protos PROPERTY
- PROTOC_EXTRA_OUTS .grpc.pb.cc .grpc.pb.h
-)
-target_link_libraries(actors-wilson-protos PUBLIC
- contrib-libs-cxxsupp
- yutil
- contrib-libs-grpc
- contrib-libs-protobuf
-)
-target_proto_messages(actors-wilson-protos PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/wilson/protos/common.proto
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/wilson/protos/resource.proto
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/wilson/protos/service.proto
- ${CMAKE_SOURCE_DIR}/library/cpp/actors/wilson/protos/trace.proto
-)
-target_proto_addincls(actors-wilson-protos
- ./
- ${CMAKE_SOURCE_DIR}/
- ${CMAKE_BINARY_DIR}
- ${CMAKE_SOURCE_DIR}
- ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
- ${CMAKE_BINARY_DIR}
- ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
-)
-target_proto_outs(actors-wilson-protos
- --cpp_out=${CMAKE_BINARY_DIR}/
- --cpp_styleguide_out=${CMAKE_BINARY_DIR}/
-)
-target_proto_plugin(actors-wilson-protos
- grpc_cpp
- grpc_cpp
-)
+if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT ANDROID)
+ include(CMakeLists.linux-aarch64.txt)
+elseif (APPLE)
+ include(CMakeLists.darwin.txt)
+elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID)
+ include(CMakeLists.linux.txt)
+endif()