diff options
author | Joerg Bornemann <joerg.bornemann@digia.com> | 2014-07-16 17:30:01 +0200 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@digia.com> | 2014-07-17 13:08:11 +0200 |
commit | 32c4d3d7d26937c8f2a0f2f99add2eb0b0f1e503 (patch) | |
tree | b61d49ff5ec5730040404e31f4edc7563000ef34 /src/lib/corelib/buildgraph/rulenode.h | |
parent | 1c982622acd9e38096dd9feabe8e5a4c129df31c (diff) |
fix calculation of added/removed artifacts
We kept lists of added and removed artifacts in ProductBuildData. It was
never quite clear when to invalidate those lists, which led to QBS-635.
Instead we let the RuleNode decide which artifacts it considers as
"added or removed for this rule".
Task-number: QBS-635
Change-Id: I390e0ab775c695045c6e91ade3ac7326692cb314
Reviewed-by: Christian Kandeler <christian.kandeler@digia.com>
Diffstat (limited to 'src/lib/corelib/buildgraph/rulenode.h')
-rw-r--r-- | src/lib/corelib/buildgraph/rulenode.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/corelib/buildgraph/rulenode.h b/src/lib/corelib/buildgraph/rulenode.h index dce9a6381..027094211 100644 --- a/src/lib/corelib/buildgraph/rulenode.h +++ b/src/lib/corelib/buildgraph/rulenode.h @@ -32,6 +32,7 @@ #include "artifactset.h" #include "buildgraphnode.h" +#include "forward_decls.h" #include <language/forward_decls.h> namespace qbs { @@ -65,7 +66,9 @@ protected: void store(PersistentPool &pool) const; private: - bool usedDependenciesAdded() const; + QList<TransformerPtr> createdTransformers() const; + ArtifactSet oldInputArtifacts() const; + ArtifactSet currentInputArtifacts() const; RuleConstPtr m_rule; }; |