[K/JS] Remove an internal system property and replace it with the new compiler flag

This commit is contained in:
Artem Kobzar
2023-03-17 12:38:34 +00:00
committed by Space Team
parent ca2492e1f8
commit 4da81b2b6e
164 changed files with 100 additions and 566 deletions
@@ -43,9 +43,7 @@ abstract class AbstractIncrementalJsCompilerRunnerTest : AbstractIncrementalComp
outputFile = File(destinationDir, "${testDir.name}.js").path
sourceMap = true
metaInfo = true
useDeprecatedLegacyCompiler = true
// TODO: It will be deleted after all of our internal vendors will use the new Kotlin/JS compiler
CompilerSystemProperties.KOTLIN_JS_COMPILER_LEGACY_FORCE_ENABLED.value = "true"
forceDeprecatedLegacyCompilerUsage = true
}
protected open val scopeExpansionMode = CompileScopeExpansionMode.NEVER
@@ -29,9 +29,7 @@ abstract class AbstractIncrementalMultiModuleJsCompilerRunnerTest :
K2JSCompilerArguments().apply {
sourceMap = true
metaInfo = true
useDeprecatedLegacyCompiler = true
// TODO: It will be deleted after all of our internal vendors will use the new Kotlin/JS compiler
CompilerSystemProperties.KOTLIN_JS_COMPILER_LEGACY_FORCE_ENABLED.value = "true"
forceDeprecatedLegacyCompilerUsage = true
}
override fun makeForSingleModule(