aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@qt.io>2018-01-11 13:48:42 +0100
committerChristian Kandeler <christian.kandeler@qt.io>2018-01-12 12:55:29 +0000
commit02a1f962e2c6790fc3e1d50bbbb4fda9ce88472d (patch)
tree46460e1fe68595946f26078619f05d123fd16b02 /src
parenta673f4f2591772eaa959fb9a24d66874e376a368 (diff)
Executor: Add missing check for module target artifact
Such files are not to be matched against Rule.inputs. This part was forgotten in 8ca922793f. Change-Id: I0a01b3642f4a16c09d189e8c2228205fd0e9962b Reviewed-by: Jake Petroules <jake.petroules@qt.io>
Diffstat (limited to 'src')
-rw-r--r--src/lib/corelib/buildgraph/executor.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/corelib/buildgraph/executor.cpp b/src/lib/corelib/buildgraph/executor.cpp
index d89f230f7..fd2a22116 100644
--- a/src/lib/corelib/buildgraph/executor.cpp
+++ b/src/lib/corelib/buildgraph/executor.cpp
@@ -468,6 +468,8 @@ void Executor::executeRuleNode(RuleNode *ruleNode)
for (Artifact * const artifact : qAsConst(m_changedSourceArtifacts)) {
if (artifact->product != ruleNode->product)
continue;
+ if (artifact->isTargetOfModule())
+ continue;
if (ruleNode->rule()->acceptsAsInput(artifact))
changedInputArtifacts += artifact;
}