1234567891011121314151617181920212223242526272829303132333435363738394041424344454647 |
- # 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-event-stream)
- target_compile_options(restricted-aws-aws-c-event-stream PRIVATE
- -DAWS_CAL_USE_IMPORT_EXPORT
- -DAWS_CHECKSUMS_USE_IMPORT_EXPORT
- -DAWS_COMMON_USE_IMPORT_EXPORT
- -DAWS_EVENT_STREAM_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_PLATFORM_SUPPORTS_KTLS
- -DS2N_STACKTRACE
- -DS2N___RESTRICT__SUPPORTED
- $<IF:$<CXX_COMPILER_ID:MSVC>,,-Wno-everything>
- )
- target_include_directories(restricted-aws-aws-c-event-stream PUBLIC
- ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-event-stream/include
- )
- target_link_libraries(restricted-aws-aws-c-event-stream PUBLIC
- restricted-aws-aws-c-common
- restricted-aws-aws-c-io
- restricted-aws-aws-checksums
- )
- target_sources(restricted-aws-aws-c-event-stream PRIVATE
- ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-event-stream/source/event_stream.c
- ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-event-stream/source/event_stream_channel_handler.c
- ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-event-stream/source/event_stream_rpc.c
- ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-event-stream/source/event_stream_rpc_client.c
- ${CMAKE_SOURCE_DIR}/contrib/restricted/aws/aws-c-event-stream/source/event_stream_rpc_server.c
- )
|