JPS: completely skip chunk containing only dummy targets

Such chunks were added in intellij-community, see
commit fdeae7754c593e78b6748dfa66ce7198c2780d35
(https://github.com/JetBrains/intellij-community/commit/fdeae7754c593e78b6748dfa66ce7198c2780d35)

Original commit: 99439620d4
This commit is contained in:
Alexey Tsvetkov
2017-07-19 20:47:55 +03:00
committed by Nikolay Krasko
parent 450022e5fd
commit 23c84d07e2
3 changed files with 33 additions and 2 deletions
@@ -435,7 +435,7 @@ abstract class AbstractIncrementalJpsTest(
}
override fun buildStarted(context: CompileContext, chunk: ModuleChunk) {
if (context.projectDescriptor.project.modules.size > 1) {
if (!chunk.isDummy(context) && context.projectDescriptor.project.modules.size > 1) {
logLine("Building ${chunk.modules.sortedBy { it.name }.joinToString { it.name }}")
}
}