Skip to content

Commit

Permalink
implement TargetName.WatchOSDeviceArm64
Browse files Browse the repository at this point in the history
  • Loading branch information
luca992 committed Oct 16, 2023
1 parent 3b94c58 commit 599d557
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ internal enum class TargetName(val identifier: String) {
WatchOSarm64("watchosArm64"),
WatchOSx86("watchosX86"),
WatchOSx64("watchosX64"),
WatchOSDeviceArm64("watchosDeviceArm64"),
WatchOSSimulatorArm64("watchosSimulatorArm64"),
TvOSarm64("tvosArm64"),
TvOSx64("tvosX64"),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ internal val TargetName.konanTarget: KonanTarget get() = when (this) {
TargetName.WatchOSarm64 -> KonanTarget.WATCHOS_ARM64
TargetName.WatchOSx86 -> KonanTarget.WATCHOS_X86
TargetName.WatchOSx64 -> KonanTarget.WATCHOS_X64
TargetName.WatchOSDeviceArm64 -> KonanTarget.WATCHOS_DEVICE_ARM64
TargetName.WatchOSSimulatorArm64 -> KonanTarget.WATCHOS_SIMULATOR_ARM64
TargetName.TvOSarm64 -> KonanTarget.TVOS_ARM64
TargetName.TvOSx64 -> KonanTarget.TVOS_X64
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ internal fun getWatchosSimulatorFrameworks(configuration: PluginConfiguration):
.filter {
it.linkTask.name.contains("WatchosX86")
|| it.linkTask.name.contains("WatchosX64")
|| it.linkTask.name.contains("WatchosDeviceArm64")
|| it.linkTask.name.contains("WatchosSimulatorArm64")
}
}
Expand Down

0 comments on commit 599d557

Please sign in to comment.