aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/restricted/aws/aws-c-io/CMakeLists.linux-x86_64.txt
blob: 859d5769a17f5839ca2a1e12559e98ad8cfabcdf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# 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(restricted-aws-aws-c-io)
target_compile_options(restricted-aws-aws-c-io PRIVATE
  -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
  $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
)
target_include_directories(restricted-aws-aws-c-io PUBLIC
  ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/include
)
target_link_libraries(restricted-aws-aws-c-io PUBLIC
  contrib-libs-linux-headers
  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/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/pem_utils.c
  ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/pkcs11_lib.c
  ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-io/source/pkcs11_tls_op_handler.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/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/standard_retry_strategy.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/linux/epoll_event_loop.c
)