summaryrefslogtreecommitdiff
path: root/src/buildtool/main/main.cpp
diff options
context:
space:
mode:
authorKlaus Aehlig <klaus.aehlig@huawei.com>2025-03-25 10:33:24 +0100
committerKlaus Aehlig <klaus.aehlig@huawei.com>2025-04-07 16:09:43 +0200
commit21957eabce87cc1f52a7fdecd5930970d01883f2 (patch)
treec5574d208e16f60e7cef6a1a9b5a14b88adb49d8 /src/buildtool/main/main.cpp
parent6fead11e5247cc4362b7fdcefc262faccac113a8 (diff)
downloadjustbuild-21957eabce87cc1f52a7fdecd5930970d01883f2.tar.gz
interfaces: extend signatures to be aware of tree overlays
In order to stay backwards compatible, the "tree_overlays" entry in action-graph descriptions is optional.
Diffstat (limited to 'src/buildtool/main/main.cpp')
-rw-r--r--src/buildtool/main/main.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/buildtool/main/main.cpp b/src/buildtool/main/main.cpp
index 158b4a9b..75c7ca73 100644
--- a/src/buildtool/main/main.cpp
+++ b/src/buildtool/main/main.cpp
@@ -1215,7 +1215,7 @@ auto main(int argc, char* argv[]) -> int {
}
#ifndef BOOTSTRAP_BUILD_TOOL
ReportTaintedness(*analyse_result);
- auto [actions, blobs, trees] =
+ auto [actions, blobs, trees, tree_overlays] =
analyse_result->result_map.ToResult(&stats, &progress);
// collect cache targets and artifacts for target-level caching
@@ -1242,6 +1242,7 @@ auto main(int argc, char* argv[]) -> int {
std::move(actions),
std::move(blobs),
std::move(trees),
+ std::move(tree_overlays),
std::move(cache_artifacts));
dump_and_cleanup_thread.join();
if (build_result) {