Fix tests configure for ios_arm32 test target
This commit is contained in:
committed by
Pavel Punegov
parent
ba75bcb379
commit
1b6dac76d5
@@ -5,10 +5,13 @@
|
||||
|
||||
import shadow.org.jetbrains.kotlin.gradle.plugin.tasks.KonanCompileNativeBinary
|
||||
import org.jetbrains.kotlin.*
|
||||
import org.jetbrains.kotlin.konan.target.Family
|
||||
import org.jetbrains.kotlin.konan.target.KonanTarget
|
||||
|
||||
import java.nio.file.Paths
|
||||
|
||||
import static org.jetbrains.kotlin.konan.target.Architecture.*
|
||||
|
||||
buildscript {
|
||||
repositories {
|
||||
maven {
|
||||
@@ -4442,8 +4445,8 @@ dependencies {
|
||||
nopPluginCompile kotlinCompilerModule
|
||||
}
|
||||
|
||||
// Configure ios build
|
||||
if (PlatformInfo.getTarget(project) == KonanTarget.IOS_ARM64.INSTANCE) {
|
||||
// Configure build for iOS device targets.
|
||||
if (target.family == Family.IOS && (target.architecture == ARM32 || target.architecture == ARM64)) {
|
||||
project.tasks
|
||||
.matching { it instanceof KonanTestExecutable }
|
||||
.forEach {
|
||||
|
||||
Reference in New Issue
Block a user