summaryrefslogtreecommitdiffstats
path: root/library/cpp/actors/http
diff options
context:
space:
mode:
authorsvidyuk <[email protected]>2023-11-24 13:37:43 +0300
committersvidyuk <[email protected]>2023-11-24 14:44:06 +0300
commit2bb1b2fb5d0028e709fb516f0c88c3a66ba6a457 (patch)
treeaddbbf6332d3df6d6a657d3c7b8a4159ba58be63 /library/cpp/actors/http
parent850c48ccf9cadbf8096c6b5015e064c38d0d912e (diff)
Revert commit rXXXXXX,Add env semantic
Diffstat (limited to 'library/cpp/actors/http')
-rw-r--r--library/cpp/actors/http/ut/CMakeLists.darwin-arm64.txt13
-rw-r--r--library/cpp/actors/http/ut/CMakeLists.darwin-x86_64.txt14
-rw-r--r--library/cpp/actors/http/ut/CMakeLists.linux-aarch64.txt14
-rw-r--r--library/cpp/actors/http/ut/CMakeLists.linux-x86_64.txt16
-rw-r--r--library/cpp/actors/http/ut/CMakeLists.windows-x86_64.txt11
5 files changed, 68 insertions, 0 deletions
diff --git a/library/cpp/actors/http/ut/CMakeLists.darwin-arm64.txt b/library/cpp/actors/http/ut/CMakeLists.darwin-arm64.txt
index cef340e2b9c..f9c9afac615 100644
--- a/library/cpp/actors/http/ut/CMakeLists.darwin-arm64.txt
+++ b/library/cpp/actors/http/ut/CMakeLists.darwin-arm64.txt
@@ -11,6 +11,13 @@ add_executable(library-cpp-actors-http-ut)
target_include_directories(library-cpp-actors-http-ut PRIVATE
${CMAKE_SOURCE_DIR}/library/cpp/actors/http
)
+target_link_libraries(library-cpp-actors-http-ut PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ cpp-testing-unittest_main
+ cpp-actors-http
+ cpp-actors-testlib
+)
target_link_options(library-cpp-actors-http-ut PRIVATE
-Wl,-platform_version,macos,11.0,11.0
-fPIC
@@ -18,6 +25,9 @@ target_link_options(library-cpp-actors-http-ut PRIVATE
-framework
CoreFoundation
)
+target_sources(library-cpp-actors-http-ut PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/http/http_ut.cpp
+)
set_property(
TARGET
library-cpp-actors-http-ut
@@ -51,4 +61,7 @@ set_yunittest_property(
PROCESSORS
1
)
+target_allocator(library-cpp-actors-http-ut
+ system_allocator
+)
vcs_info(library-cpp-actors-http-ut)
diff --git a/library/cpp/actors/http/ut/CMakeLists.darwin-x86_64.txt b/library/cpp/actors/http/ut/CMakeLists.darwin-x86_64.txt
index cef340e2b9c..99677acae5e 100644
--- a/library/cpp/actors/http/ut/CMakeLists.darwin-x86_64.txt
+++ b/library/cpp/actors/http/ut/CMakeLists.darwin-x86_64.txt
@@ -11,6 +11,14 @@ add_executable(library-cpp-actors-http-ut)
target_include_directories(library-cpp-actors-http-ut PRIVATE
${CMAKE_SOURCE_DIR}/library/cpp/actors/http
)
+target_link_libraries(library-cpp-actors-http-ut PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-cpuid_check
+ cpp-testing-unittest_main
+ cpp-actors-http
+ cpp-actors-testlib
+)
target_link_options(library-cpp-actors-http-ut PRIVATE
-Wl,-platform_version,macos,11.0,11.0
-fPIC
@@ -18,6 +26,9 @@ target_link_options(library-cpp-actors-http-ut PRIVATE
-framework
CoreFoundation
)
+target_sources(library-cpp-actors-http-ut PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/http/http_ut.cpp
+)
set_property(
TARGET
library-cpp-actors-http-ut
@@ -51,4 +62,7 @@ set_yunittest_property(
PROCESSORS
1
)
+target_allocator(library-cpp-actors-http-ut
+ system_allocator
+)
vcs_info(library-cpp-actors-http-ut)
diff --git a/library/cpp/actors/http/ut/CMakeLists.linux-aarch64.txt b/library/cpp/actors/http/ut/CMakeLists.linux-aarch64.txt
index c7c67d7056f..8818e4418fe 100644
--- a/library/cpp/actors/http/ut/CMakeLists.linux-aarch64.txt
+++ b/library/cpp/actors/http/ut/CMakeLists.linux-aarch64.txt
@@ -11,6 +11,14 @@ add_executable(library-cpp-actors-http-ut)
target_include_directories(library-cpp-actors-http-ut PRIVATE
${CMAKE_SOURCE_DIR}/library/cpp/actors/http
)
+target_link_libraries(library-cpp-actors-http-ut PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-testing-unittest_main
+ cpp-actors-http
+ cpp-actors-testlib
+)
target_link_options(library-cpp-actors-http-ut PRIVATE
-ldl
-lrt
@@ -21,6 +29,9 @@ target_link_options(library-cpp-actors-http-ut PRIVATE
-lrt
-ldl
)
+target_sources(library-cpp-actors-http-ut PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/http/http_ut.cpp
+)
set_property(
TARGET
library-cpp-actors-http-ut
@@ -54,4 +65,7 @@ set_yunittest_property(
PROCESSORS
1
)
+target_allocator(library-cpp-actors-http-ut
+ cpp-malloc-jemalloc
+)
vcs_info(library-cpp-actors-http-ut)
diff --git a/library/cpp/actors/http/ut/CMakeLists.linux-x86_64.txt b/library/cpp/actors/http/ut/CMakeLists.linux-x86_64.txt
index c7c67d7056f..620f66ad003 100644
--- a/library/cpp/actors/http/ut/CMakeLists.linux-x86_64.txt
+++ b/library/cpp/actors/http/ut/CMakeLists.linux-x86_64.txt
@@ -11,6 +11,15 @@ add_executable(library-cpp-actors-http-ut)
target_include_directories(library-cpp-actors-http-ut PRIVATE
${CMAKE_SOURCE_DIR}/library/cpp/actors/http
)
+target_link_libraries(library-cpp-actors-http-ut PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-cpuid_check
+ cpp-testing-unittest_main
+ cpp-actors-http
+ cpp-actors-testlib
+)
target_link_options(library-cpp-actors-http-ut PRIVATE
-ldl
-lrt
@@ -21,6 +30,9 @@ target_link_options(library-cpp-actors-http-ut PRIVATE
-lrt
-ldl
)
+target_sources(library-cpp-actors-http-ut PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/actors/http/http_ut.cpp
+)
set_property(
TARGET
library-cpp-actors-http-ut
@@ -54,4 +66,8 @@ set_yunittest_property(
PROCESSORS
1
)
+target_allocator(library-cpp-actors-http-ut
+ cpp-malloc-tcmalloc
+ libs-tcmalloc-no_percpu_cache
+)
vcs_info(library-cpp-actors-http-ut)
diff --git a/library/cpp/actors/http/ut/CMakeLists.windows-x86_64.txt b/library/cpp/actors/http/ut/CMakeLists.windows-x86_64.txt
index 2ad6967c219..73603d626cd 100644
--- a/library/cpp/actors/http/ut/CMakeLists.windows-x86_64.txt
+++ b/library/cpp/actors/http/ut/CMakeLists.windows-x86_64.txt
@@ -11,6 +11,14 @@ add_executable(library-cpp-actors-http-ut)
target_include_directories(library-cpp-actors-http-ut PRIVATE
${CMAKE_SOURCE_DIR}/library/cpp/actors/http
)
+target_link_libraries(library-cpp-actors-http-ut PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-cpuid_check
+ cpp-testing-unittest_main
+ cpp-actors-http
+ cpp-actors-testlib
+)
set_property(
TARGET
library-cpp-actors-http-ut
@@ -44,4 +52,7 @@ set_yunittest_property(
PROCESSORS
1
)
+target_allocator(library-cpp-actors-http-ut
+ system_allocator
+)
vcs_info(library-cpp-actors-http-ut)