ya.make 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  1. # Generated by devtools/yamaker from nixpkgs 23.05.
  2. LIBRARY()
  3. LICENSE(Apache-2.0)
  4. LICENSE_TEXTS(.yandex_meta/licenses.list.txt)
  5. VERSION(0.7.6)
  6. ORIGINAL_SOURCE(https://github.com/awslabs/aws-c-http/archive/v0.7.6.tar.gz)
  7. PEERDIR(
  8. contrib/restricted/aws/aws-c-cal
  9. contrib/restricted/aws/aws-c-common
  10. contrib/restricted/aws/aws-c-compression
  11. contrib/restricted/aws/aws-c-io
  12. )
  13. ADDINCL(
  14. GLOBAL contrib/restricted/aws/aws-c-http/include
  15. )
  16. NO_COMPILER_WARNINGS()
  17. NO_RUNTIME()
  18. CFLAGS(
  19. -DAWS_CAL_USE_IMPORT_EXPORT
  20. -DAWS_COMMON_USE_IMPORT_EXPORT
  21. -DAWS_COMPRESSION_USE_IMPORT_EXPORT
  22. -DAWS_HTTP_USE_IMPORT_EXPORT
  23. -DAWS_IO_USE_IMPORT_EXPORT
  24. -DAWS_USE_EPOLL
  25. -DHAVE_SYSCONF
  26. -DS2N_CLONE_SUPPORTED
  27. -DS2N_CPUID_AVAILABLE
  28. -DS2N_FALL_THROUGH_SUPPORTED
  29. -DS2N_FEATURES_AVAILABLE
  30. -DS2N_KYBER512R3_AVX2_BMI2
  31. -DS2N_LIBCRYPTO_SUPPORTS_EVP_MD5_SHA1_HASH
  32. -DS2N_LIBCRYPTO_SUPPORTS_EVP_MD_CTX_SET_PKEY_CTX
  33. -DS2N_LIBCRYPTO_SUPPORTS_EVP_RC4
  34. -DS2N_MADVISE_SUPPORTED
  35. -DS2N_PLATFORM_SUPPORTS_KTLS
  36. -DS2N_STACKTRACE
  37. -DS2N___RESTRICT__SUPPORTED
  38. )
  39. IF (CLANG_CL)
  40. CFLAGS(
  41. -DAWS_HTTP_EXPORTS
  42. -std=c99
  43. )
  44. ELSEIF (OS_WINDOWS)
  45. CFLAGS(
  46. -DAWS_HTTP_EXPORTS
  47. )
  48. ENDIF()
  49. SRCS(
  50. source/connection.c
  51. source/connection_manager.c
  52. source/connection_monitor.c
  53. source/h1_connection.c
  54. source/h1_decoder.c
  55. source/h1_encoder.c
  56. source/h1_stream.c
  57. source/h2_connection.c
  58. source/h2_decoder.c
  59. source/h2_frames.c
  60. source/h2_stream.c
  61. source/hpack.c
  62. source/hpack_decoder.c
  63. source/hpack_encoder.c
  64. source/hpack_huffman_static.c
  65. source/http.c
  66. source/http2_stream_manager.c
  67. source/proxy_connection.c
  68. source/proxy_strategy.c
  69. source/random_access_set.c
  70. source/request_response.c
  71. source/statistics.c
  72. source/strutil.c
  73. source/websocket.c
  74. source/websocket_bootstrap.c
  75. source/websocket_decoder.c
  76. source/websocket_encoder.c
  77. )
  78. END()