ya.make 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. # Generated by devtools/yamaker from nixpkgs 23.05.
  2. LIBRARY()
  3. LICENSE(
  4. Apache-2.0 AND
  5. MIT
  6. )
  7. LICENSE_TEXTS(.yandex_meta/licenses.list.txt)
  8. VERSION(0.19.8)
  9. ORIGINAL_SOURCE(https://github.com/awslabs/aws-crt-cpp/archive/v0.19.8.tar.gz)
  10. PEERDIR(
  11. contrib/restricted/aws/aws-c-auth
  12. contrib/restricted/aws/aws-c-cal
  13. contrib/restricted/aws/aws-c-common
  14. contrib/restricted/aws/aws-c-event-stream
  15. contrib/restricted/aws/aws-c-http
  16. contrib/restricted/aws/aws-c-io
  17. contrib/restricted/aws/aws-c-mqtt
  18. contrib/restricted/aws/aws-c-s3
  19. contrib/restricted/aws/aws-c-sdkutils
  20. )
  21. ADDINCL(
  22. GLOBAL contrib/restricted/aws/aws-crt-cpp/include
  23. )
  24. NO_COMPILER_WARNINGS()
  25. NO_UTIL()
  26. CFLAGS(
  27. -DAWS_AUTH_USE_IMPORT_EXPORT
  28. -DAWS_CAL_USE_IMPORT_EXPORT
  29. -DAWS_CHECKSUMS_USE_IMPORT_EXPORT
  30. -DAWS_COMMON_USE_IMPORT_EXPORT
  31. -DAWS_COMPRESSION_USE_IMPORT_EXPORT
  32. -DAWS_CRT_CPP_USE_IMPORT_EXPORT
  33. -DAWS_EVENT_STREAM_USE_IMPORT_EXPORT
  34. -DAWS_HTTP_USE_IMPORT_EXPORT
  35. -DAWS_IO_USE_IMPORT_EXPORT
  36. -DAWS_MQTT_USE_IMPORT_EXPORT
  37. -DAWS_MQTT_WITH_WEBSOCKETS
  38. -DAWS_S3_USE_IMPORT_EXPORT
  39. -DAWS_SDKUTILS_USE_IMPORT_EXPORT
  40. -DAWS_USE_EPOLL
  41. -DCJSON_HIDE_SYMBOLS
  42. -DS2N_CLONE_SUPPORTED
  43. -DS2N_CPUID_AVAILABLE
  44. -DS2N_FALL_THROUGH_SUPPORTED
  45. -DS2N_FEATURES_AVAILABLE
  46. -DS2N_KYBER512R3_AVX2_BMI2
  47. -DS2N_LIBCRYPTO_SUPPORTS_EVP_MD5_SHA1_HASH
  48. -DS2N_LIBCRYPTO_SUPPORTS_EVP_MD_CTX_SET_PKEY_CTX
  49. -DS2N_LIBCRYPTO_SUPPORTS_EVP_RC4
  50. -DS2N_MADVISE_SUPPORTED
  51. -DS2N_PLATFORM_SUPPORTS_KTLS
  52. -DS2N_STACKTRACE
  53. -DS2N___RESTRICT__SUPPORTED
  54. )
  55. IF (OS_WINDOWS)
  56. CFLAGS(
  57. -DAWS_CRT_CPP_EXPORTS
  58. )
  59. ENDIF()
  60. SRCS(
  61. source/Allocator.cpp
  62. source/Api.cpp
  63. source/DateTime.cpp
  64. source/ImdsClient.cpp
  65. source/JsonObject.cpp
  66. source/StringUtils.cpp
  67. source/Types.cpp
  68. source/UUID.cpp
  69. source/auth/Credentials.cpp
  70. source/auth/Sigv4Signing.cpp
  71. source/crypto/HMAC.cpp
  72. source/crypto/Hash.cpp
  73. source/endpoints/RuleEngine.cpp
  74. source/external/cJSON.cpp
  75. source/http/HttpConnection.cpp
  76. source/http/HttpConnectionManager.cpp
  77. source/http/HttpProxyStrategy.cpp
  78. source/http/HttpRequestResponse.cpp
  79. source/io/Bootstrap.cpp
  80. source/io/ChannelHandler.cpp
  81. source/io/EventLoopGroup.cpp
  82. source/io/HostResolver.cpp
  83. source/io/Pkcs11.cpp
  84. source/io/SocketOptions.cpp
  85. source/io/Stream.cpp
  86. source/io/TlsOptions.cpp
  87. source/io/Uri.cpp
  88. source/iot/Mqtt5Client.cpp
  89. source/iot/MqttClient.cpp
  90. source/iot/MqttCommon.cpp
  91. source/mqtt/Mqtt5Client.cpp
  92. source/mqtt/Mqtt5Packets.cpp
  93. source/mqtt/MqttClient.cpp
  94. )
  95. END()