HMPP: Evaluate exact TargetPlatform for each K/N KLIB library

This commit is contained in:
Dmitriy Dolovov
2020-04-08 18:05:43 +07:00
parent 90398fd087
commit 757d77600a
3 changed files with 9 additions and 8 deletions
@@ -52,6 +52,9 @@ object NativePlatforms {
}
}
fun nativePlatformByTargetNames(targets: Collection<String>): TargetPlatform =
nativePlatformByTargets(targets.mapNotNull { KonanTarget.predefinedTargets[it] })
@Deprecated(
message = "Should be accessed only by compatibility layer, other clients should use 'unspecifiedNativePlatform'",
level = DeprecationLevel.ERROR