This is an automated email from the ASF dual-hosted git repository.

lordgamez pushed a commit to branch sparkplug_base
in repository https://gitbox.apache.org/repos/asf/nifi-minifi-cpp.git

commit 7b4a57189dd96d3af39e8963222c3b86944e41c9
Author: Gabor Gyimesi <[email protected]>
AuthorDate: Tue Aug 5 16:42:18 2025 +0200

    MINIFICPP-2601 Separate protobuf library from grpc
    
    - Upgrade grpc library to v1.72.2
---
 cmake/Grpc.cmake                                   |  17 +-
 cmake/Protobuf.cmake                               |  37 ++
 extensions/grafana-loki/CMakeLists.txt             |   1 -
 thirdparty/grpc/fix-constants-on-windows.patch     |  35 --
 thirdparty/grpc/fix-protobuf-find-package.patch    |  22 ++
 ...e-custom-commands-for-unused-dependencies.patch | 428 ---------------------
 6 files changed, 66 insertions(+), 474 deletions(-)

diff --git a/cmake/Grpc.cmake b/cmake/Grpc.cmake
index 854780586..266c7f84b 100644
--- a/cmake/Grpc.cmake
+++ b/cmake/Grpc.cmake
@@ -15,6 +15,8 @@
 # specific language governing permissions and limitations
 # under the License.
 include(FetchContent)
+include(Abseil)
+include(Protobuf)
 
 set(gRPC_BUILD_GRPC_CSHARP_PLUGIN OFF CACHE BOOL "" FORCE)
 set(gRPC_BUILD_GRPC_NODE_PLUGIN OFF CACHE BOOL "" FORCE)
@@ -26,20 +28,17 @@ set(RE2_BUILD_TESTING OFF CACHE BOOL "" FORCE)
 set(gRPC_ABSL_PROVIDER "package" CACHE STRING "" FORCE)
 set(gRPC_ZLIB_PROVIDER "package" CACHE STRING "" FORCE)
 set(gRPC_SSL_PROVIDER "package" CACHE STRING "" FORCE)
-set(protobuf_BUILD_TESTS OFF CACHE BOOL "" FORCE)
-set(protobuf_ABSL_PROVIDER "package" CACHE STRING "" FORCE)
+set(gRPC_PROTOBUF_PROVIDER "package" CACHE STRING "" FORCE)
 
-set(PATCH_FILE_1 
"${CMAKE_SOURCE_DIR}/thirdparty/grpc/remove-custom-commands-for-unused-dependencies.patch")
-set(PATCH_FILE_2 
"${CMAKE_SOURCE_DIR}/thirdparty/grpc/fix-constants-on-windows.patch")
+set(PATCH_FILE 
"${CMAKE_SOURCE_DIR}/thirdparty/grpc/fix-protobuf-find-package.patch")
 set(PC ${Bash_EXECUTABLE}  -c "set -x &&\
-            (\\\"${Patch_EXECUTABLE}\\\" -p1 -R -s -f --dry-run -i 
\\\"${PATCH_FILE_1}\\\" || \\\"${Patch_EXECUTABLE}\\\" -p1 -N -i 
\\\"${PATCH_FILE_1}\\\") &&\
-            (\\\"${Patch_EXECUTABLE}\\\" -p1 -R -s -f --dry-run -i 
\\\"${PATCH_FILE_2}\\\" || \\\"${Patch_EXECUTABLE}\\\" -p1 -N -i 
\\\"${PATCH_FILE_2}\\\")")
+            (\\\"${Patch_EXECUTABLE}\\\" -p1 -R -s -f --dry-run -i 
\\\"${PATCH_FILE}\\\" || \\\"${Patch_EXECUTABLE}\\\" -p1 -N -i 
\\\"${PATCH_FILE}\\\")")
 
 FetchContent_Declare(
   grpc
   GIT_REPOSITORY https://github.com/grpc/grpc
-  GIT_TAG        v1.68.0
-  GIT_SUBMODULES "third_party/cares/cares third_party/protobuf third_party/re2 
third_party/upb"
+  GIT_TAG        v1.72.2
+  GIT_SUBMODULES "third_party/cares/cares third_party/re2 third_party/upb"
   PATCH_COMMAND "${PC}"
   SYSTEM
 )
