aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/corelib/buildgraph/rulesapplicator.cpp
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@qt.io>2018-06-22 17:42:08 +0200
committerChristian Kandeler <christian.kandeler@qt.io>2018-06-25 08:26:31 +0000
commitbdf4a707623a7bab146a030f25897e48d401c639 (patch)
tree327c529db69c45511038f36bf77d7f40a5ea9a62 /src/lib/corelib/buildgraph/rulesapplicator.cpp
parentbcb2211c186335cf851cb86562e65e6feedf3dd1 (diff)
Get rid of the code marking a rule for re-application
I do not see what functionality this code adds to the change tracking procedure. Change-Id: Id3809564b8cb3517b5932b18aeaad3ba5588905a Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'src/lib/corelib/buildgraph/rulesapplicator.cpp')
-rw-r--r--src/lib/corelib/buildgraph/rulesapplicator.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/lib/corelib/buildgraph/rulesapplicator.cpp b/src/lib/corelib/buildgraph/rulesapplicator.cpp
index 4cb328f2c..9c73cb556 100644
--- a/src/lib/corelib/buildgraph/rulesapplicator.cpp
+++ b/src/lib/corelib/buildgraph/rulesapplicator.cpp
@@ -140,11 +140,6 @@ void RulesApplicator::handleRemovedRuleOutputs(const ArtifactSet &inputArtifacts
project->buildData->removeArtifactAndExclusiveDependents(removedArtifact, logger, true,
&artifactsToRemove);
}
- // parents of removed artifacts must update their transformers
- for (Artifact *removedArtifact : qAsConst(artifactsToRemove)) {
- for (Artifact *parent : removedArtifact->parentArtifacts())
- parent->product->registerArtifactWithChangedInputs(parent);
- }
EmptyDirectoriesRemover(project, logger).removeEmptyParentDirectories(artifactsToRemove);
for (Artifact * const artifact : qAsConst(artifactsToRemove)) {
QBS_CHECK(!inputArtifacts.contains(artifact));
@@ -231,7 +226,6 @@ void RulesApplicator::doApply(const ArtifactSet &inputArtifacts, QScriptValue &p
for (Artifact * const outputArtifact : qAsConst(outputArtifacts)) {
for (Artifact * const dependency : qAsConst(m_transformer->explicitlyDependsOn))
connect(outputArtifact, dependency);
- outputArtifact->product->unregisterArtifactWithChangedInputs(outputArtifact);
}
if (inputArtifacts != m_transformer->inputs)