Properly construct stdlib with components.
(cherry picked from commit 49ac790fcf1fc4dd590f79d1b591e7599f3c0ca3)
This commit is contained in:
committed by
Vasily Levchenko
parent
b4882103bc
commit
19e706b1a3
+4
-4
@@ -436,6 +436,10 @@ targetList.each { target ->
|
|||||||
|
|
||||||
destinationDir distDir
|
destinationDir distDir
|
||||||
|
|
||||||
|
from(project(':runtime').file("build/${target}Stdlib")) {
|
||||||
|
include('**')
|
||||||
|
into(stdlib)
|
||||||
|
}
|
||||||
from(project(':runtime').file("build/$target")) {
|
from(project(':runtime').file("build/$target")) {
|
||||||
include("runtime.bc")
|
include("runtime.bc")
|
||||||
into("$stdlibDefaultComponent/targets/$target/native")
|
into("$stdlibDefaultComponent/targets/$target/native")
|
||||||
@@ -445,10 +449,6 @@ targetList.each { target ->
|
|||||||
exclude("runtime.bc")
|
exclude("runtime.bc")
|
||||||
into("konan/targets/$target/native")
|
into("konan/targets/$target/native")
|
||||||
}
|
}
|
||||||
from(project(':runtime').file("build/${target}Stdlib")) {
|
|
||||||
include('**')
|
|
||||||
into(stdlibDefaultComponent)
|
|
||||||
}
|
|
||||||
if (target == 'wasm32') {
|
if (target == 'wasm32') {
|
||||||
into("$stdlibDefaultComponent/targets/wasm32/included") {
|
into("$stdlibDefaultComponent/targets/wasm32/included") {
|
||||||
from(project(':runtime').file('src/main/js'))
|
from(project(':runtime').file('src/main/js'))
|
||||||
|
|||||||
Reference in New Issue
Block a user