@@ -49,6 +48,4 @@ FetchContent_MakeAvailable(grpc)
 add_dependencies(grpc++ OpenSSL::SSL OpenSSL::Crypto ZLIB::ZLIB)
 
 set(GRPC_INCLUDE_DIR "${grpc_SOURCE_DIR}/include" CACHE STRING "" FORCE)
-set(PROTOBUF_INCLUDE_DIR "${protobuf_SOURCE_DIR}/src" CACHE STRING "" FORCE)
-set(PROTOBUF_COMPILER "$<TARGET_FILE:protoc>" CACHE STRING "" FORCE)
 set(GRPC_CPP_PLUGIN "$<TARGET_FILE:grpc_cpp_plugin>" CACHE STRING "" FORCE)
diff --git a/cmake/Protobuf.cmake b/cmake/Protobuf.cmake
new file mode 100644
index 000000000..eb0a73565
--- /dev/null
+++ b/cmake/Protobuf.cmake
@@ -0,0 +1,37 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements.  See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership.  The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License.  You may obtain a copy of the License at
+#
+#   http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied.  See the License for the
+# specific language governing permissions and limitations
+# under the License.
+include(FetchContent)
+
+set(protobuf_BUILD_TESTS OFF CACHE BOOL "" FORCE)
+
+FetchContent_Declare(
+    protobuf
+    URL      
https://github.com/protocolbuffers/protobuf/archive/refs/tags/v31.1.tar.gz
+    URL_HASH 
SHA256=c3a0a9ece8932e31c3b736e2db18b1c42e7070cd9b881388b26d01aa71e24ca2
+)
+FetchContent_MakeAvailable(protobuf)
+
+set(PROTOBUF_INCLUDE_DIR "${protobuf_SOURCE_DIR}/src" CACHE STRING "" FORCE)
+set(PROTOBUF_COMPILER "$<TARGET_FILE:protoc>" CACHE STRING "" FORCE)
+
+if (WIN32)
+    set(PROTOBUF_LIBRARIES 
"${protobuf_BINARY_DIR}/lib/${CMAKE_BUILD_TYPE}/protobuf_static.lib" CACHE 
STRING "" FORCE)
+    set(PROTOBUF_LIBRARY 
"${protobuf_BINARY_DIR}/lib/${CMAKE_BUILD_TYPE}/protobuf_static.lib" CACHE 
STRING "" FORCE)
+else()
+    set(PROTOBUF_LIBRARIES "${protobuf_BINARY_DIR}/lib/libprotobuf.a" CACHE 
STRING "" FORCE)
+    set(PROTOBUF_LIBRARY "${protobuf_BINARY_DIR}/lib/libprotobuf.a" CACHE 
STRING "" FORCE)
+endif()
diff --git a/extensions/grafana-loki/CMakeLists.txt 
b/extensions/grafana-loki/CMakeLists.txt
index d21d77538..e1278595d 100644
--- a/extensions/grafana-loki/CMakeLists.txt
+++ b/extensions/grafana-loki/CMakeLists.txt
@@ -23,7 +23,6 @@ endif()
 include(${CMAKE_SOURCE_DIR}/extensions/ExtensionHeader.txt)
 
 if (ENABLE_GRPC_FOR_LOKI)
