Add IOS_ARM32 swift target
Small reformat
This commit is contained in:
committed by
Pavel Punegov
parent
3169e3c857
commit
12665825b9
@@ -318,7 +318,12 @@ private fun sshExecutor(project: Project): ExecutorService = object : ExecutorSe
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
internal data class DeviceTarget(@Expose val name: String, @Expose val udid: String, @Expose val state: String, @Expose val type: String)
|
internal data class DeviceTarget(
|
||||||
|
@Expose val name: String,
|
||||||
|
@Expose val udid: String,
|
||||||
|
@Expose val state: String,
|
||||||
|
@Expose val type: String
|
||||||
|
)
|
||||||
|
|
||||||
private fun deviceLauncher(project: Project) = object : ExecutorService {
|
private fun deviceLauncher(project: Project) = object : ExecutorService {
|
||||||
private val xcProject = Paths.get(project.testOutputRoot, "launcher")
|
private val xcProject = Paths.get(project.testOutputRoot, "launcher")
|
||||||
|
|||||||
@@ -237,6 +237,7 @@ fun compileSwift(project: Project, target: KonanTarget, sources: List<String>, o
|
|||||||
|
|
||||||
val swiftTarget = when (target) {
|
val swiftTarget = when (target) {
|
||||||
KonanTarget.IOS_X64 -> "x86_64-apple-ios" + configs.osVersionMin
|
KonanTarget.IOS_X64 -> "x86_64-apple-ios" + configs.osVersionMin
|
||||||
|
KonanTarget.IOS_ARM32 -> "armv7-apple-ios" + configs.osVersionMin
|
||||||
KonanTarget.IOS_ARM64 -> "arm64-apple-ios" + configs.osVersionMin
|
KonanTarget.IOS_ARM64 -> "arm64-apple-ios" + configs.osVersionMin
|
||||||
KonanTarget.TVOS_X64 -> "x86_64-apple-tvos" + configs.osVersionMin
|
KonanTarget.TVOS_X64 -> "x86_64-apple-tvos" + configs.osVersionMin
|
||||||
KonanTarget.TVOS_ARM64 -> "arm64-apple-tvos" + configs.osVersionMin
|
KonanTarget.TVOS_ARM64 -> "arm64-apple-tvos" + configs.osVersionMin
|
||||||
|
|||||||
Reference in New Issue
Block a user