[K/N] Fix defFileDependencies
This commit is contained in:
+7
-2
@@ -1,6 +1,8 @@
|
||||
package org.jetbrains.kotlin.native.interop.gen
|
||||
|
||||
import kotlinx.cinterop.usingJvmCInteropCallbacks
|
||||
import org.jetbrains.kotlin.konan.util.DefFile
|
||||
import org.jetbrains.kotlin.konan.util.usingNativeMemoryAllocator
|
||||
import org.jetbrains.kotlin.native.interop.gen.jvm.KotlinPlatform
|
||||
import org.jetbrains.kotlin.native.interop.gen.jvm.buildNativeLibrary
|
||||
import org.jetbrains.kotlin.native.interop.gen.jvm.prepareTool
|
||||
@@ -31,8 +33,11 @@ fun defFileDependencies(args: Array<String>, runFromDaemon: Boolean) {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
defFileDependencies(makeDependencyAssigner(targets, defFiles, runFromDaemon))
|
||||
usingNativeMemoryAllocator {
|
||||
usingJvmCInteropCallbacks {
|
||||
defFileDependencies(makeDependencyAssigner(targets, defFiles, runFromDaemon))
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
private fun makeDependencyAssigner(targets: List<String>, defFiles: List<File>, runFromDaemon: Boolean) =
|
||||
|
||||
Reference in New Issue
Block a user