Do not print total bytes written in :core:builtins:serialize

To reduce the amount of output on a clean build. Will have effect after
the next bootstrap update.
This commit is contained in:
Alexander Udalov
2021-03-05 21:00:35 +01:00
parent 94c4d1c23e
commit ec3799a696
2 changed files with 7 additions and 2 deletions
@@ -42,6 +42,8 @@ found top-level declarations to <destination dir> (*.kotlin_builtins files)"""
assert(missing.isEmpty()) { "These source directories are missing: $missing" }
BuiltInsSerializer(dependOnOldBuiltIns = false).serialize(destDir, srcDirs, listOf()) { totalSize, totalFiles ->
println("Total bytes written: $totalSize to $totalFiles files")
if (System.getProperty("kotlin.builtins.serializer.log") == "true") {
println("Total bytes written: $totalSize to $totalFiles files")
}
}
}