From 26fdbae5f7269c06f95d3d087e657bb192b909d1 Mon Sep 17 00:00:00 2001 From: Maksim Denisov Date: Fri, 14 Jun 2024 10:23:41 +0200 Subject: Use ServeApi during bootstrap ...with a default implementation. Although it is not used directly, it will be needed for instantiation of std::optional. --- src/buildtool/serve_api/serve_service/source_tree.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/buildtool/serve_api/serve_service/source_tree.cpp') diff --git a/src/buildtool/serve_api/serve_service/source_tree.cpp b/src/buildtool/serve_api/serve_service/source_tree.cpp index 493dd0eb..9544a407 100644 --- a/src/buildtool/serve_api/serve_service/source_tree.cpp +++ b/src/buildtool/serve_api/serve_service/source_tree.cpp @@ -12,6 +12,8 @@ // See the License for the specific language governing permissions and // limitations under the License. +#ifndef BOOTSTRAP_BUILD_TOOL + #include "src/buildtool/serve_api/serve_service/source_tree.hpp" #include @@ -1684,3 +1686,5 @@ auto SourceTreeService::GetRemoteTree( response->set_status(GetRemoteTreeResponse::OK); return ::grpc::Status::OK; } + +#endif // BOOTSTRAP_BUILD_TOOL -- cgit v1.2.3