aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/http
diff options
context:
space:
mode:
authorthegeorg <thegeorg@yandex-team.com>2022-12-15 19:25:15 +0300
committerthegeorg <thegeorg@yandex-team.com>2022-12-15 19:25:15 +0300
commit0c31d97afd7858af5f8f858c8addf91655ca9ccc (patch)
tree4d8a246db168f7beaafcd06d486c034115c2123d /library/cpp/http
parentd1d5f5e00df0dd6efc00880dd8283477fc643aaf (diff)
downloadydb-0c31d97afd7858af5f8f858c8addf91655ca9ccc.tar.gz
Sync linux-headers instead of using system ones
Diffstat (limited to 'library/cpp/http')
-rw-r--r--library/cpp/http/fetch/CMakeLists.darwin.txt40
-rw-r--r--library/cpp/http/fetch/CMakeLists.linux-aarch64.txt41
-rw-r--r--library/cpp/http/fetch/CMakeLists.linux.txt41
-rw-r--r--library/cpp/http/fetch/CMakeLists.txt39
-rw-r--r--library/cpp/http/io/CMakeLists.darwin.txt24
-rw-r--r--library/cpp/http/io/CMakeLists.linux-aarch64.txt25
-rw-r--r--library/cpp/http/io/CMakeLists.linux.txt25
-rw-r--r--library/cpp/http/io/CMakeLists.txt23
-rw-r--r--library/cpp/http/misc/CMakeLists.darwin.txt29
-rw-r--r--library/cpp/http/misc/CMakeLists.linux-aarch64.txt30
-rw-r--r--library/cpp/http/misc/CMakeLists.linux.txt30
-rw-r--r--library/cpp/http/misc/CMakeLists.txt28
-rw-r--r--library/cpp/http/server/CMakeLists.darwin.txt25
-rw-r--r--library/cpp/http/server/CMakeLists.linux-aarch64.txt26
-rw-r--r--library/cpp/http/server/CMakeLists.linux.txt26
-rw-r--r--library/cpp/http/server/CMakeLists.txt24
-rw-r--r--library/cpp/http/simple/CMakeLists.darwin.txt21
-rw-r--r--library/cpp/http/simple/CMakeLists.linux-aarch64.txt22
-rw-r--r--library/cpp/http/simple/CMakeLists.linux.txt22
-rw-r--r--library/cpp/http/simple/CMakeLists.txt20
20 files changed, 462 insertions, 99 deletions
diff --git a/library/cpp/http/fetch/CMakeLists.darwin.txt b/library/cpp/http/fetch/CMakeLists.darwin.txt
new file mode 100644
index 00000000000..eb8cdf251a2
--- /dev/null
+++ b/library/cpp/http/fetch/CMakeLists.darwin.txt
@@ -0,0 +1,40 @@
+
+# This file was gererated 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.
+
+
+find_package(ZLIB REQUIRED)
+
+add_library(cpp-http-fetch)
+target_link_libraries(cpp-http-fetch PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ ZLIB::ZLIB
+ library-cpp-charset
+ cpp-digest-md5
+ cpp-http-misc
+ library-cpp-logger
+ cpp-mime-types
+ library-cpp-uri
+ tools-enum_parser-enum_serialization_runtime
+)
+target_sources(cpp-http-fetch PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/fetch/http_digest.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/fetch/http_socket.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/fetch/httpheader.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/fetch/httpload.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/fetch/exthttpcodes.cpp
+)
+generate_enum_serilization(cpp-http-fetch
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/fetch/httpheader.h
+ INCLUDE_HEADERS
+ library/cpp/http/fetch/httpheader.h
+)
+target_ragel_lexers(cpp-http-fetch
+ PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/fetch/httpfsm.rl6
+ -CG1
+)
diff --git a/library/cpp/http/fetch/CMakeLists.linux-aarch64.txt b/library/cpp/http/fetch/CMakeLists.linux-aarch64.txt
new file mode 100644
index 00000000000..639b821e709
--- /dev/null
+++ b/library/cpp/http/fetch/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,41 @@
+
+# This file was gererated 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.
+
+
+find_package(ZLIB REQUIRED)
+
+add_library(cpp-http-fetch)
+target_link_libraries(cpp-http-fetch PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ ZLIB::ZLIB
+ library-cpp-charset
+ cpp-digest-md5
+ cpp-http-misc
+ library-cpp-logger
+ cpp-mime-types
+ library-cpp-uri
+ tools-enum_parser-enum_serialization_runtime
+)
+target_sources(cpp-http-fetch PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/fetch/http_digest.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/fetch/http_socket.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/fetch/httpheader.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/fetch/httpload.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/fetch/exthttpcodes.cpp
+)
+generate_enum_serilization(cpp-http-fetch
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/fetch/httpheader.h
+ INCLUDE_HEADERS
+ library/cpp/http/fetch/httpheader.h
+)
+target_ragel_lexers(cpp-http-fetch
+ PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/fetch/httpfsm.rl6
+ -CG1
+)
diff --git a/library/cpp/http/fetch/CMakeLists.linux.txt b/library/cpp/http/fetch/CMakeLists.linux.txt
new file mode 100644
index 00000000000..639b821e709
--- /dev/null
+++ b/library/cpp/http/fetch/CMakeLists.linux.txt
@@ -0,0 +1,41 @@
+
+# This file was gererated 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.
+
+
+find_package(ZLIB REQUIRED)
+
+add_library(cpp-http-fetch)
+target_link_libraries(cpp-http-fetch PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ ZLIB::ZLIB
+ library-cpp-charset
+ cpp-digest-md5
+ cpp-http-misc
+ library-cpp-logger
+ cpp-mime-types
+ library-cpp-uri
+ tools-enum_parser-enum_serialization_runtime
+)
+target_sources(cpp-http-fetch PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/fetch/http_digest.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/fetch/http_socket.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/fetch/httpheader.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/fetch/httpload.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/fetch/exthttpcodes.cpp
+)
+generate_enum_serilization(cpp-http-fetch
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/fetch/httpheader.h
+ INCLUDE_HEADERS
+ library/cpp/http/fetch/httpheader.h
+)
+target_ragel_lexers(cpp-http-fetch
+ PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/fetch/httpfsm.rl6
+ -CG1
+)
diff --git a/library/cpp/http/fetch/CMakeLists.txt b/library/cpp/http/fetch/CMakeLists.txt
index eb8cdf251a2..3e0811fb22e 100644
--- a/library/cpp/http/fetch/CMakeLists.txt
+++ b/library/cpp/http/fetch/CMakeLists.txt
@@ -6,35 +6,10 @@
# original buildsystem will not be accepted.
-find_package(ZLIB REQUIRED)
-
-add_library(cpp-http-fetch)
-target_link_libraries(cpp-http-fetch PUBLIC
- contrib-libs-cxxsupp
- yutil
- ZLIB::ZLIB
- library-cpp-charset
- cpp-digest-md5
- cpp-http-misc
- library-cpp-logger
- cpp-mime-types
- library-cpp-uri
- tools-enum_parser-enum_serialization_runtime
-)
-target_sources(cpp-http-fetch PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/http/fetch/http_digest.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/http/fetch/http_socket.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/http/fetch/httpheader.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/http/fetch/httpload.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/http/fetch/exthttpcodes.cpp
-)
-generate_enum_serilization(cpp-http-fetch
- ${CMAKE_SOURCE_DIR}/library/cpp/http/fetch/httpheader.h
- INCLUDE_HEADERS
- library/cpp/http/fetch/httpheader.h
-)
-target_ragel_lexers(cpp-http-fetch
- PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/http/fetch/httpfsm.rl6
- -CG1
-)
+if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT ANDROID)
+ include(CMakeLists.linux-aarch64.txt)
+elseif (APPLE)
+ include(CMakeLists.darwin.txt)
+elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID)
+ include(CMakeLists.linux.txt)
+endif()
diff --git a/library/cpp/http/io/CMakeLists.darwin.txt b/library/cpp/http/io/CMakeLists.darwin.txt
new file mode 100644
index 00000000000..b8e477b6b73
--- /dev/null
+++ b/library/cpp/http/io/CMakeLists.darwin.txt
@@ -0,0 +1,24 @@
+
+# This file was gererated 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(cpp-http-io)
+target_link_libraries(cpp-http-io PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-blockcodecs
+ cpp-streams-brotli
+ cpp-streams-bzip2
+ cpp-streams-lzma
+)
+target_sources(cpp-http-io PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/io/chunk.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/io/compression.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/io/headers.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/io/stream.cpp
+)
diff --git a/library/cpp/http/io/CMakeLists.linux-aarch64.txt b/library/cpp/http/io/CMakeLists.linux-aarch64.txt
new file mode 100644
index 00000000000..7ff56c321d8
--- /dev/null
+++ b/library/cpp/http/io/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,25 @@
+
+# This file was gererated 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(cpp-http-io)
+target_link_libraries(cpp-http-io PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-blockcodecs
+ cpp-streams-brotli
+ cpp-streams-bzip2
+ cpp-streams-lzma
+)
+target_sources(cpp-http-io PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/io/chunk.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/io/compression.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/io/headers.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/io/stream.cpp
+)
diff --git a/library/cpp/http/io/CMakeLists.linux.txt b/library/cpp/http/io/CMakeLists.linux.txt
new file mode 100644
index 00000000000..7ff56c321d8
--- /dev/null
+++ b/library/cpp/http/io/CMakeLists.linux.txt
@@ -0,0 +1,25 @@
+
+# This file was gererated 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(cpp-http-io)
+target_link_libraries(cpp-http-io PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-blockcodecs
+ cpp-streams-brotli
+ cpp-streams-bzip2
+ cpp-streams-lzma
+)
+target_sources(cpp-http-io PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/io/chunk.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/io/compression.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/io/headers.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/io/stream.cpp
+)
diff --git a/library/cpp/http/io/CMakeLists.txt b/library/cpp/http/io/CMakeLists.txt
index b8e477b6b73..3e0811fb22e 100644
--- a/library/cpp/http/io/CMakeLists.txt
+++ b/library/cpp/http/io/CMakeLists.txt
@@ -6,19 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-http-io)
-target_link_libraries(cpp-http-io PUBLIC
- contrib-libs-cxxsupp
- yutil
- library-cpp-blockcodecs
- cpp-streams-brotli
- cpp-streams-bzip2
- cpp-streams-lzma
-)
-target_sources(cpp-http-io PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/http/io/chunk.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/http/io/compression.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/http/io/headers.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/http/io/stream.cpp
-)
+if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT ANDROID)
+ include(CMakeLists.linux-aarch64.txt)
+elseif (APPLE)
+ include(CMakeLists.darwin.txt)
+elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID)
+ include(CMakeLists.linux.txt)
+endif()
diff --git a/library/cpp/http/misc/CMakeLists.darwin.txt b/library/cpp/http/misc/CMakeLists.darwin.txt
new file mode 100644
index 00000000000..e787e14a911
--- /dev/null
+++ b/library/cpp/http/misc/CMakeLists.darwin.txt
@@ -0,0 +1,29 @@
+
+# This file was gererated 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(cpp-http-misc)
+target_link_libraries(cpp-http-misc PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ tools-enum_parser-enum_serialization_runtime
+ library-cpp-case_insensitive_string
+ library-cpp-cgiparam
+ cpp-digest-lower_case
+)
+target_sources(cpp-http-misc PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/misc/httpcodes.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/misc/httpdate.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/misc/httpreqdata.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/misc/parsed_request.cpp
+)
+generate_enum_serilization(cpp-http-misc
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/misc/httpcodes.h
+ INCLUDE_HEADERS
+ library/cpp/http/misc/httpcodes.h
+)
diff --git a/library/cpp/http/misc/CMakeLists.linux-aarch64.txt b/library/cpp/http/misc/CMakeLists.linux-aarch64.txt
new file mode 100644
index 00000000000..94a85278834
--- /dev/null
+++ b/library/cpp/http/misc/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,30 @@
+
+# This file was gererated 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(cpp-http-misc)
+target_link_libraries(cpp-http-misc PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ tools-enum_parser-enum_serialization_runtime
+ library-cpp-case_insensitive_string
+ library-cpp-cgiparam
+ cpp-digest-lower_case
+)
+target_sources(cpp-http-misc PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/misc/httpcodes.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/misc/httpdate.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/misc/httpreqdata.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/misc/parsed_request.cpp
+)
+generate_enum_serilization(cpp-http-misc
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/misc/httpcodes.h
+ INCLUDE_HEADERS
+ library/cpp/http/misc/httpcodes.h
+)
diff --git a/library/cpp/http/misc/CMakeLists.linux.txt b/library/cpp/http/misc/CMakeLists.linux.txt
new file mode 100644
index 00000000000..94a85278834
--- /dev/null
+++ b/library/cpp/http/misc/CMakeLists.linux.txt
@@ -0,0 +1,30 @@
+
+# This file was gererated 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(cpp-http-misc)
+target_link_libraries(cpp-http-misc PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ tools-enum_parser-enum_serialization_runtime
+ library-cpp-case_insensitive_string
+ library-cpp-cgiparam
+ cpp-digest-lower_case
+)
+target_sources(cpp-http-misc PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/misc/httpcodes.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/misc/httpdate.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/misc/httpreqdata.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/misc/parsed_request.cpp
+)
+generate_enum_serilization(cpp-http-misc
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/misc/httpcodes.h
+ INCLUDE_HEADERS
+ library/cpp/http/misc/httpcodes.h
+)
diff --git a/library/cpp/http/misc/CMakeLists.txt b/library/cpp/http/misc/CMakeLists.txt
index e787e14a911..3e0811fb22e 100644
--- a/library/cpp/http/misc/CMakeLists.txt
+++ b/library/cpp/http/misc/CMakeLists.txt
@@ -6,24 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-http-misc)
-target_link_libraries(cpp-http-misc PUBLIC
- contrib-libs-cxxsupp
- yutil
- tools-enum_parser-enum_serialization_runtime
- library-cpp-case_insensitive_string
- library-cpp-cgiparam
- cpp-digest-lower_case
-)
-target_sources(cpp-http-misc PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/http/misc/httpcodes.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/http/misc/httpdate.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/http/misc/httpreqdata.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/http/misc/parsed_request.cpp
-)
-generate_enum_serilization(cpp-http-misc
- ${CMAKE_SOURCE_DIR}/library/cpp/http/misc/httpcodes.h
- INCLUDE_HEADERS
- library/cpp/http/misc/httpcodes.h
-)
+if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT ANDROID)
+ include(CMakeLists.linux-aarch64.txt)
+elseif (APPLE)
+ include(CMakeLists.darwin.txt)
+elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID)
+ include(CMakeLists.linux.txt)
+endif()
diff --git a/library/cpp/http/server/CMakeLists.darwin.txt b/library/cpp/http/server/CMakeLists.darwin.txt
new file mode 100644
index 00000000000..34cba14043f
--- /dev/null
+++ b/library/cpp/http/server/CMakeLists.darwin.txt
@@ -0,0 +1,25 @@
+
+# This file was gererated 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(cpp-http-server)
+target_link_libraries(cpp-http-server PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ cpp-http-misc
+ cpp-http-io
+ cpp-threading-equeue
+ cpp-deprecated-atomic
+)
+target_sources(cpp-http-server PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/server/conn.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/server/http.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/server/http_ex.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/server/options.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/server/response.cpp
+)
diff --git a/library/cpp/http/server/CMakeLists.linux-aarch64.txt b/library/cpp/http/server/CMakeLists.linux-aarch64.txt
new file mode 100644
index 00000000000..90cc9685a6d
--- /dev/null
+++ b/library/cpp/http/server/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,26 @@
+
+# This file was gererated 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(cpp-http-server)
+target_link_libraries(cpp-http-server PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-http-misc
+ cpp-http-io
+ cpp-threading-equeue
+ cpp-deprecated-atomic
+)
+target_sources(cpp-http-server PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/server/conn.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/server/http.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/server/http_ex.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/server/options.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/server/response.cpp
+)
diff --git a/library/cpp/http/server/CMakeLists.linux.txt b/library/cpp/http/server/CMakeLists.linux.txt
new file mode 100644
index 00000000000..90cc9685a6d
--- /dev/null
+++ b/library/cpp/http/server/CMakeLists.linux.txt
@@ -0,0 +1,26 @@
+
+# This file was gererated 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(cpp-http-server)
+target_link_libraries(cpp-http-server PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-http-misc
+ cpp-http-io
+ cpp-threading-equeue
+ cpp-deprecated-atomic
+)
+target_sources(cpp-http-server PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/server/conn.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/server/http.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/server/http_ex.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/server/options.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/server/response.cpp
+)
diff --git a/library/cpp/http/server/CMakeLists.txt b/library/cpp/http/server/CMakeLists.txt
index 34cba14043f..3e0811fb22e 100644
--- a/library/cpp/http/server/CMakeLists.txt
+++ b/library/cpp/http/server/CMakeLists.txt
@@ -6,20 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-http-server)
-target_link_libraries(cpp-http-server PUBLIC
- contrib-libs-cxxsupp
- yutil
- cpp-http-misc
- cpp-http-io
- cpp-threading-equeue
- cpp-deprecated-atomic
-)
-target_sources(cpp-http-server PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/http/server/conn.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/http/server/http.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/http/server/http_ex.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/http/server/options.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/http/server/response.cpp
-)
+if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT ANDROID)
+ include(CMakeLists.linux-aarch64.txt)
+elseif (APPLE)
+ include(CMakeLists.darwin.txt)
+elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID)
+ include(CMakeLists.linux.txt)
+endif()
diff --git a/library/cpp/http/simple/CMakeLists.darwin.txt b/library/cpp/http/simple/CMakeLists.darwin.txt
new file mode 100644
index 00000000000..317a748a895
--- /dev/null
+++ b/library/cpp/http/simple/CMakeLists.darwin.txt
@@ -0,0 +1,21 @@
+
+# This file was gererated 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(cpp-http-simple)
+target_link_libraries(cpp-http-simple PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ cpp-http-io
+ cpp-openssl-io
+ cpp-string_utils-url
+ library-cpp-uri
+)
+target_sources(cpp-http-simple PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/simple/http_client.cpp
+)
diff --git a/library/cpp/http/simple/CMakeLists.linux-aarch64.txt b/library/cpp/http/simple/CMakeLists.linux-aarch64.txt
new file mode 100644
index 00000000000..30a15dbd77a
--- /dev/null
+++ b/library/cpp/http/simple/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,22 @@
+
+# This file was gererated 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(cpp-http-simple)
+target_link_libraries(cpp-http-simple PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-http-io
+ cpp-openssl-io
+ cpp-string_utils-url
+ library-cpp-uri
+)
+target_sources(cpp-http-simple PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/simple/http_client.cpp
+)
diff --git a/library/cpp/http/simple/CMakeLists.linux.txt b/library/cpp/http/simple/CMakeLists.linux.txt
new file mode 100644
index 00000000000..30a15dbd77a
--- /dev/null
+++ b/library/cpp/http/simple/CMakeLists.linux.txt
@@ -0,0 +1,22 @@
+
+# This file was gererated 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(cpp-http-simple)
+target_link_libraries(cpp-http-simple PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-http-io
+ cpp-openssl-io
+ cpp-string_utils-url
+ library-cpp-uri
+)
+target_sources(cpp-http-simple PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/http/simple/http_client.cpp
+)
diff --git a/library/cpp/http/simple/CMakeLists.txt b/library/cpp/http/simple/CMakeLists.txt
index 317a748a895..3e0811fb22e 100644
--- a/library/cpp/http/simple/CMakeLists.txt
+++ b/library/cpp/http/simple/CMakeLists.txt
@@ -6,16 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-http-simple)
-target_link_libraries(cpp-http-simple PUBLIC
- contrib-libs-cxxsupp
- yutil
- cpp-http-io
- cpp-openssl-io
- cpp-string_utils-url
- library-cpp-uri
-)
-target_sources(cpp-http-simple PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/http/simple/http_client.cpp
-)
+if (CMAKE_SYSTEM_PROCESSOR STREQUAL "aarch64" AND UNIX AND NOT APPLE AND NOT ANDROID)
+ include(CMakeLists.linux-aarch64.txt)
+elseif (APPLE)
+ include(CMakeLists.darwin.txt)
+elseif (CMAKE_SYSTEM_PROCESSOR STREQUAL "x86_64" AND UNIX AND NOT APPLE AND NOT ANDROID)
+ include(CMakeLists.linux.txt)
+endif()