aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/libs/protoc
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 /contrib/libs/protoc
parentd1d5f5e00df0dd6efc00880dd8283477fc643aaf (diff)
downloadydb-0c31d97afd7858af5f8f858c8addf91655ca9ccc.tar.gz
Sync linux-headers instead of using system ones
Diffstat (limited to 'contrib/libs/protoc')
-rw-r--r--contrib/libs/protoc/CMakeLists.darwin.txt112
-rw-r--r--contrib/libs/protoc/CMakeLists.linux-aarch64.txt113
-rw-r--r--contrib/libs/protoc/CMakeLists.linux.txt113
-rw-r--r--contrib/libs/protoc/CMakeLists.txt111
4 files changed, 345 insertions, 104 deletions
diff --git a/contrib/libs/protoc/CMakeLists.darwin.txt b/contrib/libs/protoc/CMakeLists.darwin.txt
new file mode 100644
index 0000000000..da2b5ef195
--- /dev/null
+++ b/contrib/libs/protoc/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_library(contrib-libs-protoc)
+target_compile_options(contrib-libs-protoc PRIVATE
+ -DHAVE_CONFIG_H
+ -DHAVE_PTHREAD=1
+ -DHAVE_ZLIB=1
+ -Wno-everything
+)
+target_include_directories(contrib-libs-protoc PUBLIC
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src
+)
+target_link_libraries(contrib-libs-protoc PUBLIC
+ contrib-libs-cxxsupp
+ contrib-libs-protobuf
+)
+target_sources(contrib-libs-protoc PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/code_generator.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/command_line_interface.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/cpp/cpp_enum.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/cpp/cpp_enum_field.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/cpp/cpp_extension.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/cpp/cpp_field.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/cpp/cpp_file.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/cpp/cpp_generator.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/cpp/cpp_helpers.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/cpp/cpp_map_field.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/cpp/cpp_message.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/cpp/cpp_message_field.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/cpp/cpp_padding_optimizer.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/cpp/cpp_parse_function_generator.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/cpp/cpp_primitive_field.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/cpp/cpp_service.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/cpp/cpp_string_field.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/csharp/csharp_doc_comment.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/csharp/csharp_enum.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/csharp/csharp_enum_field.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/csharp/csharp_field_base.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/csharp/csharp_generator.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/csharp/csharp_helpers.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/csharp/csharp_map_field.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/csharp/csharp_message.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/csharp/csharp_message_field.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/csharp/csharp_primitive_field.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/csharp/csharp_reflection_class.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/csharp/csharp_repeated_enum_field.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/csharp/csharp_repeated_message_field.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/csharp/csharp_repeated_primitive_field.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/csharp/csharp_source_generator_base.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/csharp/csharp_wrapper_field.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/importer.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/java/java_context.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/java/java_doc_comment.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/java/java_enum.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/java/java_enum_field.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/java/java_enum_field_lite.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/java/java_enum_lite.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/java/java_extension.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/java/java_extension_lite.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/java/java_field.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/java/java_file.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/java/java_generator.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/java/java_generator_factory.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/java/java_helpers.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/java/java_kotlin_generator.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/java/java_map_field.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/java/java_map_field_lite.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/java/java_message.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/java/java_message_builder.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/java/java_message_builder_lite.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/java/java_message_field.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/java/java_message_field_lite.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/java/java_message_lite.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/java/java_name_resolver.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/java/java_primitive_field.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/java/java_primitive_field_lite.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/java/java_service.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/java/java_shared_code_generator.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/java/java_string_field.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/java/java_string_field_lite.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/js/js_generator.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/js/well_known_types_embed.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/objectivec/objectivec_enum.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/objectivec/objectivec_enum_field.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/objectivec/objectivec_extension.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/objectivec/objectivec_field.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/objectivec/objectivec_file.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/objectivec/objectivec_generator.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/objectivec/objectivec_helpers.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/objectivec/objectivec_map_field.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/objectivec/objectivec_message.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/objectivec/objectivec_message_field.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/objectivec/objectivec_oneof.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/objectivec/objectivec_primitive_field.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/parser.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/perlxs/perlxs_generator.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/perlxs/perlxs_helpers.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/php/php_generator.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/plugin.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/plugin.pb.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/python/python_generator.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/ruby/ruby_generator.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/subprocess.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/zip_writer.cc
+)
diff --git a/contrib/libs/protoc/CMakeLists.linux-aarch64.txt b/contrib/libs/protoc/CMakeLists.linux-aarch64.txt
new file mode 100644
index 0000000000..6af40d4f51
--- /dev/null
+++ b/contrib/libs/protoc/CMakeLists.linux-aarch64.txt
@@ -0,0 +1,113 @@
+
+# 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(contrib-libs-protoc)
+target_compile_options(contrib-libs-protoc PRIVATE
+ -DHAVE_CONFIG_H
+ -DHAVE_PTHREAD=1
+ -DHAVE_ZLIB=1
+ -Wno-everything
+)
+target_include_directories(contrib-libs-protoc PUBLIC
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src
+)
+target_link_libraries(contrib-libs-protoc PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ contrib-libs-protobuf
+)
+target_sources(contrib-libs-protoc PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/code_generator.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/command_line_interface.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/cpp/cpp_enum.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/cpp/cpp_enum_field.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/cpp/cpp_extension.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/cpp/cpp_field.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/cpp/cpp_file.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/cpp/cpp_generator.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/cpp/cpp_helpers.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/cpp/cpp_map_field.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/cpp/cpp_message.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/cpp/cpp_message_field.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/cpp/cpp_padding_optimizer.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/cpp/cpp_parse_function_generator.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/cpp/cpp_primitive_field.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/cpp/cpp_service.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/cpp/cpp_string_field.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/csharp/csharp_doc_comment.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/csharp/csharp_enum.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/csharp/csharp_enum_field.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/csharp/csharp_field_base.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/csharp/csharp_generator.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/csharp/csharp_helpers.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/csharp/csharp_map_field.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/csharp/csharp_message.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/csharp/csharp_message_field.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/csharp/csharp_primitive_field.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/csharp/csharp_reflection_class.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/csharp/csharp_repeated_enum_field.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/csharp/csharp_repeated_message_field.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/csharp/csharp_repeated_primitive_field.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/csharp/csharp_source_generator_base.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/csharp/csharp_wrapper_field.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/importer.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/java/java_context.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/java/java_doc_comment.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/java/java_enum.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/java/java_enum_field.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/java/java_enum_field_lite.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/java/java_enum_lite.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/java/java_extension.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/java/java_extension_lite.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/java/java_field.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/java/java_file.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/java/java_generator.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/java/java_generator_factory.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/java/java_helpers.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/java/java_kotlin_generator.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/java/java_map_field.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/java/java_map_field_lite.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/java/java_message.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/java/java_message_builder.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/java/java_message_builder_lite.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/java/java_message_field.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/java/java_message_field_lite.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/java/java_message_lite.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/java/java_name_resolver.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/java/java_primitive_field.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/java/java_primitive_field_lite.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/java/java_service.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/java/java_shared_code_generator.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/java/java_string_field.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/java/java_string_field_lite.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/js/js_generator.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/js/well_known_types_embed.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/objectivec/objectivec_enum.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/objectivec/objectivec_enum_field.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/objectivec/objectivec_extension.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/objectivec/objectivec_field.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/objectivec/objectivec_file.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/objectivec/objectivec_generator.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/objectivec/objectivec_helpers.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/objectivec/objectivec_map_field.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/objectivec/objectivec_message.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/objectivec/objectivec_message_field.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/objectivec/objectivec_oneof.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/objectivec/objectivec_primitive_field.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/parser.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/perlxs/perlxs_generator.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/perlxs/perlxs_helpers.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/php/php_generator.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/plugin.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/plugin.pb.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/python/python_generator.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/ruby/ruby_generator.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/subprocess.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/zip_writer.cc
+)
diff --git a/contrib/libs/protoc/CMakeLists.linux.txt b/contrib/libs/protoc/CMakeLists.linux.txt
new file mode 100644
index 0000000000..6af40d4f51
--- /dev/null
+++ b/contrib/libs/protoc/CMakeLists.linux.txt
@@ -0,0 +1,113 @@
+
+# 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(contrib-libs-protoc)
+target_compile_options(contrib-libs-protoc PRIVATE
+ -DHAVE_CONFIG_H
+ -DHAVE_PTHREAD=1
+ -DHAVE_ZLIB=1
+ -Wno-everything
+)
+target_include_directories(contrib-libs-protoc PUBLIC
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src
+)
+target_link_libraries(contrib-libs-protoc PUBLIC
+ contrib-libs-linux-headers
+ contrib-libs-cxxsupp
+ contrib-libs-protobuf
+)
+target_sources(contrib-libs-protoc PRIVATE
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/code_generator.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/command_line_interface.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/cpp/cpp_enum.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/cpp/cpp_enum_field.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/cpp/cpp_extension.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/cpp/cpp_field.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/cpp/cpp_file.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/cpp/cpp_generator.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/cpp/cpp_helpers.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/cpp/cpp_map_field.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/cpp/cpp_message.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/cpp/cpp_message_field.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/cpp/cpp_padding_optimizer.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/cpp/cpp_parse_function_generator.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/cpp/cpp_primitive_field.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/cpp/cpp_service.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/cpp/cpp_string_field.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/csharp/csharp_doc_comment.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/csharp/csharp_enum.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/csharp/csharp_enum_field.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/csharp/csharp_field_base.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/csharp/csharp_generator.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/csharp/csharp_helpers.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/csharp/csharp_map_field.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/csharp/csharp_message.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/csharp/csharp_message_field.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/csharp/csharp_primitive_field.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/csharp/csharp_reflection_class.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/csharp/csharp_repeated_enum_field.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/csharp/csharp_repeated_message_field.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/csharp/csharp_repeated_primitive_field.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/csharp/csharp_source_generator_base.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/csharp/csharp_wrapper_field.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/importer.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/java/java_context.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/java/java_doc_comment.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/java/java_enum.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/java/java_enum_field.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/java/java_enum_field_lite.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/java/java_enum_lite.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/java/java_extension.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/java/java_extension_lite.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/java/java_field.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/java/java_file.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/java/java_generator.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/java/java_generator_factory.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/java/java_helpers.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/java/java_kotlin_generator.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/java/java_map_field.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/java/java_map_field_lite.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/java/java_message.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/java/java_message_builder.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/java/java_message_builder_lite.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/java/java_message_field.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/java/java_message_field_lite.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/java/java_message_lite.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/java/java_name_resolver.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/java/java_primitive_field.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/java/java_primitive_field_lite.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/java/java_service.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/java/java_shared_code_generator.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/java/java_string_field.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/java/java_string_field_lite.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/js/js_generator.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/js/well_known_types_embed.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/objectivec/objectivec_enum.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/objectivec/objectivec_enum_field.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/objectivec/objectivec_extension.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/objectivec/objectivec_field.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/objectivec/objectivec_file.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/objectivec/objectivec_generator.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/objectivec/objectivec_helpers.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/objectivec/objectivec_map_field.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/objectivec/objectivec_message.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/objectivec/objectivec_message_field.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/objectivec/objectivec_oneof.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/objectivec/objectivec_primitive_field.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/parser.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/perlxs/perlxs_generator.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/perlxs/perlxs_helpers.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/php/php_generator.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/plugin.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/plugin.pb.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/python/python_generator.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/ruby/ruby_generator.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/subprocess.cc
+ ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/zip_writer.cc
+)
diff --git a/contrib/libs/protoc/CMakeLists.txt b/contrib/libs/protoc/CMakeLists.txt
index da2b5ef195..3e0811fb22 100644
--- a/contrib/libs/protoc/CMakeLists.txt
+++ b/contrib/libs/protoc/CMakeLists.txt
@@ -6,107 +6,10 @@
# original buildsystem will not be accepted.
-
-add_library(contrib-libs-protoc)
-target_compile_options(contrib-libs-protoc PRIVATE
- -DHAVE_CONFIG_H
- -DHAVE_PTHREAD=1
- -DHAVE_ZLIB=1
- -Wno-everything
-)
-target_include_directories(contrib-libs-protoc PUBLIC
- ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src
-)
-target_link_libraries(contrib-libs-protoc PUBLIC
- contrib-libs-cxxsupp
- contrib-libs-protobuf
-)
-target_sources(contrib-libs-protoc PRIVATE
- ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/code_generator.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/command_line_interface.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/cpp/cpp_enum.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/cpp/cpp_enum_field.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/cpp/cpp_extension.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/cpp/cpp_field.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/cpp/cpp_file.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/cpp/cpp_generator.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/cpp/cpp_helpers.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/cpp/cpp_map_field.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/cpp/cpp_message.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/cpp/cpp_message_field.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/cpp/cpp_padding_optimizer.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/cpp/cpp_parse_function_generator.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/cpp/cpp_primitive_field.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/cpp/cpp_service.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/cpp/cpp_string_field.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/csharp/csharp_doc_comment.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/csharp/csharp_enum.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/csharp/csharp_enum_field.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/csharp/csharp_field_base.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/csharp/csharp_generator.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/csharp/csharp_helpers.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/csharp/csharp_map_field.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/csharp/csharp_message.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/csharp/csharp_message_field.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/csharp/csharp_primitive_field.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/csharp/csharp_reflection_class.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/csharp/csharp_repeated_enum_field.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/csharp/csharp_repeated_message_field.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/csharp/csharp_repeated_primitive_field.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/csharp/csharp_source_generator_base.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/csharp/csharp_wrapper_field.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/importer.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/java/java_context.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/java/java_doc_comment.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/java/java_enum.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/java/java_enum_field.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/java/java_enum_field_lite.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/java/java_enum_lite.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/java/java_extension.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/java/java_extension_lite.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/java/java_field.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/java/java_file.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/java/java_generator.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/java/java_generator_factory.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/java/java_helpers.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/java/java_kotlin_generator.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/java/java_map_field.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/java/java_map_field_lite.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/java/java_message.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/java/java_message_builder.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/java/java_message_builder_lite.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/java/java_message_field.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/java/java_message_field_lite.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/java/java_message_lite.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/java/java_name_resolver.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/java/java_primitive_field.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/java/java_primitive_field_lite.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/java/java_service.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/java/java_shared_code_generator.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/java/java_string_field.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/java/java_string_field_lite.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/js/js_generator.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/js/well_known_types_embed.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/objectivec/objectivec_enum.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/objectivec/objectivec_enum_field.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/objectivec/objectivec_extension.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/objectivec/objectivec_field.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/objectivec/objectivec_file.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/objectivec/objectivec_generator.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/objectivec/objectivec_helpers.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/objectivec/objectivec_map_field.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/objectivec/objectivec_message.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/objectivec/objectivec_message_field.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/objectivec/objectivec_oneof.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/objectivec/objectivec_primitive_field.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/parser.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/perlxs/perlxs_generator.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/perlxs/perlxs_helpers.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/php/php_generator.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/plugin.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/plugin.pb.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/python/python_generator.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/ruby/ruby_generator.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/subprocess.cc
- ${CMAKE_SOURCE_DIR}/contrib/libs/protoc/src/google/protobuf/compiler/zip_writer.cc
-)
+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()