diff options
author | Christian Kandeler <christian.kandeler@qt.io> | 2018-06-22 17:42:08 +0200 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@qt.io> | 2018-06-25 08:26:31 +0000 |
commit | bdf4a707623a7bab146a030f25897e48d401c639 (patch) | |
tree | 327c529db69c45511038f36bf77d7f40a5ea9a62 /src/lib/corelib/buildgraph/projectbuilddata.cpp | |
parent | bcb2211c186335cf851cb86562e65e6feedf3dd1 (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/projectbuilddata.cpp')
-rw-r--r-- | src/lib/corelib/buildgraph/projectbuilddata.cpp | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/lib/corelib/buildgraph/projectbuilddata.cpp b/src/lib/corelib/buildgraph/projectbuilddata.cpp index 87e79c7b9..2886fce3d 100644 --- a/src/lib/corelib/buildgraph/projectbuilddata.cpp +++ b/src/lib/corelib/buildgraph/projectbuilddata.cpp @@ -172,7 +172,6 @@ static void disconnectArtifactParents(Artifact *artifact) parentArtifact->childrenAddedByScanner.remove(artifact); parentArtifact->transformer->inputs.remove(artifact); parentArtifact->transformer->explicitlyDependsOn.remove(artifact); - parentArtifact->product->registerArtifactWithChangedInputs(parentArtifact); } artifact->parents.clear(); @@ -205,7 +204,6 @@ void ProjectBuildData::removeArtifactAndExclusiveDependents(Artifact *artifact, if (parent->children.empty()) { removeParent = true; } else if (parent->transformer) { - parent->product->registerArtifactWithChangedInputs(parent); parent->transformer->inputs.remove(artifact); removeParent = parent->transformer->inputs.empty(); } @@ -245,10 +243,8 @@ void ProjectBuildData::removeArtifact(Artifact *artifact, removeFromLookupTable(artifact); removeFromRuleNodes(artifact); disconnectArtifact(artifact); - if (artifact->transformer) { - artifact->product->unregisterArtifactWithChangedInputs(artifact); + if (artifact->transformer) artifact->transformer->outputs.remove(artifact); - } if (removeFromProduct) artifact->product->buildData->removeArtifact(artifact); m_isDirty = false; |