aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/restricted/aws/aws-c-io
diff options
context:
space:
mode:
authoralexv-smirnov <alex@ydb.tech>2023-06-13 11:05:01 +0300
committeralexv-smirnov <alex@ydb.tech>2023-06-13 11:05:01 +0300
commitbf0f13dd39ee3e65092ba3572bb5b1fcd125dcd0 (patch)
tree1d1df72c0541a59a81439842f46d95396d3e7189 /contrib/restricted/aws/aws-c-io
parent8bfdfa9a9bd19bddbc58d888e180fbd1218681be (diff)
downloadydb-bf0f13dd39ee3e65092ba3572bb5b1fcd125dcd0.tar.gz
add ymake export to ydb
Diffstat (limited to 'contrib/restricted/aws/aws-c-io')
-rw-r--r--contrib/restricted/aws/aws-c-io/ya.make87
1 files changed, 87 insertions, 0 deletions
diff --git a/contrib/restricted/aws/aws-c-io/ya.make b/contrib/restricted/aws/aws-c-io/ya.make
new file mode 100644
index 0000000000..e8c6309246
--- /dev/null
+++ b/contrib/restricted/aws/aws-c-io/ya.make
@@ -0,0 +1,87 @@
+# Generated by devtools/yamaker from nixpkgs 22.11.
+
+LIBRARY()
+
+LICENSE(
+ Apache-2.0 AND
+ Custom-Oasis-Pkcs11
+)
+
+LICENSE_TEXTS(.yandex_meta/licenses.list.txt)
+
+VERSION(0.13.21)
+
+ORIGINAL_SOURCE(https://github.com/awslabs/aws-c-io/archive/v0.13.21.tar.gz)
+
+PEERDIR(
+ contrib/restricted/aws/aws-c-cal
+ contrib/restricted/aws/aws-c-common
+ contrib/restricted/aws/s2n
+)
+
+ADDINCL(
+ GLOBAL contrib/restricted/aws/aws-c-io/include
+)
+
+NO_COMPILER_WARNINGS()
+
+NO_RUNTIME()
+
+CFLAGS(
+ -DAWS_CAL_USE_IMPORT_EXPORT
+ -DAWS_COMMON_USE_IMPORT_EXPORT
+ -DAWS_IO_USE_IMPORT_EXPORT
+ -DAWS_USE_EPOLL
+ -DHAVE_SYSCONF
+ -DS2N_CLONE_SUPPORTED
+ -DS2N_CPUID_AVAILABLE
+ -DS2N_FALL_THROUGH_SUPPORTED
+ -DS2N_FEATURES_AVAILABLE
+ -DS2N_KYBER512R3_AVX2_BMI2
+ -DS2N_LIBCRYPTO_SUPPORTS_EVP_MD5_SHA1_HASH
+ -DS2N_LIBCRYPTO_SUPPORTS_EVP_MD_CTX_SET_PKEY_CTX
+ -DS2N_LIBCRYPTO_SUPPORTS_EVP_RC4
+ -DS2N_MADVISE_SUPPORTED
+ -DS2N_STACKTRACE
+ -DS2N___RESTRICT__SUPPORTED
+ -DUSE_S2N
+)
+
+SRCS(
+ source/alpn_handler.c
+ source/channel.c
+ source/channel_bootstrap.c
+ source/event_loop.c
+ source/exponential_backoff_retry_strategy.c
+ source/host_resolver.c
+ source/io.c
+ source/message_pool.c
+ source/pem_utils.c
+ source/pkcs11_lib.c
+ source/pkcs11_tls_op_handler.c
+ source/pki_utils.c
+ source/posix/host_resolver.c
+ source/posix/pipe.c
+ source/posix/shared_library.c
+ source/posix/socket.c
+ source/retry_strategy.c
+ source/s2n/s2n_tls_channel_handler.c
+ source/socket_channel_handler.c
+ source/standard_retry_strategy.c
+ source/statistics.c
+ source/stream.c
+ source/tls_channel_handler.c
+ source/tls_channel_handler_shared.c
+)
+
+IF (OS_DARWIN)
+ SRCS(
+ source/bsd/kqueue_event_loop.c
+ )
+ELSEIF (OS_LINUX)
+ SRCS(
+ source/linux/epoll_event_loop.c
+ )
+ENDIF()
+
+END()