ya.make 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223
  1. # Generated by devtools/yamaker.
  2. LIBRARY()
  3. LICENSE(
  4. Apache-2.0 AND
  5. MIT AND
  6. Zlib
  7. )
  8. LICENSE_TEXTS(.yandex_meta/licenses.list.txt)
  9. PEERDIR(
  10. contrib/libs/curl
  11. contrib/libs/openssl
  12. contrib/libs/zlib
  13. contrib/restricted/aws/aws-c-auth
  14. contrib/restricted/aws/aws-c-cal
  15. contrib/restricted/aws/aws-c-common
  16. contrib/restricted/aws/aws-c-event-stream
  17. contrib/restricted/aws/aws-c-http
  18. contrib/restricted/aws/aws-c-io
  19. contrib/restricted/aws/aws-c-mqtt
  20. contrib/restricted/aws/aws-c-sdkutils
  21. contrib/restricted/aws/aws-checksums
  22. contrib/restricted/aws/aws-crt-cpp
  23. )
  24. ADDINCL(
  25. GLOBAL contrib/libs/aws-sdk-cpp/aws-cpp-sdk-core/include
  26. )
  27. NO_COMPILER_WARNINGS()
  28. NO_UTIL()
  29. CFLAGS(
  30. -DAWS_AUTH_USE_IMPORT_EXPORT
  31. -DAWS_CAL_USE_IMPORT_EXPORT
  32. -DAWS_CHECKSUMS_USE_IMPORT_EXPORT
  33. -DAWS_COMMON_USE_IMPORT_EXPORT
  34. -DAWS_COMPRESSION_USE_IMPORT_EXPORT
  35. -DAWS_CRT_CPP_USE_IMPORT_EXPORT
  36. -DAWS_EVENT_STREAM_USE_IMPORT_EXPORT
  37. -DAWS_HTTP_USE_IMPORT_EXPORT
  38. -DAWS_IO_USE_IMPORT_EXPORT
  39. -DAWS_MQTT_USE_IMPORT_EXPORT
  40. -DAWS_MQTT_WITH_WEBSOCKETS
  41. -DAWS_S3_USE_IMPORT_EXPORT
  42. -DAWS_SDKUTILS_USE_IMPORT_EXPORT
  43. -DAWS_SDK_VERSION_MAJOR=1
  44. -DAWS_SDK_VERSION_MINOR=11
  45. -DAWS_SDK_VERSION_PATCH=37
  46. -DAWS_TEST_REGION=US_EAST_1
  47. -DAWS_USE_EPOLL
  48. -DCURL_HAS_H2
  49. -DCURL_HAS_TLS_PROXY
  50. -DENABLED_REQUEST_COMPRESSION
  51. -DENABLED_ZLIB_REQUEST_COMPRESSION
  52. -DENABLE_CURL_CLIENT
  53. -DENABLE_CURL_LOGGING
  54. -DENABLE_OPENSSL_ENCRYPTION
  55. -DHAS_PATHCONF
  56. -DHAS_UMASK
  57. -DS2N_CLONE_SUPPORTED
  58. -DS2N_CPUID_AVAILABLE
  59. -DS2N_FALL_THROUGH_SUPPORTED
  60. -DS2N_FEATURES_AVAILABLE
  61. -DS2N_KYBER512R3_AVX2_BMI2
  62. -DS2N_LIBCRYPTO_SUPPORTS_EVP_MD5_SHA1_HASH
  63. -DS2N_LIBCRYPTO_SUPPORTS_EVP_MD_CTX_SET_PKEY_CTX
  64. -DS2N_LIBCRYPTO_SUPPORTS_EVP_RC4
  65. -DS2N_MADVISE_SUPPORTED
  66. -DS2N_PLATFORM_SUPPORTS_KTLS
  67. -DS2N_STACKTRACE
  68. -DS2N___RESTRICT__SUPPORTED
  69. )
  70. SRCS(
  71. source/AmazonSerializableWebServiceRequest.cpp
  72. source/AmazonStreamingWebServiceRequest.cpp
  73. source/AmazonWebServiceRequest.cpp
  74. source/Aws.cpp
  75. source/Globals.cpp
  76. source/Region.cpp
  77. source/Version.cpp
  78. source/auth/AWSCredentialsProvider.cpp
  79. source/auth/AWSCredentialsProviderChain.cpp
  80. source/auth/SSOCredentialsProvider.cpp
  81. source/auth/STSCredentialsProvider.cpp
  82. source/auth/bearer-token-provider/DefaultBearerTokenProviderChain.cpp
  83. source/auth/bearer-token-provider/SSOBearerTokenProvider.cpp
  84. source/auth/signer-provider/BearerTokenAuthSignerProvider.cpp
  85. source/auth/signer-provider/DefaultAuthSignerProvider.cpp
  86. source/auth/signer/AWSAuthBearerSigner.cpp
  87. source/auth/signer/AWSAuthEventStreamV4Signer.cpp
  88. source/auth/signer/AWSAuthSignerCommon.cpp
  89. source/auth/signer/AWSAuthSignerHelper.cpp
  90. source/auth/signer/AWSAuthV4Signer.cpp
  91. source/auth/signer/AWSNullSigner.cpp
  92. source/client/AWSClient.cpp
  93. source/client/AWSErrorMarshaller.cpp
  94. source/client/AWSJsonClient.cpp
  95. source/client/AWSUrlPresigner.cpp
  96. source/client/AWSXmlClient.cpp
  97. source/client/AdaptiveRetryStrategy.cpp
  98. source/client/AsyncCallerContext.cpp
  99. source/client/ClientConfiguration.cpp
  100. source/client/CoreErrors.cpp
  101. source/client/DefaultRetryStrategy.cpp
  102. source/client/GenericClientConfiguration.cpp
  103. source/client/RequestCompression.cpp
  104. source/client/RetryStrategy.cpp
  105. source/client/SpecifiedRetryableErrorsRetryStrategy.cpp
  106. source/config/AWSConfigFileProfileConfigLoader.cpp
  107. source/config/AWSProfileConfigLoaderBase.cpp
  108. source/config/ConfigAndCredentialsCacheManager.cpp
  109. source/config/EC2InstanceProfileConfigLoader.cpp
  110. source/config/defaults/ClientConfigurationDefaults.cpp
  111. source/endpoint/AWSEndpoint.cpp
  112. source/endpoint/AWSPartitions.cpp
  113. source/endpoint/BuiltInParameters.cpp
  114. source/endpoint/ClientContextParameters.cpp
  115. source/endpoint/DefaultEndpointProvider.cpp
  116. source/endpoint/EndpointProviderBase.cpp
  117. source/endpoint/internal/AWSEndpointAttribute.cpp
  118. source/external/cjson/cJSON.cpp
  119. source/external/tinyxml2/tinyxml2.cpp
  120. source/http/HttpClient.cpp
  121. source/http/HttpClientFactory.cpp
  122. source/http/HttpRequest.cpp
  123. source/http/HttpResponse.cpp
  124. source/http/HttpTypes.cpp
  125. source/http/Scheme.cpp
  126. source/http/URI.cpp
  127. source/http/curl/CurlHandleContainer.cpp
  128. source/http/curl/CurlHttpClient.cpp
  129. source/http/standard/StandardHttpRequest.cpp
  130. source/http/standard/StandardHttpResponse.cpp
  131. source/internal/AWSHttpResourceClient.cpp
  132. source/monitoring/DefaultMonitoring.cpp
  133. source/monitoring/HttpClientMetrics.cpp
  134. source/monitoring/MonitoringManager.cpp
  135. source/utils/ARN.cpp
  136. source/utils/Array.cpp
  137. source/utils/DNS.cpp
  138. source/utils/DateTimeCommon.cpp
  139. source/utils/Directory.cpp
  140. source/utils/Document.cpp
  141. source/utils/EnumParseOverflowContainer.cpp
  142. source/utils/FileSystemUtils.cpp
  143. source/utils/GetTheLights.cpp
  144. source/utils/HashingUtils.cpp
  145. source/utils/StringUtils.cpp
  146. source/utils/TempFile.cpp
  147. source/utils/UUID.cpp
  148. source/utils/base64/Base64.cpp
  149. source/utils/crypto/CRC32.cpp
  150. source/utils/crypto/Cipher.cpp
  151. source/utils/crypto/ContentCryptoMaterial.cpp
  152. source/utils/crypto/ContentCryptoScheme.cpp
  153. source/utils/crypto/CryptoBuf.cpp
  154. source/utils/crypto/CryptoStream.cpp
  155. source/utils/crypto/EncryptionMaterials.cpp
  156. source/utils/crypto/KeyWrapAlgorithm.cpp
  157. source/utils/crypto/MD5.cpp
  158. source/utils/crypto/Sha1.cpp
  159. source/utils/crypto/Sha256.cpp
  160. source/utils/crypto/Sha256HMAC.cpp
  161. source/utils/crypto/factory/Factories.cpp
  162. source/utils/crypto/openssl/CryptoImpl.cpp
  163. source/utils/event/EventDecoderStream.cpp
  164. source/utils/event/EventEncoderStream.cpp
  165. source/utils/event/EventHeader.cpp
  166. source/utils/event/EventMessage.cpp
  167. source/utils/event/EventStreamBuf.cpp
  168. source/utils/event/EventStreamDecoder.cpp
  169. source/utils/event/EventStreamEncoder.cpp
  170. source/utils/event/EventStreamErrors.cpp
  171. source/utils/json/JsonSerializer.cpp
  172. source/utils/logging/AWSLogging.cpp
  173. source/utils/logging/CRTLogSystem.cpp
  174. source/utils/logging/CRTLogging.cpp
  175. source/utils/logging/ConsoleLogSystem.cpp
  176. source/utils/logging/DefaultLogSystem.cpp
  177. source/utils/logging/FormattedLogSystem.cpp
  178. source/utils/logging/LogLevel.cpp
  179. source/utils/memory/AWSMemory.cpp
  180. source/utils/memory/stl/SimpleStringStream.cpp
  181. source/utils/stream/ConcurrentStreamBuf.cpp
  182. source/utils/stream/PreallocatedStreamBuf.cpp
  183. source/utils/stream/ResponseStream.cpp
  184. source/utils/stream/SimpleStreamBuf.cpp
  185. source/utils/threading/Executor.cpp
  186. source/utils/threading/ReaderWriterLock.cpp
  187. source/utils/threading/Semaphore.cpp
  188. source/utils/threading/ThreadTask.cpp
  189. source/utils/xml/XmlSerializer.cpp
  190. )
  191. IF (OS_WINDOWS)
  192. SRCS(
  193. source/net/windows/Net.cpp
  194. source/net/windows/SimpleUDP.cpp
  195. source/platform/windows/Environment.cpp
  196. source/platform/windows/FileSystem.cpp
  197. source/platform/windows/OSVersionInfo.cpp
  198. source/platform/windows/Security.cpp
  199. source/platform/windows/Time.cpp
  200. )
  201. ELSE()
  202. SRCS(
  203. source/net/linux-shared/Net.cpp
  204. source/net/linux-shared/SimpleUDP.cpp
  205. source/platform/linux-shared/Environment.cpp
  206. source/platform/linux-shared/FileSystem.cpp
  207. source/platform/linux-shared/OSVersionInfo.cpp
  208. source/platform/linux-shared/Security.cpp
  209. source/platform/linux-shared/Time.cpp
  210. )
  211. ENDIF()
  212. END()