aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/restricted/aws/aws-c-io
diff options
context:
space:
mode:
authorarcadia-devtools <arcadia-devtools@yandex-team.ru>2022-03-10 11:08:43 +0300
committerarcadia-devtools <arcadia-devtools@yandex-team.ru>2022-03-10 11:08:43 +0300
commitd32759b7eb812b4a4033cc61e1e98245544b4992 (patch)
tree22bbb3e9b46c1b55818aaf475f699ae187ce328b /contrib/restricted/aws/aws-c-io
parent471e9b902d01b70b2d12146772e30528a216ee82 (diff)
downloadydb-d32759b7eb812b4a4033cc61e1e98245544b4992.tar.gz
intermediate changes
ref:7e819949a28b77d60c98019ed1950733e734a77e
Diffstat (limited to 'contrib/restricted/aws/aws-c-io')
-rw-r--r--contrib/restricted/aws/aws-c-io/CMakeLists.darwin.txt47
-rw-r--r--contrib/restricted/aws/aws-c-io/CMakeLists.linux.txt47
-rw-r--r--contrib/restricted/aws/aws-c-io/CMakeLists.txt44
3 files changed, 99 insertions, 39 deletions
diff --git a/contrib/restricted/aws/aws-c-io/CMakeLists.darwin.txt b/contrib/restricted/aws/aws-c-io/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..79441190a1
--- /dev/null
+++ b/contrib/restricted/aws/aws-c-io/CMakeLists.darwin.txt
@@ -0,0 +1,47 @@
+
+# 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(restricted-aws-aws-c-io)
+target_include_directories(restricted-aws-aws-c-io PUBLIC
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/include
+)
+target_include_directories(restricted-aws-aws-c-io PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/include
+)
+target_link_libraries(restricted-aws-aws-c-io PUBLIC
+ restricted-aws-aws-c-cal
+ restricted-aws-aws-c-common
+ restricted-aws-s2n
+)
+target_sources(restricted-aws-aws-c-io PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/alpn_handler.c
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/channel.c
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/channel_bootstrap.c
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/event_loop.c
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/exponential_backoff_retry_strategy.c
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/file_utils_shared.c
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/host_resolver.c
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/io.c
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/message_pool.c
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/pki_utils.c
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/posix/file_utils.c
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/posix/host_resolver.c
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/posix/pipe.c
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/posix/shared_library.c
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/posix/socket.c
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/retry_strategy.c
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/s2n/s2n_tls_channel_handler.c
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/socket_channel_handler.c
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/statistics.c
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/stream.c
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/tls_channel_handler.c
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/tls_channel_handler_shared.c
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/uri.c
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/bsd/kqueue_event_loop.c
+)
diff --git a/contrib/restricted/aws/aws-c-io/CMakeLists.linux.txt b/contrib/restricted/aws/aws-c-io/CMakeLists.linux.txt
new file mode 100644
index 0000000000..3dbd8ff9af
--- /dev/null
+++ b/contrib/restricted/aws/aws-c-io/CMakeLists.linux.txt
@@ -0,0 +1,47 @@
+
+# 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(restricted-aws-aws-c-io)
+target_include_directories(restricted-aws-aws-c-io PUBLIC
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/include
+)
+target_include_directories(restricted-aws-aws-c-io PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/include
+)
+target_link_libraries(restricted-aws-aws-c-io PUBLIC
+ restricted-aws-aws-c-cal
+ restricted-aws-aws-c-common
+ restricted-aws-s2n
+)
+target_sources(restricted-aws-aws-c-io PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/alpn_handler.c
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/channel.c
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/channel_bootstrap.c
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/event_loop.c
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/exponential_backoff_retry_strategy.c
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/file_utils_shared.c
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/host_resolver.c
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/io.c
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/message_pool.c
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/pki_utils.c
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/posix/file_utils.c
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/posix/host_resolver.c
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/posix/pipe.c
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/posix/shared_library.c
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/posix/socket.c
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/retry_strategy.c
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/s2n/s2n_tls_channel_handler.c
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/socket_channel_handler.c
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/statistics.c
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/stream.c
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/tls_channel_handler.c
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/tls_channel_handler_shared.c
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/uri.c
+ ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/linux/epoll_event_loop.c
+)
diff --git a/contrib/restricted/aws/aws-c-io/CMakeLists.txt b/contrib/restricted/aws/aws-c-io/CMakeLists.txt
index 3dbd8ff9af..a681d385f3 100644
--- a/contrib/restricted/aws/aws-c-io/CMakeLists.txt
+++ b/contrib/restricted/aws/aws-c-io/CMakeLists.txt
@@ -6,42 +6,8 @@
# original buildsystem will not be accepted.
-
-add_library(restricted-aws-aws-c-io)
-target_include_directories(restricted-aws-aws-c-io PUBLIC
- ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/include
-)
-target_include_directories(restricted-aws-aws-c-io PRIVATE
- ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/include
-)
-target_link_libraries(restricted-aws-aws-c-io PUBLIC
- restricted-aws-aws-c-cal
- restricted-aws-aws-c-common
- restricted-aws-s2n
-)
-target_sources(restricted-aws-aws-c-io PRIVATE
- ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/alpn_handler.c
- ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/channel.c
- ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/channel_bootstrap.c
- ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/event_loop.c
- ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/exponential_backoff_retry_strategy.c
- ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/file_utils_shared.c
- ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/host_resolver.c
- ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/io.c
- ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/message_pool.c
- ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/pki_utils.c
- ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/posix/file_utils.c
- ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/posix/host_resolver.c
- ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/posix/pipe.c
- ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/posix/shared_library.c
- ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/posix/socket.c
- ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/retry_strategy.c
- ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/s2n/s2n_tls_channel_handler.c
- ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/socket_channel_handler.c
- ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/statistics.c
- ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/stream.c
- ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/tls_channel_handler.c
- ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/tls_channel_handler_shared.c
- ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/uri.c
- ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/linux/epoll_event_loop.c
-)
+if (APPLE)
+ include(CMakeLists.darwin.txt)
+elseif (UNIX)
+ include(CMakeLists.linux.txt)
+endif()