summaryrefslogtreecommitdiff
path: root/src/buildtool/execution_engine/executor
diff options
context:
space:
mode:
Diffstat (limited to 'src/buildtool/execution_engine/executor')
-rw-r--r--src/buildtool/execution_engine/executor/TARGETS1
-rw-r--r--src/buildtool/execution_engine/executor/executor.hpp4
2 files changed, 4 insertions, 1 deletions
diff --git a/src/buildtool/execution_engine/executor/TARGETS b/src/buildtool/execution_engine/executor/TARGETS
index fc148d45..e2654ba9 100644
--- a/src/buildtool/execution_engine/executor/TARGETS
+++ b/src/buildtool/execution_engine/executor/TARGETS
@@ -5,6 +5,7 @@
, "deps":
[ "context"
, ["@", "gsl", "", "gsl"]
+ , ["src/buildtool/build_engine/expression", "expression"]
, ["src/buildtool/common", "artifact_digest_factory"]
, ["src/buildtool/common", "common"]
, ["src/buildtool/common", "git_hashes_converter"]
diff --git a/src/buildtool/execution_engine/executor/executor.hpp b/src/buildtool/execution_engine/executor/executor.hpp
index 63ab96ba..a27f2215 100644
--- a/src/buildtool/execution_engine/executor/executor.hpp
+++ b/src/buildtool/execution_engine/executor/executor.hpp
@@ -28,6 +28,7 @@
#include <vector>
#include "gsl/gsl"
+#include "src/buildtool/build_engine/expression/evaluator.hpp"
#include "src/buildtool/common/artifact_digest.hpp"
#include "src/buildtool/common/artifact_digest_factory.hpp"
#include "src/buildtool/common/git_hashes_converter.hpp"
@@ -688,7 +689,8 @@ class ExecutorImpl {
msg << "\nrequested by";
for (auto const& origin : origins->second) {
msg << "\n - ";
- msg << origin.first.ToShortString();
+ msg << origin.first.ToShortString(
+ Evaluator::GetExpressionLogLimit());
msg << "#";
msg << origin.second;
}