From eded9c836a82a9c0d4d0bc41b160b03f3cd72422 Mon Sep 17 00:00:00 2001 From: Oliver Reiche Date: Mon, 23 Jun 2025 15:51:31 +0200 Subject: ExecutionService: Support RBE protocol v2.1 --- .../execution_api/execution_service/execution_server.hpp | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'src/buildtool/execution_api/execution_service/execution_server.hpp') diff --git a/src/buildtool/execution_api/execution_service/execution_server.hpp b/src/buildtool/execution_api/execution_service/execution_server.hpp index 2ae636da..09c750ec 100644 --- a/src/buildtool/execution_api/execution_service/execution_server.hpp +++ b/src/buildtool/execution_api/execution_service/execution_server.hpp @@ -143,11 +143,13 @@ class ExecutionServiceImpl final : public bazel_re::Execution::Service { Logger logger_{"execution-service"}; [[nodiscard]] auto ToIExecutionAction(::bazel_re::Action const& action, - ::bazel_re::Command const& command) - const noexcept -> std::optional; + ::bazel_re::Command const& command, + bool legacy_client) const noexcept + -> std::optional; [[nodiscard]] auto ToBazelExecuteResponse( - gsl::not_null const& local_response) const noexcept + gsl::not_null const& local_response, + bool legacy_client) const noexcept -> expected<::bazel_re::ExecuteResponse, std::string>; void WriteResponse( -- cgit v1.2.3