[K/JS] Add flag for disabling signature uniqueness checks at klib generating phase

This commit is contained in:
Artem Kobzar
2022-10-14 13:08:58 +00:00
committed by Space Team
parent d249b02cda
commit 9a4a30c9bb
7 changed files with 25 additions and 3 deletions
@@ -216,6 +216,7 @@ class K2JsIrCompiler : CLICompiler<K2JSCompilerArguments>() {
}
configuration.put(CommonConfigurationKeys.KLIB_NORMALIZE_ABSOLUTE_PATH, arguments.normalizeAbsolutePath)
configuration.put(CommonConfigurationKeys.PRODUCE_KLIB_SIGNATURES_CLASH_CHECKS, arguments.enableSignatureClashChecks)
val environmentForJS =
KotlinCoreEnvironment.createForProduction(rootDisposable, configuration, EnvironmentConfigFiles.JS_CONFIG_FILES)