diff options
author | arcadia-devtools <arcadia-devtools@yandex-team.ru> | 2022-02-18 15:49:59 +0300 |
---|---|---|
committer | arcadia-devtools <arcadia-devtools@yandex-team.ru> | 2022-02-18 15:49:59 +0300 |
commit | b4cb34dfb2619f594d82e512fd9ff7fc97400133 (patch) | |
tree | 6a64ab25a145265287789bceed3f59e953561206 /library/cpp/messagebus | |
parent | 5e837a820d5be0671fa4096a1cc1e378453e5132 (diff) | |
download | ydb-b4cb34dfb2619f594d82e512fd9ff7fc97400133.tar.gz |
intermediate changes
ref:1a0585d83f27cb6fb5b9c4f68a08177e10faf3b3
Diffstat (limited to 'library/cpp/messagebus')
-rw-r--r-- | library/cpp/messagebus/CMakeLists.txt | 54 | ||||
-rw-r--r-- | library/cpp/messagebus/actor/CMakeLists.txt | 10 | ||||
-rw-r--r-- | library/cpp/messagebus/config/CMakeLists.txt | 11 | ||||
-rw-r--r-- | library/cpp/messagebus/monitoring/CMakeLists.txt | 14 | ||||
-rw-r--r-- | library/cpp/messagebus/oldmodule/CMakeLists.txt | 11 | ||||
-rw-r--r-- | library/cpp/messagebus/protobuf/CMakeLists.txt | 11 | ||||
-rw-r--r-- | library/cpp/messagebus/scheduler/CMakeLists.txt | 9 | ||||
-rw-r--r-- | library/cpp/messagebus/www/CMakeLists.txt | 33 |
8 files changed, 153 insertions, 0 deletions
diff --git a/library/cpp/messagebus/CMakeLists.txt b/library/cpp/messagebus/CMakeLists.txt new file mode 100644 index 0000000000..4e86eca494 --- /dev/null +++ b/library/cpp/messagebus/CMakeLists.txt @@ -0,0 +1,54 @@ +add_library(library-cpp-messagebus) +target_link_libraries(library-cpp-messagebus PUBLIC + contrib-libs-cxxsupp + yutil + contrib-libs-sparsehash + library-cpp-codecs + cpp-deprecated-enum_codegen + cpp-getopt-small + library-cpp-lwtrace + messagebus_actor + cpp-messagebus-config + cpp-messagebus-monitoring + cpp-messagebus-scheduler + cpp-string_utils-indent_text + cpp-threading-future +) +target_sources(library-cpp-messagebus PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/acceptor.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/acceptor_status.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/connection.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/coreconn.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/duration_histogram.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/event_loop.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/futex_like.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/handler.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/key_value_printer.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/local_flags.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/locator.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/mb_lwtrace.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/message.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/message_counter.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/message_status.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/message_status_counter.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/messqueue.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/network.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/queue_config.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/remote_client_connection.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/remote_client_session.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/remote_client_session_semaphore.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/remote_connection.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/remote_connection_status.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/remote_server_connection.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/remote_server_session.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/remote_server_session_semaphore.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/session.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/session_impl.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/session_job_count.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/shutdown_state.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/socket_addr.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/storage.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/synchandler.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/use_after_free_checker.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/use_count_checker.cpp +) diff --git a/library/cpp/messagebus/actor/CMakeLists.txt b/library/cpp/messagebus/actor/CMakeLists.txt new file mode 100644 index 0000000000..552e36b19f --- /dev/null +++ b/library/cpp/messagebus/actor/CMakeLists.txt @@ -0,0 +1,10 @@ +add_library(messagebus_actor) +target_link_libraries(messagebus_actor PUBLIC + contrib-libs-cxxsupp + yutil +) +target_sources(messagebus_actor PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/actor/executor.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/actor/thread_extra.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/actor/what_thread_does.cpp +) diff --git a/library/cpp/messagebus/config/CMakeLists.txt b/library/cpp/messagebus/config/CMakeLists.txt new file mode 100644 index 0000000000..483f7b05c1 --- /dev/null +++ b/library/cpp/messagebus/config/CMakeLists.txt @@ -0,0 +1,11 @@ +add_library(cpp-messagebus-config) +target_link_libraries(cpp-messagebus-config PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-getopt + cpp-deprecated-enum_codegen +) +target_sources(cpp-messagebus-config PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/config/netaddr.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/config/session_config.cpp +) diff --git a/library/cpp/messagebus/monitoring/CMakeLists.txt b/library/cpp/messagebus/monitoring/CMakeLists.txt new file mode 100644 index 0000000000..ec708863aa --- /dev/null +++ b/library/cpp/messagebus/monitoring/CMakeLists.txt @@ -0,0 +1,14 @@ +add_library(cpp-messagebus-monitoring) +target_link_libraries(cpp-messagebus-monitoring PUBLIC + contrib-libs-cxxsupp + yutil + encode-legacy_protobuf-protos + contrib-libs-protobuf +) +target_proto_messages(cpp-messagebus-monitoring PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/monitoring/mon_proto.proto +) +target_proto_plugin(cpp-messagebus-monitoring + cpp_styleguide + cpp_styleguide +) diff --git a/library/cpp/messagebus/oldmodule/CMakeLists.txt b/library/cpp/messagebus/oldmodule/CMakeLists.txt new file mode 100644 index 0000000000..433181d39d --- /dev/null +++ b/library/cpp/messagebus/oldmodule/CMakeLists.txt @@ -0,0 +1,11 @@ +add_library(cpp-messagebus-oldmodule) +target_link_libraries(cpp-messagebus-oldmodule PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-messagebus + messagebus_actor +) +target_sources(cpp-messagebus-oldmodule PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/oldmodule/module.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/oldmodule/startsession.cpp +) diff --git a/library/cpp/messagebus/protobuf/CMakeLists.txt b/library/cpp/messagebus/protobuf/CMakeLists.txt new file mode 100644 index 0000000000..c54e9e145f --- /dev/null +++ b/library/cpp/messagebus/protobuf/CMakeLists.txt @@ -0,0 +1,11 @@ +add_library(messagebus_protobuf) +target_link_libraries(messagebus_protobuf PUBLIC + contrib-libs-cxxsupp + yutil + contrib-libs-protobuf + library-cpp-messagebus + messagebus_actor +) +target_sources(messagebus_protobuf PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/protobuf/ybusbuf.cpp +) diff --git a/library/cpp/messagebus/scheduler/CMakeLists.txt b/library/cpp/messagebus/scheduler/CMakeLists.txt new file mode 100644 index 0000000000..086963790d --- /dev/null +++ b/library/cpp/messagebus/scheduler/CMakeLists.txt @@ -0,0 +1,9 @@ +add_library(cpp-messagebus-scheduler) +target_link_libraries(cpp-messagebus-scheduler PUBLIC + contrib-libs-cxxsupp + yutil + cpp-threading-future +) +target_sources(cpp-messagebus-scheduler PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/scheduler/scheduler.cpp +) diff --git a/library/cpp/messagebus/www/CMakeLists.txt b/library/cpp/messagebus/www/CMakeLists.txt new file mode 100644 index 0000000000..cfef24dc3c --- /dev/null +++ b/library/cpp/messagebus/www/CMakeLists.txt @@ -0,0 +1,33 @@ +add_library(cpp-messagebus-www) +target_link_libraries(cpp-messagebus-www PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-resource + library-cpp-cgiparam + cpp-html-pcdata + cpp-http-fetch + cpp-http-server + cpp-json-writer + library-cpp-messagebus + cpp-messagebus-oldmodule + monlib-deprecated-json + library-cpp-uri +) +target_sources(cpp-messagebus-www PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/www/html_output.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/www/www.cpp +) + +add_global_library_for(cpp-messagebus-www.global cpp-messagebus-www) +target_sources(cpp-messagebus-www.global PRIVATE + ${CMAKE_BINARY_DIR}/library/cpp/messagebus/www/dd5bbfe173cb40020e73f3227e3ac73d.cpp +) +resources(cpp-messagebus-www.global + ${CMAKE_BINARY_DIR}/library/cpp/messagebus/www/dd5bbfe173cb40020e73f3227e3ac73d.cpp + INPUTS + ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/www/messagebus.js + ${CMAKE_SOURCE_DIR}/library/cpp/messagebus/www/bus-ico.png + KEYS + /messagebus.js + /bus-ico.png +) |