summaryrefslogtreecommitdiff
path: root/src/buildtool/execution_api/execution_service/execution_server.hpp
diff options
context:
space:
mode:
authorOliver Reiche <oliver.reiche@huawei.com>2025-06-23 15:51:31 +0200
committerOliver Reiche <oliver.reiche@huawei.com>2025-06-24 14:56:58 +0200
commiteded9c836a82a9c0d4d0bc41b160b03f3cd72422 (patch)
treea03afd22d820eb61c4f7f2b38271228e6d4abcf9 /src/buildtool/execution_api/execution_service/execution_server.hpp
parentb41c60fd8179fec987f158347111f650924aad47 (diff)
downloadjustbuild-eded9c836a82a9c0d4d0bc41b160b03f3cd72422.tar.gz
ExecutionService: Support RBE protocol v2.1
Diffstat (limited to 'src/buildtool/execution_api/execution_service/execution_server.hpp')
-rw-r--r--src/buildtool/execution_api/execution_service/execution_server.hpp8
1 files changed, 5 insertions, 3 deletions
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<IExecutionAction::Ptr>;
+ ::bazel_re::Command const& command,
+ bool legacy_client) const noexcept
+ -> std::optional<IExecutionAction::Ptr>;
[[nodiscard]] auto ToBazelExecuteResponse(
- gsl::not_null<LocalResponse*> const& local_response) const noexcept
+ gsl::not_null<LocalResponse*> const& local_response,
+ bool legacy_client) const noexcept
-> expected<::bazel_re::ExecuteResponse, std::string>;
void WriteResponse(