aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/corelib/buildgraph/rulesapplicator.cpp
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@digia.com>2014-04-17 12:22:32 +0200
committerChristian Kandeler <christian.kandeler@digia.com>2014-04-17 13:30:54 +0200
commitc9eb23a26d693da232f1ab96c23797f35ad16305 (patch)
tree5324375402d52c093a3f2e8b8add9b61892a20aa /src/lib/corelib/buildgraph/rulesapplicator.cpp
parentc2664b879d8aedf82e62b2f389ce107e18168235 (diff)
API: Do not present all root artifacts as target artifacts.
E.g. Transformer outputs are roots, but not target artifacts. Task-number: QBS-557 Change-Id: Ia2ab5567344911b0751deed465722deb182e4aaf Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Diffstat (limited to 'src/lib/corelib/buildgraph/rulesapplicator.cpp')
-rw-r--r--src/lib/corelib/buildgraph/rulesapplicator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/corelib/buildgraph/rulesapplicator.cpp b/src/lib/corelib/buildgraph/rulesapplicator.cpp
index 6c117a361..7cbcbf997 100644
--- a/src/lib/corelib/buildgraph/rulesapplicator.cpp
+++ b/src/lib/corelib/buildgraph/rulesapplicator.cpp
@@ -156,7 +156,7 @@ void RulesApplicator::doApply(ArtifactSet inputArtifacts, QScriptValue &prepareS
foreach (const ResolvedProductPtr &dep, m_product->dependencies) {
QBS_CHECK(dep->buildData);
ArtifactSet artifactsToCheck;
- foreach (Artifact *targetArtifact, dep->buildData->targetArtifacts())
+ foreach (Artifact *targetArtifact, dep->targetArtifacts())
artifactsToCheck.unite(targetArtifact->transformer->outputs);
foreach (Artifact *artifact, artifactsToCheck) {
if (artifact->fileTags.matches(usingsFileTags))