summaryrefslogtreecommitdiff
path: root/src/buildtool/main/install_cas.hpp
diff options
context:
space:
mode:
authorMaksim Denisov <denisov.maksim@huawei.com>2024-06-20 11:42:05 +0200
committerMaksim Denisov <denisov.maksim@huawei.com>2024-06-25 13:59:48 +0200
commit4392b0de9b77d750f4c531c167ab008237cfde1a (patch)
tree3c5fea5d7661d1085e2d51a37a6cafae611ccbba /src/buildtool/main/install_cas.hpp
parenta39592af10ad2a43b5d444d1bee018b72f696f6b (diff)
downloadjustbuild-4392b0de9b77d750f4c531c167ab008237cfde1a.tar.gz
Pass ApiBundle to add-to-cas and install-cas
Diffstat (limited to 'src/buildtool/main/install_cas.hpp')
-rw-r--r--src/buildtool/main/install_cas.hpp9
1 files changed, 4 insertions, 5 deletions
diff --git a/src/buildtool/main/install_cas.hpp b/src/buildtool/main/install_cas.hpp
index fe2742b7..3bfdde86 100644
--- a/src/buildtool/main/install_cas.hpp
+++ b/src/buildtool/main/install_cas.hpp
@@ -21,17 +21,16 @@
#include "src/buildtool/common/artifact.hpp"
#include "src/buildtool/common/cli.hpp"
#ifndef BOOTSTRAP_BUILD_TOOL
-#include "src/buildtool/execution_api/common/execution_api.hpp"
+#include "src/buildtool/execution_api/common/api_bundle.hpp"
#endif
[[nodiscard]] auto ObjectInfoFromLiberalString(std::string const& s) noexcept
-> Artifact::ObjectInfo;
#ifndef BOOTSTRAP_BUILD_TOOL
-[[nodiscard]] auto FetchAndInstallArtifacts(
- gsl::not_null<IExecutionApi*> const& api,
- gsl::not_null<IExecutionApi*> const& alternative_api,
- FetchArguments const& clargs) -> bool;
+[[nodiscard]] auto FetchAndInstallArtifacts(ApiBundle const& apis,
+ FetchArguments const& clargs)
+ -> bool;
#endif
#endif // INCLUDED_SRC_BUILDTOOL_MAIN_INSTALL_CAS_HPP