diff options
author | robot-piglet <robot-piglet@yandex-team.com> | 2023-03-09 12:42:44 +0300 |
---|---|---|
committer | robot-piglet <robot-piglet@yandex-team.com> | 2023-03-09 12:42:44 +0300 |
commit | 6324d075a5e80b6943b5de6b465b775050fe83df (patch) | |
tree | e02ce32e988042438f64df770a528164ac572879 /library/cpp/grpc | |
parent | 039e25e1597bec288de44e5061c1b84e195add08 (diff) | |
download | ydb-6324d075a5e80b6943b5de6b465b775050fe83df.tar.gz |
Intermediate changes
Diffstat (limited to 'library/cpp/grpc')
-rw-r--r-- | library/cpp/grpc/client/CMakeLists.txt | 2 | ||||
-rw-r--r-- | library/cpp/grpc/client/CMakeLists.windows-x86_64.txt | 19 | ||||
-rw-r--r-- | library/cpp/grpc/server/CMakeLists.txt | 2 | ||||
-rw-r--r-- | library/cpp/grpc/server/CMakeLists.windows-x86_64.txt | 35 | ||||
-rw-r--r-- | library/cpp/grpc/server/actors/CMakeLists.txt | 2 | ||||
-rw-r--r-- | library/cpp/grpc/server/actors/CMakeLists.windows-x86_64.txt | 18 |
6 files changed, 78 insertions, 0 deletions
diff --git a/library/cpp/grpc/client/CMakeLists.txt b/library/cpp/grpc/client/CMakeLists.txt index 8f8c04afe54..d90657116d0 100644 --- a/library/cpp/grpc/client/CMakeLists.txt +++ b/library/cpp/grpc/client/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/grpc/client/CMakeLists.windows-x86_64.txt b/library/cpp/grpc/client/CMakeLists.windows-x86_64.txt new file mode 100644 index 00000000000..db6f6bfdc1b --- /dev/null +++ b/library/cpp/grpc/client/CMakeLists.windows-x86_64.txt @@ -0,0 +1,19 @@ + +# This file was generated 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-grpc-client) +target_link_libraries(cpp-grpc-client PUBLIC + contrib-libs-cxxsupp + yutil + contrib-libs-grpc + cpp-deprecated-atomic +) +target_sources(cpp-grpc-client PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/grpc/client/grpc_client_low.cpp +) diff --git a/library/cpp/grpc/server/CMakeLists.txt b/library/cpp/grpc/server/CMakeLists.txt index 8f8c04afe54..d90657116d0 100644 --- a/library/cpp/grpc/server/CMakeLists.txt +++ b/library/cpp/grpc/server/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/grpc/server/CMakeLists.windows-x86_64.txt b/library/cpp/grpc/server/CMakeLists.windows-x86_64.txt new file mode 100644 index 00000000000..1db66670688 --- /dev/null +++ b/library/cpp/grpc/server/CMakeLists.windows-x86_64.txt @@ -0,0 +1,35 @@ + +# This file was generated 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(actors) +get_built_tool_path( + TOOL_enum_parser_bin + TOOL_enum_parser_dependency + tools/enum_parser/enum_parser + enum_parser +) + +add_library(cpp-grpc-server) +target_link_libraries(cpp-grpc-server PUBLIC + contrib-libs-cxxsupp + yutil + tools-enum_parser-enum_serialization_runtime + contrib-libs-grpc + monlib-dynamic_counters-percentile +) +target_sources(cpp-grpc-server PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/grpc/server/event_callback.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/grpc/server/grpc_request.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/grpc/server/grpc_server.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/grpc/server/grpc_counters.cpp +) +generate_enum_serilization(cpp-grpc-server + ${CMAKE_SOURCE_DIR}/library/cpp/grpc/server/grpc_request_base.h + INCLUDE_HEADERS + library/cpp/grpc/server/grpc_request_base.h +) diff --git a/library/cpp/grpc/server/actors/CMakeLists.txt b/library/cpp/grpc/server/actors/CMakeLists.txt index 8f8c04afe54..d90657116d0 100644 --- a/library/cpp/grpc/server/actors/CMakeLists.txt +++ b/library/cpp/grpc/server/actors/CMakeLists.txt @@ -10,6 +10,8 @@ if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT AND include(CMakeLists.linux-aarch64.txt) elseif (APPLE AND CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64") include(CMakeLists.darwin-x86_64.txt) +elseif (WIN32 AND CMAKE_SYSTEM_PROCESSOR STREQUAL "AMD64" AND NOT HAVE_CUDA) + include(CMakeLists.windows-x86_64.txt) elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID AND NOT HAVE_CUDA) include(CMakeLists.linux-x86_64.txt) endif() diff --git a/library/cpp/grpc/server/actors/CMakeLists.windows-x86_64.txt b/library/cpp/grpc/server/actors/CMakeLists.windows-x86_64.txt new file mode 100644 index 00000000000..1e710ad49aa --- /dev/null +++ b/library/cpp/grpc/server/actors/CMakeLists.windows-x86_64.txt @@ -0,0 +1,18 @@ + +# This file was generated 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(grpc-server-actors) +target_link_libraries(grpc-server-actors PUBLIC + contrib-libs-cxxsupp + yutil + cpp-actors-core +) +target_sources(grpc-server-actors PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/grpc/server/actors/logger.cpp +) |