diff options
author | thegeorg <[email protected]> | 2022-05-25 15:07:36 +0300 |
---|---|---|
committer | thegeorg <[email protected]> | 2022-05-25 15:07:36 +0300 |
commit | a3a8a5f5ad55437fc27d02ec623b09679ce2bacc (patch) | |
tree | d2ef5d8db67b69cd3ecd1f455749b2f3fe8c203b | |
parent | a25da15cf6dbdf1966fa910ed67aadad39bb4735 (diff) |
Adapt ya.make files for piglet
ref:1150fa0022f08fae0f90854f77582952fc7df292
-rw-r--r-- | CMakeLists.darwin.txt | 1 | ||||
-rw-r--r-- | CMakeLists.linux.txt | 1 | ||||
-rw-r--r-- | library/cpp/threading/chunk_queue/CMakeLists.txt | 17 | ||||
-rw-r--r-- | ydb/public/sdk/cpp/client/ydb_persqueue_core/ut/basic_usage_ut.cpp | 1 | ||||
-rw-r--r-- | ydb/public/sdk/cpp/client/ydb_persqueue_core/ut/ut_utils/CMakeLists.txt | 1 |
5 files changed, 20 insertions, 1 deletions
diff --git a/CMakeLists.darwin.txt b/CMakeLists.darwin.txt index a9e6ed94b15..bc3fabb88cf 100644 --- a/CMakeLists.darwin.txt +++ b/CMakeLists.darwin.txt @@ -962,6 +962,7 @@ add_subdirectory(ydb/core/mind/ut) add_subdirectory(ydb/core/mind/ut_fat) add_subdirectory(ydb/core/persqueue/ut) add_subdirectory(ydb/public/sdk/cpp/client/ydb_persqueue_core/ut/ut_utils) +add_subdirectory(library/cpp/threading/chunk_queue) add_subdirectory(ydb/core/persqueue/ut_slow) add_subdirectory(ydb/core/quoter/ut) add_subdirectory(ydb/core/quoter/quoter_service_bandwidth_test) diff --git a/CMakeLists.linux.txt b/CMakeLists.linux.txt index 6893800ba86..5bb1174e0ed 100644 --- a/CMakeLists.linux.txt +++ b/CMakeLists.linux.txt @@ -1056,6 +1056,7 @@ add_subdirectory(ydb/core/mind/ut) add_subdirectory(ydb/core/mind/ut_fat) add_subdirectory(ydb/core/persqueue/ut) add_subdirectory(ydb/public/sdk/cpp/client/ydb_persqueue_core/ut/ut_utils) +add_subdirectory(library/cpp/threading/chunk_queue) add_subdirectory(ydb/core/persqueue/ut_slow) add_subdirectory(ydb/core/quoter/ut) add_subdirectory(ydb/core/quoter/quoter_service_bandwidth_test) diff --git a/library/cpp/threading/chunk_queue/CMakeLists.txt b/library/cpp/threading/chunk_queue/CMakeLists.txt new file mode 100644 index 00000000000..1887cec9c6e --- /dev/null +++ b/library/cpp/threading/chunk_queue/CMakeLists.txt @@ -0,0 +1,17 @@ + +# 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-threading-chunk_queue) +target_link_libraries(cpp-threading-chunk_queue PUBLIC + contrib-libs-cxxsupp + yutil +) +target_sources(cpp-threading-chunk_queue PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/threading/chunk_queue/queue.cpp +) diff --git a/ydb/public/sdk/cpp/client/ydb_persqueue_core/ut/basic_usage_ut.cpp b/ydb/public/sdk/cpp/client/ydb_persqueue_core/ut/basic_usage_ut.cpp index 65440859403..2260d1acb79 100644 --- a/ydb/public/sdk/cpp/client/ydb_persqueue_core/ut/basic_usage_ut.cpp +++ b/ydb/public/sdk/cpp/client/ydb_persqueue_core/ut/basic_usage_ut.cpp @@ -3,7 +3,6 @@ #include <library/cpp/testing/unittest/registar.h> #include <library/cpp/threading/future/future.h> #include <library/cpp/threading/future/async.h> -#include <library/cpp/threading/chunk_queue/queue.h> #include <util/generic/ptr.h> #include <util/generic/queue.h> diff --git a/ydb/public/sdk/cpp/client/ydb_persqueue_core/ut/ut_utils/CMakeLists.txt b/ydb/public/sdk/cpp/client/ydb_persqueue_core/ut/ut_utils/CMakeLists.txt index 3eed38d7c60..9d80c1d5324 100644 --- a/ydb/public/sdk/cpp/client/ydb_persqueue_core/ut/ut_utils/CMakeLists.txt +++ b/ydb/public/sdk/cpp/client/ydb_persqueue_core/ut/ut_utils/CMakeLists.txt @@ -16,6 +16,7 @@ target_link_libraries(ydb_persqueue_core-ut-ut_utils PUBLIC yutil cpp-grpc-server cpp-testing-unittest + cpp-threading-chunk_queue ydb-core-testlib library-persqueue-topic_parser_public cpp-client-ydb_driver |