diff options
author | thegeorg <thegeorg@yandex-team.com> | 2022-12-15 19:25:15 +0300 |
---|---|---|
committer | thegeorg <thegeorg@yandex-team.com> | 2022-12-15 19:25:15 +0300 |
commit | 0c31d97afd7858af5f8f858c8addf91655ca9ccc (patch) | |
tree | 4d8a246db168f7beaafcd06d486c034115c2123d /library/cpp/monlib/service | |
parent | d1d5f5e00df0dd6efc00880dd8283477fc643aaf (diff) | |
download | ydb-0c31d97afd7858af5f8f858c8addf91655ca9ccc.tar.gz |
Sync linux-headers instead of using system ones
Diffstat (limited to 'library/cpp/monlib/service')
12 files changed, 344 insertions, 81 deletions
diff --git a/library/cpp/monlib/service/CMakeLists.darwin.txt b/library/cpp/monlib/service/CMakeLists.darwin.txt new file mode 100644 index 0000000000..24bc76ad29 --- /dev/null +++ b/library/cpp/monlib/service/CMakeLists.darwin.txt @@ -0,0 +1,34 @@ + +# 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_subdirectory(pages) + +add_library(cpp-monlib-service) +target_link_libraries(cpp-monlib-service PUBLIC + contrib-libs-cxxsupp + yutil + cpp-string_utils-base64 + contrib-libs-protobuf + cpp-coroutine-engine + cpp-coroutine-listener + cpp-http-fetch + cpp-http-server + cpp-http-io + library-cpp-logger + cpp-malloc-api + library-cpp-svnversion + library-cpp-uri + library-cpp-cgiparam +) +target_sources(cpp-monlib-service PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/monservice.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/mon_service_http_request.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/service.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/format.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/auth.cpp +) diff --git a/library/cpp/monlib/service/CMakeLists.linux-aarch64.txt b/library/cpp/monlib/service/CMakeLists.linux-aarch64.txt new file mode 100644 index 0000000000..b5a0725893 --- /dev/null +++ b/library/cpp/monlib/service/CMakeLists.linux-aarch64.txt @@ -0,0 +1,35 @@ + +# 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_subdirectory(pages) + +add_library(cpp-monlib-service) +target_link_libraries(cpp-monlib-service PUBLIC + contrib-libs-linux-headers + contrib-libs-cxxsupp + yutil + cpp-string_utils-base64 + contrib-libs-protobuf + cpp-coroutine-engine + cpp-coroutine-listener + cpp-http-fetch + cpp-http-server + cpp-http-io + library-cpp-logger + cpp-malloc-api + library-cpp-svnversion + library-cpp-uri + library-cpp-cgiparam +) +target_sources(cpp-monlib-service PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/monservice.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/mon_service_http_request.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/service.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/format.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/auth.cpp +) diff --git a/library/cpp/monlib/service/CMakeLists.linux.txt b/library/cpp/monlib/service/CMakeLists.linux.txt new file mode 100644 index 0000000000..b5a0725893 --- /dev/null +++ b/library/cpp/monlib/service/CMakeLists.linux.txt @@ -0,0 +1,35 @@ + +# 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_subdirectory(pages) + +add_library(cpp-monlib-service) +target_link_libraries(cpp-monlib-service PUBLIC + contrib-libs-linux-headers + contrib-libs-cxxsupp + yutil + cpp-string_utils-base64 + contrib-libs-protobuf + cpp-coroutine-engine + cpp-coroutine-listener + cpp-http-fetch + cpp-http-server + cpp-http-io + library-cpp-logger + cpp-malloc-api + library-cpp-svnversion + library-cpp-uri + library-cpp-cgiparam +) +target_sources(cpp-monlib-service PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/monservice.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/mon_service_http_request.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/service.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/format.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/auth.cpp +) diff --git a/library/cpp/monlib/service/CMakeLists.txt b/library/cpp/monlib/service/CMakeLists.txt index 24bc76ad29..3e0811fb22 100644 --- a/library/cpp/monlib/service/CMakeLists.txt +++ b/library/cpp/monlib/service/CMakeLists.txt @@ -6,29 +6,10 @@ # original buildsystem will not be accepted. -add_subdirectory(pages) - -add_library(cpp-monlib-service) -target_link_libraries(cpp-monlib-service PUBLIC - contrib-libs-cxxsupp - yutil - cpp-string_utils-base64 - contrib-libs-protobuf - cpp-coroutine-engine - cpp-coroutine-listener - cpp-http-fetch - cpp-http-server - cpp-http-io - library-cpp-logger - cpp-malloc-api - library-cpp-svnversion - library-cpp-uri - library-cpp-cgiparam -) -target_sources(cpp-monlib-service PRIVATE - ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/monservice.cpp - ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/mon_service_http_request.cpp - ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/service.cpp - ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/format.cpp - ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/auth.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/monlib/service/pages/CMakeLists.darwin.txt b/library/cpp/monlib/service/pages/CMakeLists.darwin.txt new file mode 100644 index 0000000000..cc2387ede1 --- /dev/null +++ b/library/cpp/monlib/service/pages/CMakeLists.darwin.txt @@ -0,0 +1,35 @@ + +# 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_subdirectory(tablesorter) + +add_library(monlib-service-pages) +target_link_libraries(monlib-service-pages PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-build_info + cpp-malloc-api + library-cpp-svnversion + library-cpp-resource + cpp-monlib-service + monlib-encode-json + monlib-encode-text + monlib-encode-spack + monlib-encode-prometheus +) +target_sources(monlib-service-pages PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/pages/diag_mon_page.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/pages/html_mon_page.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/pages/index_mon_page.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/pages/mon_page.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/pages/pre_mon_page.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/pages/resource_mon_page.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/pages/templates.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/pages/version_mon_page.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/pages/registry_mon_page.cpp +) diff --git a/library/cpp/monlib/service/pages/CMakeLists.linux-aarch64.txt b/library/cpp/monlib/service/pages/CMakeLists.linux-aarch64.txt new file mode 100644 index 0000000000..55463581b7 --- /dev/null +++ b/library/cpp/monlib/service/pages/CMakeLists.linux-aarch64.txt @@ -0,0 +1,36 @@ + +# 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_subdirectory(tablesorter) + +add_library(monlib-service-pages) +target_link_libraries(monlib-service-pages PUBLIC + contrib-libs-linux-headers + contrib-libs-cxxsupp + yutil + library-cpp-build_info + cpp-malloc-api + library-cpp-svnversion + library-cpp-resource + cpp-monlib-service + monlib-encode-json + monlib-encode-text + monlib-encode-spack + monlib-encode-prometheus +) +target_sources(monlib-service-pages PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/pages/diag_mon_page.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/pages/html_mon_page.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/pages/index_mon_page.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/pages/mon_page.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/pages/pre_mon_page.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/pages/resource_mon_page.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/pages/templates.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/pages/version_mon_page.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/pages/registry_mon_page.cpp +) diff --git a/library/cpp/monlib/service/pages/CMakeLists.linux.txt b/library/cpp/monlib/service/pages/CMakeLists.linux.txt new file mode 100644 index 0000000000..55463581b7 --- /dev/null +++ b/library/cpp/monlib/service/pages/CMakeLists.linux.txt @@ -0,0 +1,36 @@ + +# 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_subdirectory(tablesorter) + +add_library(monlib-service-pages) +target_link_libraries(monlib-service-pages PUBLIC + contrib-libs-linux-headers + contrib-libs-cxxsupp + yutil + library-cpp-build_info + cpp-malloc-api + library-cpp-svnversion + library-cpp-resource + cpp-monlib-service + monlib-encode-json + monlib-encode-text + monlib-encode-spack + monlib-encode-prometheus +) +target_sources(monlib-service-pages PRIVATE + ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/pages/diag_mon_page.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/pages/html_mon_page.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/pages/index_mon_page.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/pages/mon_page.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/pages/pre_mon_page.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/pages/resource_mon_page.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/pages/templates.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/pages/version_mon_page.cpp + ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/pages/registry_mon_page.cpp +) diff --git a/library/cpp/monlib/service/pages/CMakeLists.txt b/library/cpp/monlib/service/pages/CMakeLists.txt index cc2387ede1..3e0811fb22 100644 --- a/library/cpp/monlib/service/pages/CMakeLists.txt +++ b/library/cpp/monlib/service/pages/CMakeLists.txt @@ -6,30 +6,10 @@ # original buildsystem will not be accepted. -add_subdirectory(tablesorter) - -add_library(monlib-service-pages) -target_link_libraries(monlib-service-pages PUBLIC - contrib-libs-cxxsupp - yutil - library-cpp-build_info - cpp-malloc-api - library-cpp-svnversion - library-cpp-resource - cpp-monlib-service - monlib-encode-json - monlib-encode-text - monlib-encode-spack - monlib-encode-prometheus -) -target_sources(monlib-service-pages PRIVATE - ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/pages/diag_mon_page.cpp - ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/pages/html_mon_page.cpp - ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/pages/index_mon_page.cpp - ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/pages/mon_page.cpp - ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/pages/pre_mon_page.cpp - ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/pages/resource_mon_page.cpp - ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/pages/templates.cpp - ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/pages/version_mon_page.cpp - ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/pages/registry_mon_page.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/monlib/service/pages/tablesorter/CMakeLists.darwin.txt b/library/cpp/monlib/service/pages/tablesorter/CMakeLists.darwin.txt new file mode 100644 index 0000000000..8a5b46eba9 --- /dev/null +++ b/library/cpp/monlib/service/pages/tablesorter/CMakeLists.darwin.txt @@ -0,0 +1,36 @@ + +# 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(service-pages-tablesorter INTERFACE) +target_link_libraries(service-pages-tablesorter INTERFACE + contrib-libs-cxxsupp + yutil + library-cpp-resource + cpp-monlib-dynamic_counters +) + +add_global_library_for(service-pages-tablesorter.global service-pages-tablesorter) +target_link_libraries(service-pages-tablesorter.global PUBLIC + contrib-libs-cxxsupp + yutil + library-cpp-resource + cpp-monlib-dynamic_counters +) +target_sources(service-pages-tablesorter.global PRIVATE + ${CMAKE_BINARY_DIR}/library/cpp/monlib/service/pages/tablesorter/0c255888afcc3e2adc5fd360ee152bac.cpp +) +resources(service-pages-tablesorter.global + ${CMAKE_BINARY_DIR}/library/cpp/monlib/service/pages/tablesorter/0c255888afcc3e2adc5fd360ee152bac.cpp + INPUTS + ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/pages/tablesorter/resources/jquery.tablesorter.css + ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/pages/tablesorter/resources/jquery.tablesorter.js + KEYS + jquery.tablesorter.css + jquery.tablesorter.js +) diff --git a/library/cpp/monlib/service/pages/tablesorter/CMakeLists.linux-aarch64.txt b/library/cpp/monlib/service/pages/tablesorter/CMakeLists.linux-aarch64.txt new file mode 100644 index 0000000000..b3e2ffe5a1 --- /dev/null +++ b/library/cpp/monlib/service/pages/tablesorter/CMakeLists.linux-aarch64.txt @@ -0,0 +1,38 @@ + +# 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(service-pages-tablesorter INTERFACE) +target_link_libraries(service-pages-tablesorter INTERFACE + contrib-libs-linux-headers + contrib-libs-cxxsupp + yutil + library-cpp-resource + cpp-monlib-dynamic_counters +) + +add_global_library_for(service-pages-tablesorter.global service-pages-tablesorter) +target_link_libraries(service-pages-tablesorter.global PUBLIC + contrib-libs-linux-headers + contrib-libs-cxxsupp + yutil + library-cpp-resource + cpp-monlib-dynamic_counters +) +target_sources(service-pages-tablesorter.global PRIVATE + ${CMAKE_BINARY_DIR}/library/cpp/monlib/service/pages/tablesorter/0c255888afcc3e2adc5fd360ee152bac.cpp +) +resources(service-pages-tablesorter.global + ${CMAKE_BINARY_DIR}/library/cpp/monlib/service/pages/tablesorter/0c255888afcc3e2adc5fd360ee152bac.cpp + INPUTS + ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/pages/tablesorter/resources/jquery.tablesorter.css + ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/pages/tablesorter/resources/jquery.tablesorter.js + KEYS + jquery.tablesorter.css + jquery.tablesorter.js +) diff --git a/library/cpp/monlib/service/pages/tablesorter/CMakeLists.linux.txt b/library/cpp/monlib/service/pages/tablesorter/CMakeLists.linux.txt new file mode 100644 index 0000000000..b3e2ffe5a1 --- /dev/null +++ b/library/cpp/monlib/service/pages/tablesorter/CMakeLists.linux.txt @@ -0,0 +1,38 @@ + +# 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(service-pages-tablesorter INTERFACE) +target_link_libraries(service-pages-tablesorter INTERFACE + contrib-libs-linux-headers + contrib-libs-cxxsupp + yutil + library-cpp-resource + cpp-monlib-dynamic_counters +) + +add_global_library_for(service-pages-tablesorter.global service-pages-tablesorter) +target_link_libraries(service-pages-tablesorter.global PUBLIC + contrib-libs-linux-headers + contrib-libs-cxxsupp + yutil + library-cpp-resource + cpp-monlib-dynamic_counters +) +target_sources(service-pages-tablesorter.global PRIVATE + ${CMAKE_BINARY_DIR}/library/cpp/monlib/service/pages/tablesorter/0c255888afcc3e2adc5fd360ee152bac.cpp +) +resources(service-pages-tablesorter.global + ${CMAKE_BINARY_DIR}/library/cpp/monlib/service/pages/tablesorter/0c255888afcc3e2adc5fd360ee152bac.cpp + INPUTS + ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/pages/tablesorter/resources/jquery.tablesorter.css + ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/pages/tablesorter/resources/jquery.tablesorter.js + KEYS + jquery.tablesorter.css + jquery.tablesorter.js +) diff --git a/library/cpp/monlib/service/pages/tablesorter/CMakeLists.txt b/library/cpp/monlib/service/pages/tablesorter/CMakeLists.txt index 8a5b46eba9..3e0811fb22 100644 --- a/library/cpp/monlib/service/pages/tablesorter/CMakeLists.txt +++ b/library/cpp/monlib/service/pages/tablesorter/CMakeLists.txt @@ -6,31 +6,10 @@ # original buildsystem will not be accepted. - -add_library(service-pages-tablesorter INTERFACE) -target_link_libraries(service-pages-tablesorter INTERFACE - contrib-libs-cxxsupp - yutil - library-cpp-resource - cpp-monlib-dynamic_counters -) - -add_global_library_for(service-pages-tablesorter.global service-pages-tablesorter) -target_link_libraries(service-pages-tablesorter.global PUBLIC - contrib-libs-cxxsupp - yutil - library-cpp-resource - cpp-monlib-dynamic_counters -) -target_sources(service-pages-tablesorter.global PRIVATE - ${CMAKE_BINARY_DIR}/library/cpp/monlib/service/pages/tablesorter/0c255888afcc3e2adc5fd360ee152bac.cpp -) -resources(service-pages-tablesorter.global - ${CMAKE_BINARY_DIR}/library/cpp/monlib/service/pages/tablesorter/0c255888afcc3e2adc5fd360ee152bac.cpp - INPUTS - ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/pages/tablesorter/resources/jquery.tablesorter.css - ${CMAKE_SOURCE_DIR}/library/cpp/monlib/service/pages/tablesorter/resources/jquery.tablesorter.js - KEYS - jquery.tablesorter.css - jquery.tablesorter.js -) +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() |