-    include(Abseil)
     include(Grpc)
 
     set(LOKI_PROTOBUF_GENERATED_DIR 
${CMAKE_BINARY_DIR}/grafana-loki-protobuf-generated)
diff --git a/thirdparty/grpc/fix-constants-on-windows.patch 
b/thirdparty/grpc/fix-constants-on-windows.patch
deleted file mode 100644
index 90e087396..000000000
--- a/thirdparty/grpc/fix-constants-on-windows.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-diff --git a/third_party/protobuf/upb/message/internal/message.c 
b/third_party/protobuf/upb/message/internal/message.c
-index 57ab2d737..5f321c7bb 100644
---- a/third_party/protobuf/upb/message/internal/message.c
-+++ b/third_party/protobuf/upb/message/internal/message.c
-@@ -17,9 +17,9 @@
- // Must be last.
- #include "upb/port/def.inc"
- 
--const float kUpb_FltInfinity = INFINITY;
--const double kUpb_Infinity = INFINITY;
--const double kUpb_NaN = NAN;
-+const float kUpb_FltInfinity = (float)(1.0 / 0.0);
-+const double kUpb_Infinity = 1.0 / 0.0;
-+const double kUpb_NaN = 0.0 / 0.0;
- 
- bool UPB_PRIVATE(_upb_Message_Realloc)(struct upb_Message* msg, size_t need,
-                                        upb_Arena* a) {
-diff --git a/third_party/upb/upb/message/internal/message.c 
b/third_party/upb/upb/message/internal/message.c
-index 57ab2d737..5f321c7bb 100644
---- a/third_party/upb/upb/message/internal/message.c
-+++ b/third_party/upb/upb/message/internal/message.c
-@@ -17,9 +17,9 @@
- // Must be last.
- #include "upb/port/def.inc"
- 
--const float kUpb_FltInfinity = INFINITY;
--const double kUpb_Infinity = INFINITY;
--const double kUpb_NaN = NAN;
-+const float kUpb_FltInfinity = (float)(1.0 / 0.0);
-+const double kUpb_Infinity = 1.0 / 0.0;
-+const double kUpb_NaN = 0.0 / 0.0;
- 
- bool UPB_PRIVATE(_upb_Message_Realloc)(struct upb_Message* msg, size_t need,
-                                        upb_Arena* a) {
-
diff --git a/thirdparty/grpc/fix-protobuf-find-package.patch 
b/thirdparty/grpc/fix-protobuf-find-package.patch
new file mode 100644
index 000000000..52b6de459
--- /dev/null
+++ b/thirdparty/grpc/fix-protobuf-find-package.patch
@@ -0,0 +1,22 @@
+diff --git a/cmake/protobuf.cmake b/cmake/protobuf.cmake
+index ad80ca6e46..8df42dde40 100644
+--- a/cmake/protobuf.cmake
++++ b/cmake/protobuf.cmake
+@@ -55,7 +55,7 @@ if(gRPC_PROTOBUF_PROVIDER STREQUAL "module")
+     set(gRPC_INSTALL FALSE)
+   endif()
+ elseif(gRPC_PROTOBUF_PROVIDER STREQUAL "package")
+-  find_package(Protobuf REQUIRED CONFIG)
++  find_package(Protobuf REQUIRED)
+ 
+   if(Protobuf_FOUND OR PROTOBUF_FOUND)
+     if(TARGET protobuf::${_gRPC_PROTOBUF_LIBRARY_NAME})
+@@ -69,7 +69,7 @@ elseif(gRPC_PROTOBUF_PROVIDER STREQUAL "package")
+       set(_gRPC_PROTOBUF_PROTOC_LIBRARIES ${PROTOBUF_PROTOC_LIBRARIES})
+     endif()
+     # Well-known proto files are expected to be in the Protobuf include 
directory.
+-    get_target_property(_gRPC_PROTOBUF_WELLKNOWN_INCLUDE_DIR 
${_gRPC_PROTOBUF_LIBRARIES} INTERFACE_INCLUDE_DIRECTORIES)
++    set(_gRPC_PROTOBUF_WELLKNOWN_INCLUDE_DIR ${PROTOBUF_INCLUDE_DIR})
+     if(TARGET protobuf::protoc)
+       set(_gRPC_PROTOBUF_PROTOC protobuf::protoc)
+       if(CMAKE_CROSSCOMPILING)
diff --git 
a/thirdparty/grpc/remove-custom-commands-for-unused-dependencies.patch 
b/thirdparty/grpc/remove-custom-commands-for-unused-dependencies.patch
deleted file mode 100644
index c90bd194c..000000000
--- a/thirdparty/grpc/remove-custom-commands-for-unused-dependencies.patch
+++ /dev/null
@@ -1,428 +0,0 @@
-Removing the line ending whitespaces are not needed for the patch, but it 
ensures that the reverse patch in the dry run of the
-patch command fails. Otherwise the patch is not applied in the cmake 
configuration. 
-
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index fc4b6a40a5..ae494f1464 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -489,7 +489,7 @@ if(WIN32)
-   set(_gRPC_ALLTARGETS_LIBRARIES ${_gRPC_ALLTARGETS_LIBRARIES} ws2_32 crypt32)
-   set(_gRPC_STATIC_WIN32 STATIC)
- endif()
--  
-+
- if(BUILD_SHARED_LIBS AND WIN32)
- 
- # Currently for shared lib on Windows (i.e. a DLL) certain bits of source code
-@@ -890,411 +890,6 @@ protobuf_generate_grpc_cpp_with_import_path_correction(
- protobuf_generate_grpc_cpp_with_import_path_correction(
-   test/core/tsi/alts/fake_handshaker/transport_security_common.proto 
test/core/tsi/alts/fake_handshaker/transport_security_common.proto
- )
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  third_party/envoy-api/envoy/annotations/deprecation.proto 
envoy/annotations/deprecation.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  third_party/envoy-api/envoy/annotations/resource.proto 
envoy/annotations/resource.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  third_party/envoy-api/envoy/config/accesslog/v3/accesslog.proto 
envoy/config/accesslog/v3/accesslog.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  third_party/envoy-api/envoy/config/cluster/v3/circuit_breaker.proto 
envoy/config/cluster/v3/circuit_breaker.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  third_party/envoy-api/envoy/config/cluster/v3/cluster.proto 
envoy/config/cluster/v3/cluster.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  third_party/envoy-api/envoy/config/cluster/v3/filter.proto 
envoy/config/cluster/v3/filter.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  third_party/envoy-api/envoy/config/cluster/v3/outlier_detection.proto 
envoy/config/cluster/v3/outlier_detection.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  third_party/envoy-api/envoy/config/core/v3/address.proto 
envoy/config/core/v3/address.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  third_party/envoy-api/envoy/config/core/v3/backoff.proto 
envoy/config/core/v3/backoff.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  third_party/envoy-api/envoy/config/core/v3/base.proto 
envoy/config/core/v3/base.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  third_party/envoy-api/envoy/config/core/v3/config_source.proto 
envoy/config/core/v3/config_source.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  third_party/envoy-api/envoy/config/core/v3/event_service_config.proto 
envoy/config/core/v3/event_service_config.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  third_party/envoy-api/envoy/config/core/v3/extension.proto 
envoy/config/core/v3/extension.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  third_party/envoy-api/envoy/config/core/v3/grpc_method_list.proto 
envoy/config/core/v3/grpc_method_list.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  third_party/envoy-api/envoy/config/core/v3/grpc_service.proto 
envoy/config/core/v3/grpc_service.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  third_party/envoy-api/envoy/config/core/v3/health_check.proto 
envoy/config/core/v3/health_check.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  third_party/envoy-api/envoy/config/core/v3/http_service.proto 
envoy/config/core/v3/http_service.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  third_party/envoy-api/envoy/config/core/v3/http_uri.proto 
envoy/config/core/v3/http_uri.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  third_party/envoy-api/envoy/config/core/v3/protocol.proto 
envoy/config/core/v3/protocol.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  third_party/envoy-api/envoy/config/core/v3/proxy_protocol.proto 
envoy/config/core/v3/proxy_protocol.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  third_party/envoy-api/envoy/config/core/v3/resolver.proto 
envoy/config/core/v3/resolver.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  third_party/envoy-api/envoy/config/core/v3/socket_option.proto 
envoy/config/core/v3/socket_option.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  third_party/envoy-api/envoy/config/core/v3/substitution_format_string.proto 
envoy/config/core/v3/substitution_format_string.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  third_party/envoy-api/envoy/config/core/v3/udp_socket_config.proto 
envoy/config/core/v3/udp_socket_config.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  third_party/envoy-api/envoy/config/endpoint/v3/endpoint.proto 
envoy/config/endpoint/v3/endpoint.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  third_party/envoy-api/envoy/config/endpoint/v3/endpoint_components.proto 
envoy/config/endpoint/v3/endpoint_components.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  third_party/envoy-api/envoy/config/endpoint/v3/load_report.proto 
envoy/config/endpoint/v3/load_report.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  third_party/envoy-api/envoy/config/listener/v3/api_listener.proto 
envoy/config/listener/v3/api_listener.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  third_party/envoy-api/envoy/config/listener/v3/listener.proto 
envoy/config/listener/v3/listener.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  third_party/envoy-api/envoy/config/listener/v3/listener_components.proto 
envoy/config/listener/v3/listener_components.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  third_party/envoy-api/envoy/config/listener/v3/quic_config.proto 
envoy/config/listener/v3/quic_config.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  third_party/envoy-api/envoy/config/listener/v3/udp_listener_config.proto 
envoy/config/listener/v3/udp_listener_config.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  third_party/envoy-api/envoy/config/rbac/v3/rbac.proto 
envoy/config/rbac/v3/rbac.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  third_party/envoy-api/envoy/config/route/v3/route.proto 
envoy/config/route/v3/route.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  third_party/envoy-api/envoy/config/route/v3/route_components.proto 
envoy/config/route/v3/route_components.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  third_party/envoy-api/envoy/config/route/v3/scoped_route.proto 
envoy/config/route/v3/scoped_route.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  third_party/envoy-api/envoy/config/trace/v3/datadog.proto 
envoy/config/trace/v3/datadog.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  third_party/envoy-api/envoy/config/trace/v3/dynamic_ot.proto 
envoy/config/trace/v3/dynamic_ot.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  third_party/envoy-api/envoy/config/trace/v3/http_tracer.proto 
envoy/config/trace/v3/http_tracer.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  third_party/envoy-api/envoy/config/trace/v3/lightstep.proto 
envoy/config/trace/v3/lightstep.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  third_party/envoy-api/envoy/config/trace/v3/opencensus.proto 
envoy/config/trace/v3/opencensus.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  third_party/envoy-api/envoy/config/trace/v3/opentelemetry.proto 
envoy/config/trace/v3/opentelemetry.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  third_party/envoy-api/envoy/config/trace/v3/service.proto 
envoy/config/trace/v3/service.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  third_party/envoy-api/envoy/config/trace/v3/skywalking.proto 
envoy/config/trace/v3/skywalking.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  third_party/envoy-api/envoy/config/trace/v3/trace.proto 
envoy/config/trace/v3/trace.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  third_party/envoy-api/envoy/config/trace/v3/xray.proto 
envoy/config/trace/v3/xray.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  third_party/envoy-api/envoy/config/trace/v3/zipkin.proto 
envoy/config/trace/v3/zipkin.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  third_party/envoy-api/envoy/data/accesslog/v3/accesslog.proto 
envoy/data/accesslog/v3/accesslog.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  third_party/envoy-api/envoy/extensions/clusters/aggregate/v3/cluster.proto 
envoy/extensions/clusters/aggregate/v3/cluster.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  third_party/envoy-api/envoy/extensions/filters/common/fault/v3/fault.proto 
envoy/extensions/filters/common/fault/v3/fault.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  third_party/envoy-api/envoy/extensions/filters/http/fault/v3/fault.proto 
envoy/extensions/filters/http/fault/v3/fault.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  
third_party/envoy-api/envoy/extensions/filters/http/gcp_authn/v3/gcp_authn.proto
 envoy/extensions/filters/http/gcp_authn/v3/gcp_authn.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  third_party/envoy-api/envoy/extensions/filters/http/rbac/v3/rbac.proto 
envoy/extensions/filters/http/rbac/v3/rbac.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  third_party/envoy-api/envoy/extensions/filters/http/router/v3/router.proto 
envoy/extensions/filters/http/router/v3/router.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  
third_party/envoy-api/envoy/extensions/filters/http/stateful_session/v3/stateful_session.proto
 envoy/extensions/filters/http/stateful_session/v3/stateful_session.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  
third_party/envoy-api/envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.proto
 
envoy/extensions/filters/network/http_connection_manager/v3/http_connection_manager.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  
third_party/envoy-api/envoy/extensions/http/stateful_session/cookie/v3/cookie.proto
 envoy/extensions/http/stateful_session/cookie/v3/cookie.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  
third_party/envoy-api/envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.proto
 
envoy/extensions/load_balancing_policies/client_side_weighted_round_robin/v3/client_side_weighted_round_robin.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  
third_party/envoy-api/envoy/extensions/load_balancing_policies/common/v3/common.proto
 envoy/extensions/load_balancing_policies/common/v3/common.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  
third_party/envoy-api/envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.proto
 envoy/extensions/load_balancing_policies/pick_first/v3/pick_first.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  
third_party/envoy-api/envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.proto
 envoy/extensions/load_balancing_policies/ring_hash/v3/ring_hash.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  
third_party/envoy-api/envoy/extensions/load_balancing_policies/round_robin/v3/round_robin.proto
 envoy/extensions/load_balancing_policies/round_robin/v3/round_robin.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  
third_party/envoy-api/envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.proto
 envoy/extensions/load_balancing_policies/wrr_locality/v3/wrr_locality.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  
third_party/envoy-api/envoy/extensions/rbac/audit_loggers/stream/v3/stream.proto
 envoy/extensions/rbac/audit_loggers/stream/v3/stream.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  
third_party/envoy-api/envoy/extensions/transport_sockets/http_11_proxy/v3/upstream_http_11_connect.proto
 
envoy/extensions/transport_sockets/http_11_proxy/v3/upstream_http_11_connect.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  third_party/envoy-api/envoy/extensions/transport_sockets/tls/v3/cert.proto 
envoy/extensions/transport_sockets/tls/v3/cert.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  
third_party/envoy-api/envoy/extensions/transport_sockets/tls/v3/common.proto 
envoy/extensions/transport_sockets/tls/v3/common.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  
third_party/envoy-api/envoy/extensions/transport_sockets/tls/v3/secret.proto 
envoy/extensions/transport_sockets/tls/v3/secret.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  third_party/envoy-api/envoy/extensions/transport_sockets/tls/v3/tls.proto 
envoy/extensions/transport_sockets/tls/v3/tls.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  
third_party/envoy-api/envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.proto
 envoy/extensions/transport_sockets/tls/v3/tls_spiffe_validator_config.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  
third_party/envoy-api/envoy/extensions/upstreams/http/v3/http_protocol_options.proto
 envoy/extensions/upstreams/http/v3/http_protocol_options.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  third_party/envoy-api/envoy/service/discovery/v3/ads.proto 
envoy/service/discovery/v3/ads.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  third_party/envoy-api/envoy/service/discovery/v3/discovery.proto 
envoy/service/discovery/v3/discovery.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  third_party/envoy-api/envoy/type/http/v3/cookie.proto 
envoy/type/http/v3/cookie.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  third_party/envoy-api/envoy/type/http/v3/path_transformation.proto 
envoy/type/http/v3/path_transformation.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  third_party/envoy-api/envoy/type/matcher/v3/filter_state.proto 
envoy/type/matcher/v3/filter_state.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  third_party/envoy-api/envoy/type/matcher/v3/http_inputs.proto 
envoy/type/matcher/v3/http_inputs.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  third_party/envoy-api/envoy/type/matcher/v3/metadata.proto 
envoy/type/matcher/v3/metadata.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  third_party/envoy-api/envoy/type/matcher/v3/node.proto 
envoy/type/matcher/v3/node.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  third_party/envoy-api/envoy/type/matcher/v3/number.proto 
envoy/type/matcher/v3/number.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  third_party/envoy-api/envoy/type/matcher/v3/path.proto 
envoy/type/matcher/v3/path.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  third_party/envoy-api/envoy/type/matcher/v3/regex.proto 
envoy/type/matcher/v3/regex.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  third_party/envoy-api/envoy/type/matcher/v3/status_code_input.proto 
envoy/type/matcher/v3/status_code_input.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  third_party/envoy-api/envoy/type/matcher/v3/string.proto 
envoy/type/matcher/v3/string.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  third_party/envoy-api/envoy/type/matcher/v3/struct.proto 
envoy/type/matcher/v3/struct.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  third_party/envoy-api/envoy/type/matcher/v3/value.proto 
envoy/type/matcher/v3/value.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  third_party/envoy-api/envoy/type/metadata/v3/metadata.proto 
envoy/type/metadata/v3/metadata.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  third_party/envoy-api/envoy/type/tracing/v3/custom_tag.proto 
envoy/type/tracing/v3/custom_tag.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  third_party/envoy-api/envoy/type/v3/hash_policy.proto 
envoy/type/v3/hash_policy.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  third_party/envoy-api/envoy/type/v3/http.proto envoy/type/v3/http.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  third_party/envoy-api/envoy/type/v3/http_status.proto 
envoy/type/v3/http_status.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  third_party/envoy-api/envoy/type/v3/percent.proto 
envoy/type/v3/percent.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  third_party/envoy-api/envoy/type/v3/range.proto envoy/type/v3/range.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  third_party/envoy-api/envoy/type/v3/ratelimit_strategy.proto 
envoy/type/v3/ratelimit_strategy.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  third_party/envoy-api/envoy/type/v3/ratelimit_unit.proto 
envoy/type/v3/ratelimit_unit.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  third_party/envoy-api/envoy/type/v3/semantic_version.proto 
envoy/type/v3/semantic_version.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  third_party/envoy-api/envoy/type/v3/token_bucket.proto 
envoy/type/v3/token_bucket.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  third_party/googleapis/google/api/annotations.proto 
google/api/annotations.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  third_party/googleapis/google/api/expr/v1alpha1/checked.proto 
google/api/expr/v1alpha1/checked.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  third_party/googleapis/google/api/expr/v1alpha1/syntax.proto 
google/api/expr/v1alpha1/syntax.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  third_party/googleapis/google/api/http.proto google/api/http.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  third_party/googleapis/google/api/httpbody.proto google/api/httpbody.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  third_party/googleapis/google/rpc/status.proto google/rpc/status.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  
third_party/opencensus-proto/src/opencensus/proto/trace/v1/trace_config.proto 
opencensus/proto/trace/v1/trace_config.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  third_party/protoc-gen-validate/validate/validate.proto 
validate/validate.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  third_party/xds/udpa/annotations/migrate.proto 
udpa/annotations/migrate.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  third_party/xds/udpa/annotations/security.proto 
udpa/annotations/security.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  third_party/xds/udpa/annotations/sensitive.proto 
udpa/annotations/sensitive.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  third_party/xds/udpa/annotations/status.proto udpa/annotations/status.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  third_party/xds/udpa/annotations/versioning.proto 
udpa/annotations/versioning.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  third_party/xds/udpa/type/v1/typed_struct.proto 
udpa/type/v1/typed_struct.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  third_party/xds/xds/annotations/v3/migrate.proto 
xds/annotations/v3/migrate.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  third_party/xds/xds/annotations/v3/security.proto 
xds/annotations/v3/security.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  third_party/xds/xds/annotations/v3/sensitive.proto 
xds/annotations/v3/sensitive.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  third_party/xds/xds/annotations/v3/status.proto 
xds/annotations/v3/status.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  third_party/xds/xds/annotations/v3/versioning.proto 
xds/annotations/v3/versioning.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  third_party/xds/xds/core/v3/authority.proto xds/core/v3/authority.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  third_party/xds/xds/core/v3/cidr.proto xds/core/v3/cidr.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  third_party/xds/xds/core/v3/collection_entry.proto 
xds/core/v3/collection_entry.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  third_party/xds/xds/core/v3/context_params.proto 
xds/core/v3/context_params.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  third_party/xds/xds/core/v3/extension.proto xds/core/v3/extension.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  third_party/xds/xds/core/v3/resource.proto xds/core/v3/resource.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  third_party/xds/xds/core/v3/resource_locator.proto 
xds/core/v3/resource_locator.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  third_party/xds/xds/core/v3/resource_name.proto 
xds/core/v3/resource_name.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  third_party/xds/xds/type/matcher/v3/cel.proto xds/type/matcher/v3/cel.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  third_party/xds/xds/type/matcher/v3/domain.proto 
xds/type/matcher/v3/domain.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  third_party/xds/xds/type/matcher/v3/http_inputs.proto 
xds/type/matcher/v3/http_inputs.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  third_party/xds/xds/type/matcher/v3/ip.proto xds/type/matcher/v3/ip.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  third_party/xds/xds/type/matcher/v3/matcher.proto 
xds/type/matcher/v3/matcher.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  third_party/xds/xds/type/matcher/v3/range.proto 
xds/type/matcher/v3/range.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  third_party/xds/xds/type/matcher/v3/regex.proto 
xds/type/matcher/v3/regex.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  third_party/xds/xds/type/matcher/v3/string.proto 
xds/type/matcher/v3/string.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  third_party/xds/xds/type/v3/cel.proto xds/type/v3/cel.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  third_party/xds/xds/type/v3/range.proto xds/type/v3/range.proto
--)
--protobuf_generate_grpc_cpp_with_import_path_correction(
--  third_party/xds/xds/type/v3/typed_struct.proto 
xds/type/v3/typed_struct.proto
--)
- 
- if(gRPC_BUILD_TESTS)
-   add_custom_target(buildtests_c)

Reply via email to