aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/corelib/buildgraph/rulenode.h
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@qt.io>2018-07-06 12:52:22 +0200
committerChristian Kandeler <christian.kandeler@qt.io>2018-07-10 10:28:11 +0000
commit6a131f01caa78e8cece0d5a48fce10915500f40f (patch)
tree0136fb764d8453830454eb7d992294f168c9ad9e /src/lib/corelib/buildgraph/rulenode.h
parentf908e615d367a6bf7fde29e877be72b6fee1ef34 (diff)
Executor: Move some code into RuleNode
The information about which input artifacts changed is only relevant to the code in RuleNode, so let's set it up there. Change-Id: I4be762f91583a77f083b26abb5882c60cb6ead86 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'src/lib/corelib/buildgraph/rulenode.h')
-rw-r--r--src/lib/corelib/buildgraph/rulenode.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/corelib/buildgraph/rulenode.h b/src/lib/corelib/buildgraph/rulenode.h
index b502b7ac8..9b1180496 100644
--- a/src/lib/corelib/buildgraph/rulenode.h
+++ b/src/lib/corelib/buildgraph/rulenode.h
@@ -74,7 +74,7 @@ public:
NodeSet invalidatedNodes;
};
- void apply(const Logger &logger, const ArtifactSet &changedInputs,
+ void apply(const Logger &logger, const QList<Artifact *> &allChangedSources,
const std::unordered_map<QString, const ResolvedProduct *> &productsByName,
const std::unordered_map<QString, const ResolvedProject *> &projectsByName,
ApplicationResult *result);
@@ -90,6 +90,7 @@ private:
}
ArtifactSet currentInputArtifacts() const;
+ ArtifactSet changedInputArtifacts(const QList<Artifact *> &allChangedSources) const;
RuleConstPtr m_rule;
ArtifactSet m_oldInputArtifacts;