diff options
author | arcadia-devtools <arcadia-devtools@yandex-team.ru> | 2022-03-10 11:08:43 +0300 |
---|---|---|
committer | arcadia-devtools <arcadia-devtools@yandex-team.ru> | 2022-03-10 11:08:43 +0300 |
commit | d32759b7eb812b4a4033cc61e1e98245544b4992 (patch) | |
tree | 22bbb3e9b46c1b55818aaf475f699ae187ce328b /contrib/restricted/abseil-cpp/absl/base | |
parent | 471e9b902d01b70b2d12146772e30528a216ee82 (diff) | |
download | ydb-d32759b7eb812b4a4033cc61e1e98245544b4992.tar.gz |
intermediate changes
ref:7e819949a28b77d60c98019ed1950733e734a77e
Diffstat (limited to 'contrib/restricted/abseil-cpp/absl/base')
16 files changed, 240 insertions, 152 deletions
diff --git a/contrib/restricted/abseil-cpp/absl/base/CMakeLists.linux.txt b/contrib/restricted/abseil-cpp/absl/base/CMakeLists.linux.txt new file mode 100644 index 0000000000..74454e3c86 --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/base/CMakeLists.linux.txt @@ -0,0 +1,32 @@ + +# 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(abseil-cpp-absl-base) +target_compile_options(abseil-cpp-absl-base PRIVATE + -DNOMINMAX +) +target_include_directories(abseil-cpp-absl-base PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_include_directories(abseil-cpp-absl-base PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_link_libraries(abseil-cpp-absl-base PUBLIC + contrib-libs-cxxsupp + base-internal-raw_logging + base-internal-spinlock_wait + absl-base-log_severity +) +target_sources(abseil-cpp-absl-base PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/base/internal/cycleclock.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/base/internal/spinlock.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/base/internal/sysinfo.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/base/internal/thread_identity.cc + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/base/internal/unscaledcycleclock.cc +) diff --git a/contrib/restricted/abseil-cpp/absl/base/CMakeLists.txt b/contrib/restricted/abseil-cpp/absl/base/CMakeLists.txt index 74454e3c86..c031ddb850 100644 --- a/contrib/restricted/abseil-cpp/absl/base/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/absl/base/CMakeLists.txt @@ -6,27 +6,6 @@ # original buildsystem will not be accepted. - -add_library(abseil-cpp-absl-base) -target_compile_options(abseil-cpp-absl-base PRIVATE - -DNOMINMAX -) -target_include_directories(abseil-cpp-absl-base PUBLIC - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_include_directories(abseil-cpp-absl-base PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_link_libraries(abseil-cpp-absl-base PUBLIC - contrib-libs-cxxsupp - base-internal-raw_logging - base-internal-spinlock_wait - absl-base-log_severity -) -target_sources(abseil-cpp-absl-base PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/base/internal/cycleclock.cc - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/base/internal/spinlock.cc - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/base/internal/sysinfo.cc - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/base/internal/thread_identity.cc - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/base/internal/unscaledcycleclock.cc -) +if (UNIX) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/restricted/abseil-cpp/absl/base/internal/low_level_alloc/CMakeLists.linux.txt b/contrib/restricted/abseil-cpp/absl/base/internal/low_level_alloc/CMakeLists.linux.txt new file mode 100644 index 0000000000..aa2ade17e0 --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/base/internal/low_level_alloc/CMakeLists.linux.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(base-internal-low_level_alloc) +target_compile_options(base-internal-low_level_alloc PRIVATE + -DNOMINMAX +) +target_include_directories(base-internal-low_level_alloc PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_include_directories(base-internal-low_level_alloc PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_link_libraries(base-internal-low_level_alloc PUBLIC + contrib-libs-cxxsupp + abseil-cpp-absl-base + base-internal-raw_logging + base-internal-spinlock_wait + absl-base-log_severity +) +target_sources(base-internal-low_level_alloc PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/base/internal/low_level_alloc.cc +) diff --git a/contrib/restricted/abseil-cpp/absl/base/internal/low_level_alloc/CMakeLists.txt b/contrib/restricted/abseil-cpp/absl/base/internal/low_level_alloc/CMakeLists.txt index aa2ade17e0..c031ddb850 100644 --- a/contrib/restricted/abseil-cpp/absl/base/internal/low_level_alloc/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/absl/base/internal/low_level_alloc/CMakeLists.txt @@ -6,24 +6,6 @@ # original buildsystem will not be accepted. - -add_library(base-internal-low_level_alloc) -target_compile_options(base-internal-low_level_alloc PRIVATE - -DNOMINMAX -) -target_include_directories(base-internal-low_level_alloc PUBLIC - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_include_directories(base-internal-low_level_alloc PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_link_libraries(base-internal-low_level_alloc PUBLIC - contrib-libs-cxxsupp - abseil-cpp-absl-base - base-internal-raw_logging - base-internal-spinlock_wait - absl-base-log_severity -) -target_sources(base-internal-low_level_alloc PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/base/internal/low_level_alloc.cc -) +if (UNIX) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/restricted/abseil-cpp/absl/base/internal/raw_logging/CMakeLists.linux.txt b/contrib/restricted/abseil-cpp/absl/base/internal/raw_logging/CMakeLists.linux.txt new file mode 100644 index 0000000000..9bc3ee2396 --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/base/internal/raw_logging/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(base-internal-raw_logging) +target_compile_options(base-internal-raw_logging PRIVATE + -DNOMINMAX +) +target_include_directories(base-internal-raw_logging PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_include_directories(base-internal-raw_logging PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_link_libraries(base-internal-raw_logging PUBLIC + contrib-libs-cxxsupp + absl-base-log_severity +) +target_sources(base-internal-raw_logging PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/base/internal/raw_logging.cc +) diff --git a/contrib/restricted/abseil-cpp/absl/base/internal/raw_logging/CMakeLists.txt b/contrib/restricted/abseil-cpp/absl/base/internal/raw_logging/CMakeLists.txt index 9bc3ee2396..c031ddb850 100644 --- a/contrib/restricted/abseil-cpp/absl/base/internal/raw_logging/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/absl/base/internal/raw_logging/CMakeLists.txt @@ -6,21 +6,6 @@ # original buildsystem will not be accepted. - -add_library(base-internal-raw_logging) -target_compile_options(base-internal-raw_logging PRIVATE - -DNOMINMAX -) -target_include_directories(base-internal-raw_logging PUBLIC - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_include_directories(base-internal-raw_logging PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_link_libraries(base-internal-raw_logging PUBLIC - contrib-libs-cxxsupp - absl-base-log_severity -) -target_sources(base-internal-raw_logging PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/base/internal/raw_logging.cc -) +if (UNIX) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/restricted/abseil-cpp/absl/base/internal/scoped_set_env/CMakeLists.linux.txt b/contrib/restricted/abseil-cpp/absl/base/internal/scoped_set_env/CMakeLists.linux.txt new file mode 100644 index 0000000000..f31d1cd5a6 --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/base/internal/scoped_set_env/CMakeLists.linux.txt @@ -0,0 +1,27 @@ + +# 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(base-internal-scoped_set_env) +target_compile_options(base-internal-scoped_set_env PRIVATE + -DNOMINMAX +) +target_include_directories(base-internal-scoped_set_env PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_include_directories(base-internal-scoped_set_env PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_link_libraries(base-internal-scoped_set_env PUBLIC + contrib-libs-cxxsupp + base-internal-raw_logging + absl-base-log_severity +) +target_sources(base-internal-scoped_set_env PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/base/internal/scoped_set_env.cc +) diff --git a/contrib/restricted/abseil-cpp/absl/base/internal/scoped_set_env/CMakeLists.txt b/contrib/restricted/abseil-cpp/absl/base/internal/scoped_set_env/CMakeLists.txt index f31d1cd5a6..c031ddb850 100644 --- a/contrib/restricted/abseil-cpp/absl/base/internal/scoped_set_env/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/absl/base/internal/scoped_set_env/CMakeLists.txt @@ -6,22 +6,6 @@ # original buildsystem will not be accepted. - -add_library(base-internal-scoped_set_env) -target_compile_options(base-internal-scoped_set_env PRIVATE - -DNOMINMAX -) -target_include_directories(base-internal-scoped_set_env PUBLIC - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_include_directories(base-internal-scoped_set_env PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_link_libraries(base-internal-scoped_set_env PUBLIC - contrib-libs-cxxsupp - base-internal-raw_logging - absl-base-log_severity -) -target_sources(base-internal-scoped_set_env PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/base/internal/scoped_set_env.cc -) +if (UNIX) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/restricted/abseil-cpp/absl/base/internal/spinlock_wait/CMakeLists.linux.txt b/contrib/restricted/abseil-cpp/absl/base/internal/spinlock_wait/CMakeLists.linux.txt new file mode 100644 index 0000000000..d7a06efb05 --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/base/internal/spinlock_wait/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(base-internal-spinlock_wait) +target_compile_options(base-internal-spinlock_wait PRIVATE + -DNOMINMAX +) +target_include_directories(base-internal-spinlock_wait PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_include_directories(base-internal-spinlock_wait PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_link_libraries(base-internal-spinlock_wait PUBLIC + contrib-libs-cxxsupp +) +target_sources(base-internal-spinlock_wait PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/base/internal/spinlock_wait.cc +) diff --git a/contrib/restricted/abseil-cpp/absl/base/internal/spinlock_wait/CMakeLists.txt b/contrib/restricted/abseil-cpp/absl/base/internal/spinlock_wait/CMakeLists.txt index d7a06efb05..c031ddb850 100644 --- a/contrib/restricted/abseil-cpp/absl/base/internal/spinlock_wait/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/absl/base/internal/spinlock_wait/CMakeLists.txt @@ -6,20 +6,6 @@ # original buildsystem will not be accepted. - -add_library(base-internal-spinlock_wait) -target_compile_options(base-internal-spinlock_wait PRIVATE - -DNOMINMAX -) -target_include_directories(base-internal-spinlock_wait PUBLIC - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_include_directories(base-internal-spinlock_wait PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_link_libraries(base-internal-spinlock_wait PUBLIC - contrib-libs-cxxsupp -) -target_sources(base-internal-spinlock_wait PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/base/internal/spinlock_wait.cc -) +if (UNIX) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/restricted/abseil-cpp/absl/base/internal/strerror/CMakeLists.linux.txt b/contrib/restricted/abseil-cpp/absl/base/internal/strerror/CMakeLists.linux.txt new file mode 100644 index 0000000000..6d441c5795 --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/base/internal/strerror/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(base-internal-strerror) +target_compile_options(base-internal-strerror PRIVATE + -DNOMINMAX +) +target_include_directories(base-internal-strerror PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_include_directories(base-internal-strerror PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_link_libraries(base-internal-strerror PUBLIC + contrib-libs-cxxsupp +) +target_sources(base-internal-strerror PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/base/internal/strerror.cc +) diff --git a/contrib/restricted/abseil-cpp/absl/base/internal/strerror/CMakeLists.txt b/contrib/restricted/abseil-cpp/absl/base/internal/strerror/CMakeLists.txt index 6d441c5795..c031ddb850 100644 --- a/contrib/restricted/abseil-cpp/absl/base/internal/strerror/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/absl/base/internal/strerror/CMakeLists.txt @@ -6,20 +6,6 @@ # original buildsystem will not be accepted. - -add_library(base-internal-strerror) -target_compile_options(base-internal-strerror PRIVATE - -DNOMINMAX -) -target_include_directories(base-internal-strerror PUBLIC - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_include_directories(base-internal-strerror PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_link_libraries(base-internal-strerror PUBLIC - contrib-libs-cxxsupp -) -target_sources(base-internal-strerror PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/base/internal/strerror.cc -) +if (UNIX) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/restricted/abseil-cpp/absl/base/internal/throw_delegate/CMakeLists.linux.txt b/contrib/restricted/abseil-cpp/absl/base/internal/throw_delegate/CMakeLists.linux.txt new file mode 100644 index 0000000000..6458276698 --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/base/internal/throw_delegate/CMakeLists.linux.txt @@ -0,0 +1,27 @@ + +# 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(base-internal-throw_delegate) +target_compile_options(base-internal-throw_delegate PRIVATE + -DNOMINMAX +) +target_include_directories(base-internal-throw_delegate PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_include_directories(base-internal-throw_delegate PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_link_libraries(base-internal-throw_delegate PUBLIC + contrib-libs-cxxsupp + base-internal-raw_logging + absl-base-log_severity +) +target_sources(base-internal-throw_delegate PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/base/internal/throw_delegate.cc +) diff --git a/contrib/restricted/abseil-cpp/absl/base/internal/throw_delegate/CMakeLists.txt b/contrib/restricted/abseil-cpp/absl/base/internal/throw_delegate/CMakeLists.txt index 6458276698..c031ddb850 100644 --- a/contrib/restricted/abseil-cpp/absl/base/internal/throw_delegate/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/absl/base/internal/throw_delegate/CMakeLists.txt @@ -6,22 +6,6 @@ # original buildsystem will not be accepted. - -add_library(base-internal-throw_delegate) -target_compile_options(base-internal-throw_delegate PRIVATE - -DNOMINMAX -) -target_include_directories(base-internal-throw_delegate PUBLIC - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_include_directories(base-internal-throw_delegate PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_link_libraries(base-internal-throw_delegate PUBLIC - contrib-libs-cxxsupp - base-internal-raw_logging - absl-base-log_severity -) -target_sources(base-internal-throw_delegate PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/base/internal/throw_delegate.cc -) +if (UNIX) + include(CMakeLists.linux.txt) +endif() diff --git a/contrib/restricted/abseil-cpp/absl/base/log_severity/CMakeLists.linux.txt b/contrib/restricted/abseil-cpp/absl/base/log_severity/CMakeLists.linux.txt new file mode 100644 index 0000000000..4010463334 --- /dev/null +++ b/contrib/restricted/abseil-cpp/absl/base/log_severity/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(absl-base-log_severity) +target_compile_options(absl-base-log_severity PRIVATE + -DNOMINMAX +) +target_include_directories(absl-base-log_severity PUBLIC + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_include_directories(absl-base-log_severity PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp +) +target_link_libraries(absl-base-log_severity PUBLIC + contrib-libs-cxxsupp +) +target_sources(absl-base-log_severity PRIVATE + ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/base/log_severity.cc +) diff --git a/contrib/restricted/abseil-cpp/absl/base/log_severity/CMakeLists.txt b/contrib/restricted/abseil-cpp/absl/base/log_severity/CMakeLists.txt index 4010463334..c031ddb850 100644 --- a/contrib/restricted/abseil-cpp/absl/base/log_severity/CMakeLists.txt +++ b/contrib/restricted/abseil-cpp/absl/base/log_severity/CMakeLists.txt @@ -6,20 +6,6 @@ # original buildsystem will not be accepted. - -add_library(absl-base-log_severity) -target_compile_options(absl-base-log_severity PRIVATE - -DNOMINMAX -) -target_include_directories(absl-base-log_severity PUBLIC - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_include_directories(absl-base-log_severity PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp -) -target_link_libraries(absl-base-log_severity PUBLIC - contrib-libs-cxxsupp -) -target_sources(absl-base-log_severity PRIVATE - ${CMAKE_SOURCE_DIR}/contrib/restricted/abseil-cpp/absl/base/log_severity.cc -) +if (UNIX) + include(CMakeLists.linux.txt) +endif() |