diff options
author | janakr <janakr@google.com> | 2018-06-04 12:50:13 -0700 |
---|---|---|
committer | Copybara-Service <copybara-piper@google.com> | 2018-06-04 12:52:14 -0700 |
commit | 61377f7e0b31d47d27b184edf928f2c446da0867 (patch) | |
tree | eaf7ee9db34aac2b3d1f19e6bf8d85bb79584e82 /src/main/java/com/google/devtools/build/skyframe/AbstractParallelEvaluator.java | |
parent | f4cf006a4e1189b1ff6c757a90af22038fa6b943 (diff) |
Remove ConfiguredTarget from TargetCompletionValue, since it is no longer needed: we can get the ConfiguredTargetKey directly from the TargetCompletionKey. Since that was the only use of the actual value in EvaluationProgressReceiver#evaluated, remove it, instead just provide a boolean enum that gives whether or not evaluation succeeded.
PiperOrigin-RevId: 199178047
Diffstat (limited to 'src/main/java/com/google/devtools/build/skyframe/AbstractParallelEvaluator.java')
-rw-r--r-- | src/main/java/com/google/devtools/build/skyframe/AbstractParallelEvaluator.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/google/devtools/build/skyframe/AbstractParallelEvaluator.java b/src/main/java/com/google/devtools/build/skyframe/AbstractParallelEvaluator.java index 5cb810f699..2373959857 100644 --- a/src/main/java/com/google/devtools/build/skyframe/AbstractParallelEvaluator.java +++ b/src/main/java/com/google/devtools/build/skyframe/AbstractParallelEvaluator.java @@ -286,7 +286,7 @@ public abstract class AbstractParallelEvaluator { // Tell the receiver that the value was not actually changed this run. evaluatorContext .getProgressReceiver() - .evaluated(skyKey, new SkyValueSupplier(state), EvaluationState.CLEAN); + .evaluated(skyKey, new EvaluationSuccessStateSupplier(state), EvaluationState.CLEAN); if (!evaluatorContext.keepGoing() && state.getErrorInfo() != null) { if (!evaluatorContext.getVisitor().preventNewEvaluations()) { return DirtyOutcome.ALREADY_PROCESSED; |