[native] Remove code support for experimental KonanTargets
ZEPHYR was the first and the last experimental KonanTarget. As ZEPHYR is now entirely removed from the codebase, the respective code can be dropped ^KT-64517
This commit is contained in:
committed by
Space Team
parent
47546ece27
commit
b19ad2505c
+2
-3
@@ -11,7 +11,6 @@ import org.jetbrains.kotlin.compilerRunner.getKonanCacheKind
|
||||
import org.jetbrains.kotlin.compilerRunner.konanDataDir
|
||||
import org.jetbrains.kotlin.compilerRunner.konanHome
|
||||
import org.jetbrains.kotlin.gradle.dsl.NativeCacheKind
|
||||
import org.jetbrains.kotlin.gradle.plugin.PropertiesProvider
|
||||
import org.jetbrains.kotlin.gradle.targets.native.KonanPropertiesBuildService
|
||||
import org.jetbrains.kotlin.gradle.tasks.CacheBuilder
|
||||
import org.jetbrains.kotlin.gradle.tasks.addArg
|
||||
@@ -127,7 +126,7 @@ internal class PlatformLibrariesGenerator(val project: Project, val konanTarget:
|
||||
}
|
||||
|
||||
fun generatePlatformLibsIfNeeded(): Unit = with(project) {
|
||||
if (!HostManager(distribution).isEnabled(konanTarget)) {
|
||||
if (!HostManager().isEnabled(konanTarget)) {
|
||||
// We cannot generate libs on a machine that doesn't support the requested target.
|
||||
return
|
||||
}
|
||||
@@ -221,4 +220,4 @@ internal class PlatformLibrariesGenerator(val project: Project, val konanTarget:
|
||||
companion object {
|
||||
private const val GENERATED_LIBS_PROPERTY_NAME = "org.jetbrains.kotlin.native.platform.libs.info"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user