aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/lwtrace
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/lwtrace
parentd1d5f5e00df0dd6efc00880dd8283477fc643aaf (diff)
downloadydb-0c31d97afd7858af5f8f858c8addf91655ca9ccc.tar.gz
Sync linux-headers instead of using system ones
Diffstat (limited to 'library/cpp/lwtrace')
-rw-r--r--library/cpp/lwtrace/CMakeLists.darwin.txt33
-rw-r--r--library/cpp/lwtrace/CMakeLists.linux-aarch64.txt34
-rw-r--r--library/cpp/lwtrace/CMakeLists.linux.txt34
-rw-r--r--library/cpp/lwtrace/CMakeLists.txt32
-rw-r--r--library/cpp/lwtrace/mon/CMakeLists.darwin.txt112
-rw-r--r--library/cpp/lwtrace/mon/CMakeLists.linux-aarch64.txt114
-rw-r--r--library/cpp/lwtrace/mon/CMakeLists.linux.txt114
-rw-r--r--library/cpp/lwtrace/mon/CMakeLists.txt111
-rw-r--r--library/cpp/lwtrace/mon/analytics/CMakeLists.darwin.txt17
-rw-r--r--library/cpp/lwtrace/mon/analytics/CMakeLists.linux-aarch64.txt18
-rw-r--r--library/cpp/lwtrace/mon/analytics/CMakeLists.linux.txt18
-rw-r--r--library/cpp/lwtrace/mon/analytics/CMakeLists.txt16
-rw-r--r--library/cpp/lwtrace/protos/CMakeLists.darwin.txt31
-rw-r--r--library/cpp/lwtrace/protos/CMakeLists.linux-aarch64.txt32
-rw-r--r--library/cpp/lwtrace/protos/CMakeLists.linux.txt32
-rw-r--r--library/cpp/lwtrace/protos/CMakeLists.txt30
16 files changed, 617 insertions, 161 deletions
diff --git a/library/cpp/lwtrace/CMakeLists.darwin.txt b/library/cpp/lwtrace/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..4e5a2aab55
--- /dev/null
+++ b/library/cpp/lwtrace/CMakeLists.darwin.txt
@@ -0,0 +1,33 @@
+
+# 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(mon)
+add_subdirectory(protos)
+
+add_library(library-cpp-lwtrace)
+target_link_libraries(library-cpp-lwtrace PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ cpp-lwtrace-protos
+ cpp-deprecated-atomic
+)
+target_sources(library-cpp-lwtrace PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/check.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/control.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/custom_action.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/kill_action.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/log_shuttle.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/perf.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/probes.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/shuttle.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/sleep_action.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/start.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/stderr_writer.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/symbol.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/trace.cpp
+)
diff --git a/library/cpp/lwtrace/CMakeLists.linux-aarch64.txt b/library/cpp/lwtrace/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..695cff9c09
--- /dev/null
+++ b/library/cpp/lwtrace/CMakeLists.linux-aarch64.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(mon)
+add_subdirectory(protos)
+
+add_library(library-cpp-lwtrace)
+target_link_libraries(library-cpp-lwtrace PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-lwtrace-protos
+ cpp-deprecated-atomic
+)
+target_sources(library-cpp-lwtrace PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/check.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/control.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/custom_action.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/kill_action.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/log_shuttle.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/perf.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/probes.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/shuttle.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/sleep_action.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/start.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/stderr_writer.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/symbol.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/trace.cpp
+)
diff --git a/library/cpp/lwtrace/CMakeLists.linux.txt b/library/cpp/lwtrace/CMakeLists.linux.txt
new file mode 100644
index 0000000000..695cff9c09
--- /dev/null
+++ b/library/cpp/lwtrace/CMakeLists.linux.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(mon)
+add_subdirectory(protos)
+
+add_library(library-cpp-lwtrace)
+target_link_libraries(library-cpp-lwtrace PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ cpp-lwtrace-protos
+ cpp-deprecated-atomic
+)
+target_sources(library-cpp-lwtrace PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/check.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/control.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/custom_action.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/kill_action.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/log_shuttle.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/perf.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/probes.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/shuttle.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/sleep_action.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/start.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/stderr_writer.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/symbol.cpp
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/trace.cpp
+)
diff --git a/library/cpp/lwtrace/CMakeLists.txt b/library/cpp/lwtrace/CMakeLists.txt
index 4e5a2aab55..3e0811fb22 100644
--- a/library/cpp/lwtrace/CMakeLists.txt
+++ b/library/cpp/lwtrace/CMakeLists.txt
@@ -6,28 +6,10 @@
# original buildsystem will not be accepted.
-add_subdirectory(mon)
-add_subdirectory(protos)
-
-add_library(library-cpp-lwtrace)
-target_link_libraries(library-cpp-lwtrace PUBLIC
- contrib-libs-cxxsupp
- yutil
- cpp-lwtrace-protos
- cpp-deprecated-atomic
-)
-target_sources(library-cpp-lwtrace PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/check.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/control.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/custom_action.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/kill_action.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/log_shuttle.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/perf.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/probes.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/shuttle.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/sleep_action.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/start.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/stderr_writer.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/symbol.cpp
- ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/trace.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/lwtrace/mon/CMakeLists.darwin.txt b/library/cpp/lwtrace/mon/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..50bdef36cb
--- /dev/null
+++ b/library/cpp/lwtrace/mon/CMakeLists.darwin.txt
@@ -0,0 +1,112 @@
+
+# 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(analytics)
+
+add_library(cpp-lwtrace-mon)
+target_link_libraries(cpp-lwtrace-mon PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-resource
+ cpp-html-pcdata
+ library-cpp-lwtrace
+ lwtrace-mon-analytics
+ cpp-monlib-dynamic_counters
+ cpp-string_utils-base64
+)
+target_sources(cpp-lwtrace-mon PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/mon_lwtrace.cpp
+)
+
+add_global_library_for(cpp-lwtrace-mon.global cpp-lwtrace-mon)
+target_link_libraries(cpp-lwtrace-mon.global PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-resource
+ cpp-html-pcdata
+ library-cpp-lwtrace
+ lwtrace-mon-analytics
+ cpp-monlib-dynamic_counters
+ cpp-string_utils-base64
+)
+target_sources(cpp-lwtrace-mon.global PRIVATE
+ ${CMAKE_BINARY_DIR}/library/cpp/lwtrace/mon/55ff1192d5e8c2c093974f8d6c720a35.cpp
+)
+resources(cpp-lwtrace-mon.global
+ ${CMAKE_BINARY_DIR}/library/cpp/lwtrace/mon/55ff1192d5e8c2c093974f8d6c720a35.cpp
+ INPUTS
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/common.css
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/common.js
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/css/bootstrap.min.css
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/css/d3-gantt.css
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/css/jquery.treegrid.css
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/analytics.css
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/analytics.flot.html
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/analytics.gantt.html
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/analytics.header.html
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/analytics.js
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/fonts/glyphicons-halflings-regular.eot
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/fonts/glyphicons-halflings-regular.svg
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/fonts/glyphicons-halflings-regular.ttf
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/fonts/glyphicons-halflings-regular.woff2
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/fonts/glyphicons-halflings-regular.woff
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/footer.html
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/header.html
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/img/collapse.png
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/img/expand.png
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/img/file.png
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/img/folder.png
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/js/bootstrap.min.js
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/js/d3.v4.min.js
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/js/d3-gantt.js
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/js/d3-tip-0.8.0-alpha.1.js
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/js/filesaver.min.js
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/js/jquery.flot.extents.js
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/js/jquery.flot.min.js
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/js/jquery.flot.navigate.min.js
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/js/jquery.flot.selection.min.js
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/js/jquery.min.js
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/js/jquery.treegrid.bootstrap3.js
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/js/jquery.treegrid.min.js
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/js/jquery.url.min.js
+ KEYS
+ lwtrace/mon/static/common.css
+ lwtrace/mon/static/common.js
+ lwtrace/mon/static/css/bootstrap.min.css
+ lwtrace/mon/static/css/d3-gantt.css
+ lwtrace/mon/static/css/jquery.treegrid.css
+ lwtrace/mon/static/analytics.css
+ lwtrace/mon/static/analytics.flot.html
+ lwtrace/mon/static/analytics.gantt.html
+ lwtrace/mon/static/analytics.header.html
+ lwtrace/mon/static/analytics.js
+ lwtrace/mon/static/fonts/glyphicons-halflings-regular.eot
+ lwtrace/mon/static/fonts/glyphicons-halflings-regular.svg
+ lwtrace/mon/static/fonts/glyphicons-halflings-regular.ttf
+ lwtrace/mon/static/fonts/glyphicons-halflings-regular.woff2
+ lwtrace/mon/static/fonts/glyphicons-halflings-regular.woff
+ lwtrace/mon/static/footer.html
+ lwtrace/mon/static/header.html
+ lwtrace/mon/static/img/collapse.png
+ lwtrace/mon/static/img/expand.png
+ lwtrace/mon/static/img/file.png
+ lwtrace/mon/static/img/folder.png
+ lwtrace/mon/static/js/bootstrap.min.js
+ lwtrace/mon/static/js/d3.v4.min.js
+ lwtrace/mon/static/js/d3-gantt.js
+ lwtrace/mon/static/js/d3-tip-0.8.0-alpha.1.js
+ lwtrace/mon/static/js/filesaver.min.js
+ lwtrace/mon/static/js/jquery.flot.extents.js
+ lwtrace/mon/static/js/jquery.flot.min.js
+ lwtrace/mon/static/js/jquery.flot.navigate.min.js
+ lwtrace/mon/static/js/jquery.flot.selection.min.js
+ lwtrace/mon/static/js/jquery.min.js
+ lwtrace/mon/static/js/jquery.treegrid.bootstrap3.js
+ lwtrace/mon/static/js/jquery.treegrid.min.js
+ lwtrace/mon/static/js/jquery.url.min.js
+)
diff --git a/library/cpp/lwtrace/mon/CMakeLists.linux-aarch64.txt b/library/cpp/lwtrace/mon/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..992df105eb
--- /dev/null
+++ b/library/cpp/lwtrace/mon/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,114 @@
+
+# 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(analytics)
+
+add_library(cpp-lwtrace-mon)
+target_link_libraries(cpp-lwtrace-mon PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-resource
+ cpp-html-pcdata
+ library-cpp-lwtrace
+ lwtrace-mon-analytics
+ cpp-monlib-dynamic_counters
+ cpp-string_utils-base64
+)
+target_sources(cpp-lwtrace-mon PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/mon_lwtrace.cpp
+)
+
+add_global_library_for(cpp-lwtrace-mon.global cpp-lwtrace-mon)
+target_link_libraries(cpp-lwtrace-mon.global PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-resource
+ cpp-html-pcdata
+ library-cpp-lwtrace
+ lwtrace-mon-analytics
+ cpp-monlib-dynamic_counters
+ cpp-string_utils-base64
+)
+target_sources(cpp-lwtrace-mon.global PRIVATE
+ ${CMAKE_BINARY_DIR}/library/cpp/lwtrace/mon/55ff1192d5e8c2c093974f8d6c720a35.cpp
+)
+resources(cpp-lwtrace-mon.global
+ ${CMAKE_BINARY_DIR}/library/cpp/lwtrace/mon/55ff1192d5e8c2c093974f8d6c720a35.cpp
+ INPUTS
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/common.css
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/common.js
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/css/bootstrap.min.css
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/css/d3-gantt.css
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/css/jquery.treegrid.css
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/analytics.css
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/analytics.flot.html
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/analytics.gantt.html
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/analytics.header.html
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/analytics.js
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/fonts/glyphicons-halflings-regular.eot
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/fonts/glyphicons-halflings-regular.svg
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/fonts/glyphicons-halflings-regular.ttf
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/fonts/glyphicons-halflings-regular.woff2
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/fonts/glyphicons-halflings-regular.woff
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/footer.html
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/header.html
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/img/collapse.png
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/img/expand.png
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/img/file.png
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/img/folder.png
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/js/bootstrap.min.js
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/js/d3.v4.min.js
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/js/d3-gantt.js
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/js/d3-tip-0.8.0-alpha.1.js
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/js/filesaver.min.js
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/js/jquery.flot.extents.js
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/js/jquery.flot.min.js
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/js/jquery.flot.navigate.min.js
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/js/jquery.flot.selection.min.js
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/js/jquery.min.js
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/js/jquery.treegrid.bootstrap3.js
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/js/jquery.treegrid.min.js
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/js/jquery.url.min.js
+ KEYS
+ lwtrace/mon/static/common.css
+ lwtrace/mon/static/common.js
+ lwtrace/mon/static/css/bootstrap.min.css
+ lwtrace/mon/static/css/d3-gantt.css
+ lwtrace/mon/static/css/jquery.treegrid.css
+ lwtrace/mon/static/analytics.css
+ lwtrace/mon/static/analytics.flot.html
+ lwtrace/mon/static/analytics.gantt.html
+ lwtrace/mon/static/analytics.header.html
+ lwtrace/mon/static/analytics.js
+ lwtrace/mon/static/fonts/glyphicons-halflings-regular.eot
+ lwtrace/mon/static/fonts/glyphicons-halflings-regular.svg
+ lwtrace/mon/static/fonts/glyphicons-halflings-regular.ttf
+ lwtrace/mon/static/fonts/glyphicons-halflings-regular.woff2
+ lwtrace/mon/static/fonts/glyphicons-halflings-regular.woff
+ lwtrace/mon/static/footer.html
+ lwtrace/mon/static/header.html
+ lwtrace/mon/static/img/collapse.png
+ lwtrace/mon/static/img/expand.png
+ lwtrace/mon/static/img/file.png
+ lwtrace/mon/static/img/folder.png
+ lwtrace/mon/static/js/bootstrap.min.js
+ lwtrace/mon/static/js/d3.v4.min.js
+ lwtrace/mon/static/js/d3-gantt.js
+ lwtrace/mon/static/js/d3-tip-0.8.0-alpha.1.js
+ lwtrace/mon/static/js/filesaver.min.js
+ lwtrace/mon/static/js/jquery.flot.extents.js
+ lwtrace/mon/static/js/jquery.flot.min.js
+ lwtrace/mon/static/js/jquery.flot.navigate.min.js
+ lwtrace/mon/static/js/jquery.flot.selection.min.js
+ lwtrace/mon/static/js/jquery.min.js
+ lwtrace/mon/static/js/jquery.treegrid.bootstrap3.js
+ lwtrace/mon/static/js/jquery.treegrid.min.js
+ lwtrace/mon/static/js/jquery.url.min.js
+)
diff --git a/library/cpp/lwtrace/mon/CMakeLists.linux.txt b/library/cpp/lwtrace/mon/CMakeLists.linux.txt
new file mode 100644
index 0000000000..992df105eb
--- /dev/null
+++ b/library/cpp/lwtrace/mon/CMakeLists.linux.txt
@@ -0,0 +1,114 @@
+
+# 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(analytics)
+
+add_library(cpp-lwtrace-mon)
+target_link_libraries(cpp-lwtrace-mon PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-resource
+ cpp-html-pcdata
+ library-cpp-lwtrace
+ lwtrace-mon-analytics
+ cpp-monlib-dynamic_counters
+ cpp-string_utils-base64
+)
+target_sources(cpp-lwtrace-mon PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/mon_lwtrace.cpp
+)
+
+add_global_library_for(cpp-lwtrace-mon.global cpp-lwtrace-mon)
+target_link_libraries(cpp-lwtrace-mon.global PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ library-cpp-resource
+ cpp-html-pcdata
+ library-cpp-lwtrace
+ lwtrace-mon-analytics
+ cpp-monlib-dynamic_counters
+ cpp-string_utils-base64
+)
+target_sources(cpp-lwtrace-mon.global PRIVATE
+ ${CMAKE_BINARY_DIR}/library/cpp/lwtrace/mon/55ff1192d5e8c2c093974f8d6c720a35.cpp
+)
+resources(cpp-lwtrace-mon.global
+ ${CMAKE_BINARY_DIR}/library/cpp/lwtrace/mon/55ff1192d5e8c2c093974f8d6c720a35.cpp
+ INPUTS
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/common.css
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/common.js
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/css/bootstrap.min.css
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/css/d3-gantt.css
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/css/jquery.treegrid.css
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/analytics.css
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/analytics.flot.html
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/analytics.gantt.html
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/analytics.header.html
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/analytics.js
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/fonts/glyphicons-halflings-regular.eot
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/fonts/glyphicons-halflings-regular.svg
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/fonts/glyphicons-halflings-regular.ttf
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/fonts/glyphicons-halflings-regular.woff2
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/fonts/glyphicons-halflings-regular.woff
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/footer.html
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/header.html
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/img/collapse.png
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/img/expand.png
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/img/file.png
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/img/folder.png
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/js/bootstrap.min.js
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/js/d3.v4.min.js
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/js/d3-gantt.js
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/js/d3-tip-0.8.0-alpha.1.js
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/js/filesaver.min.js
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/js/jquery.flot.extents.js
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/js/jquery.flot.min.js
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/js/jquery.flot.navigate.min.js
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/js/jquery.flot.selection.min.js
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/js/jquery.min.js
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/js/jquery.treegrid.bootstrap3.js
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/js/jquery.treegrid.min.js
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/js/jquery.url.min.js
+ KEYS
+ lwtrace/mon/static/common.css
+ lwtrace/mon/static/common.js
+ lwtrace/mon/static/css/bootstrap.min.css
+ lwtrace/mon/static/css/d3-gantt.css
+ lwtrace/mon/static/css/jquery.treegrid.css
+ lwtrace/mon/static/analytics.css
+ lwtrace/mon/static/analytics.flot.html
+ lwtrace/mon/static/analytics.gantt.html
+ lwtrace/mon/static/analytics.header.html
+ lwtrace/mon/static/analytics.js
+ lwtrace/mon/static/fonts/glyphicons-halflings-regular.eot
+ lwtrace/mon/static/fonts/glyphicons-halflings-regular.svg
+ lwtrace/mon/static/fonts/glyphicons-halflings-regular.ttf
+ lwtrace/mon/static/fonts/glyphicons-halflings-regular.woff2
+ lwtrace/mon/static/fonts/glyphicons-halflings-regular.woff
+ lwtrace/mon/static/footer.html
+ lwtrace/mon/static/header.html
+ lwtrace/mon/static/img/collapse.png
+ lwtrace/mon/static/img/expand.png
+ lwtrace/mon/static/img/file.png
+ lwtrace/mon/static/img/folder.png
+ lwtrace/mon/static/js/bootstrap.min.js
+ lwtrace/mon/static/js/d3.v4.min.js
+ lwtrace/mon/static/js/d3-gantt.js
+ lwtrace/mon/static/js/d3-tip-0.8.0-alpha.1.js
+ lwtrace/mon/static/js/filesaver.min.js
+ lwtrace/mon/static/js/jquery.flot.extents.js
+ lwtrace/mon/static/js/jquery.flot.min.js
+ lwtrace/mon/static/js/jquery.flot.navigate.min.js
+ lwtrace/mon/static/js/jquery.flot.selection.min.js
+ lwtrace/mon/static/js/jquery.min.js
+ lwtrace/mon/static/js/jquery.treegrid.bootstrap3.js
+ lwtrace/mon/static/js/jquery.treegrid.min.js
+ lwtrace/mon/static/js/jquery.url.min.js
+)
diff --git a/library/cpp/lwtrace/mon/CMakeLists.txt b/library/cpp/lwtrace/mon/CMakeLists.txt
index 50bdef36cb..3e0811fb22 100644
--- a/library/cpp/lwtrace/mon/CMakeLists.txt
+++ b/library/cpp/lwtrace/mon/CMakeLists.txt
@@ -6,107 +6,10 @@
# original buildsystem will not be accepted.
-add_subdirectory(analytics)
-
-add_library(cpp-lwtrace-mon)
-target_link_libraries(cpp-lwtrace-mon PUBLIC
- contrib-libs-cxxsupp
- yutil
- library-cpp-resource
- cpp-html-pcdata
- library-cpp-lwtrace
- lwtrace-mon-analytics
- cpp-monlib-dynamic_counters
- cpp-string_utils-base64
-)
-target_sources(cpp-lwtrace-mon PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/mon_lwtrace.cpp
-)
-
-add_global_library_for(cpp-lwtrace-mon.global cpp-lwtrace-mon)
-target_link_libraries(cpp-lwtrace-mon.global PUBLIC
- contrib-libs-cxxsupp
- yutil
- library-cpp-resource
- cpp-html-pcdata
- library-cpp-lwtrace
- lwtrace-mon-analytics
- cpp-monlib-dynamic_counters
- cpp-string_utils-base64
-)
-target_sources(cpp-lwtrace-mon.global PRIVATE
- ${CMAKE_BINARY_DIR}/library/cpp/lwtrace/mon/55ff1192d5e8c2c093974f8d6c720a35.cpp
-)
-resources(cpp-lwtrace-mon.global
- ${CMAKE_BINARY_DIR}/library/cpp/lwtrace/mon/55ff1192d5e8c2c093974f8d6c720a35.cpp
- INPUTS
- ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/common.css
- ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/common.js
- ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/css/bootstrap.min.css
- ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/css/d3-gantt.css
- ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/css/jquery.treegrid.css
- ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/analytics.css
- ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/analytics.flot.html
- ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/analytics.gantt.html
- ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/analytics.header.html
- ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/analytics.js
- ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/fonts/glyphicons-halflings-regular.eot
- ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/fonts/glyphicons-halflings-regular.svg
- ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/fonts/glyphicons-halflings-regular.ttf
- ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/fonts/glyphicons-halflings-regular.woff2
- ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/fonts/glyphicons-halflings-regular.woff
- ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/footer.html
- ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/header.html
- ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/img/collapse.png
- ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/img/expand.png
- ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/img/file.png
- ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/img/folder.png
- ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/js/bootstrap.min.js
- ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/js/d3.v4.min.js
- ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/js/d3-gantt.js
- ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/js/d3-tip-0.8.0-alpha.1.js
- ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/js/filesaver.min.js
- ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/js/jquery.flot.extents.js
- ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/js/jquery.flot.min.js
- ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/js/jquery.flot.navigate.min.js
- ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/js/jquery.flot.selection.min.js
- ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/js/jquery.min.js
- ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/js/jquery.treegrid.bootstrap3.js
- ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/js/jquery.treegrid.min.js
- ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/static/js/jquery.url.min.js
- KEYS
- lwtrace/mon/static/common.css
- lwtrace/mon/static/common.js
- lwtrace/mon/static/css/bootstrap.min.css
- lwtrace/mon/static/css/d3-gantt.css
- lwtrace/mon/static/css/jquery.treegrid.css
- lwtrace/mon/static/analytics.css
- lwtrace/mon/static/analytics.flot.html
- lwtrace/mon/static/analytics.gantt.html
- lwtrace/mon/static/analytics.header.html
- lwtrace/mon/static/analytics.js
- lwtrace/mon/static/fonts/glyphicons-halflings-regular.eot
- lwtrace/mon/static/fonts/glyphicons-halflings-regular.svg
- lwtrace/mon/static/fonts/glyphicons-halflings-regular.ttf
- lwtrace/mon/static/fonts/glyphicons-halflings-regular.woff2
- lwtrace/mon/static/fonts/glyphicons-halflings-regular.woff
- lwtrace/mon/static/footer.html
- lwtrace/mon/static/header.html
- lwtrace/mon/static/img/collapse.png
- lwtrace/mon/static/img/expand.png
- lwtrace/mon/static/img/file.png
- lwtrace/mon/static/img/folder.png
- lwtrace/mon/static/js/bootstrap.min.js
- lwtrace/mon/static/js/d3.v4.min.js
- lwtrace/mon/static/js/d3-gantt.js
- lwtrace/mon/static/js/d3-tip-0.8.0-alpha.1.js
- lwtrace/mon/static/js/filesaver.min.js
- lwtrace/mon/static/js/jquery.flot.extents.js
- lwtrace/mon/static/js/jquery.flot.min.js
- lwtrace/mon/static/js/jquery.flot.navigate.min.js
- lwtrace/mon/static/js/jquery.flot.selection.min.js
- lwtrace/mon/static/js/jquery.min.js
- lwtrace/mon/static/js/jquery.treegrid.bootstrap3.js
- lwtrace/mon/static/js/jquery.treegrid.min.js
- lwtrace/mon/static/js/jquery.url.min.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()
diff --git a/library/cpp/lwtrace/mon/analytics/CMakeLists.darwin.txt b/library/cpp/lwtrace/mon/analytics/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..68709fa66d
--- /dev/null
+++ b/library/cpp/lwtrace/mon/analytics/CMakeLists.darwin.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(lwtrace-mon-analytics)
+target_link_libraries(lwtrace-mon-analytics PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(lwtrace-mon-analytics PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/analytics/analytics.cpp
+)
diff --git a/library/cpp/lwtrace/mon/analytics/CMakeLists.linux-aarch64.txt b/library/cpp/lwtrace/mon/analytics/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..b000e97516
--- /dev/null
+++ b/library/cpp/lwtrace/mon/analytics/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,18 @@
+
+# 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(lwtrace-mon-analytics)
+target_link_libraries(lwtrace-mon-analytics PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(lwtrace-mon-analytics PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/analytics/analytics.cpp
+)
diff --git a/library/cpp/lwtrace/mon/analytics/CMakeLists.linux.txt b/library/cpp/lwtrace/mon/analytics/CMakeLists.linux.txt
new file mode 100644
index 0000000000..b000e97516
--- /dev/null
+++ b/library/cpp/lwtrace/mon/analytics/CMakeLists.linux.txt
@@ -0,0 +1,18 @@
+
+# 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(lwtrace-mon-analytics)
+target_link_libraries(lwtrace-mon-analytics PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+)
+target_sources(lwtrace-mon-analytics PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/analytics/analytics.cpp
+)
diff --git a/library/cpp/lwtrace/mon/analytics/CMakeLists.txt b/library/cpp/lwtrace/mon/analytics/CMakeLists.txt
index 68709fa66d..3e0811fb22 100644
--- a/library/cpp/lwtrace/mon/analytics/CMakeLists.txt
+++ b/library/cpp/lwtrace/mon/analytics/CMakeLists.txt
@@ -6,12 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(lwtrace-mon-analytics)
-target_link_libraries(lwtrace-mon-analytics PUBLIC
- contrib-libs-cxxsupp
- yutil
-)
-target_sources(lwtrace-mon-analytics PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/mon/analytics/analytics.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/lwtrace/protos/CMakeLists.darwin.txt b/library/cpp/lwtrace/protos/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..bed5cf2669
--- /dev/null
+++ b/library/cpp/lwtrace/protos/CMakeLists.darwin.txt
@@ -0,0 +1,31 @@
+
+# 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-lwtrace-protos)
+target_link_libraries(cpp-lwtrace-protos PUBLIC
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-protobuf
+)
+target_proto_messages(cpp-lwtrace-protos PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/protos/lwtrace.proto
+)
+target_proto_addincls(cpp-lwtrace-protos
+ ./
+ ${CMAKE_SOURCE_DIR}/
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
+)
+target_proto_outs(cpp-lwtrace-protos
+ --cpp_out=${CMAKE_BINARY_DIR}/
+ --cpp_styleguide_out=${CMAKE_BINARY_DIR}/
+)
diff --git a/library/cpp/lwtrace/protos/CMakeLists.linux-aarch64.txt b/library/cpp/lwtrace/protos/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..d41269194f
--- /dev/null
+++ b/library/cpp/lwtrace/protos/CMakeLists.linux-aarch64.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(cpp-lwtrace-protos)
+target_link_libraries(cpp-lwtrace-protos PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-protobuf
+)
+target_proto_messages(cpp-lwtrace-protos PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/protos/lwtrace.proto
+)
+target_proto_addincls(cpp-lwtrace-protos
+ ./
+ ${CMAKE_SOURCE_DIR}/
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
+)
+target_proto_outs(cpp-lwtrace-protos
+ --cpp_out=${CMAKE_BINARY_DIR}/
+ --cpp_styleguide_out=${CMAKE_BINARY_DIR}/
+)
diff --git a/library/cpp/lwtrace/protos/CMakeLists.linux.txt b/library/cpp/lwtrace/protos/CMakeLists.linux.txt
new file mode 100644
index 0000000000..d41269194f
--- /dev/null
+++ b/library/cpp/lwtrace/protos/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(cpp-lwtrace-protos)
+target_link_libraries(cpp-lwtrace-protos PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ yutil
+ contrib-libs-protobuf
+)
+target_proto_messages(cpp-lwtrace-protos PRIVATE
+ ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/protos/lwtrace.proto
+)
+target_proto_addincls(cpp-lwtrace-protos
+ ./
+ ${CMAKE_SOURCE_DIR}/
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
+ ${CMAKE_BINARY_DIR}
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
+)
+target_proto_outs(cpp-lwtrace-protos
+ --cpp_out=${CMAKE_BINARY_DIR}/
+ --cpp_styleguide_out=${CMAKE_BINARY_DIR}/
+)
diff --git a/library/cpp/lwtrace/protos/CMakeLists.txt b/library/cpp/lwtrace/protos/CMakeLists.txt
index bed5cf2669..3e0811fb22 100644
--- a/library/cpp/lwtrace/protos/CMakeLists.txt
+++ b/library/cpp/lwtrace/protos/CMakeLists.txt
@@ -6,26 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(cpp-lwtrace-protos)
-target_link_libraries(cpp-lwtrace-protos PUBLIC
- contrib-libs-cxxsupp
- yutil
- contrib-libs-protobuf
-)
-target_proto_messages(cpp-lwtrace-protos PRIVATE
- ${CMAKE_SOURCE_DIR}/library/cpp/lwtrace/protos/lwtrace.proto
-)
-target_proto_addincls(cpp-lwtrace-protos
- ./
- ${CMAKE_SOURCE_DIR}/
- ${CMAKE_BINARY_DIR}
- ${CMAKE_SOURCE_DIR}
- ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
- ${CMAKE_BINARY_DIR}
- ${CMAKE_SOURCE_DIR}/contrib/libs/protobuf/src
-)
-target_proto_outs(cpp-lwtrace-protos
- --cpp_out=${CMAKE_BINARY_DIR}/
- --cpp_styleguide_out=${CMAKE_BINARY_DIR}/
-)
+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()