Properly construct stdlib with components.

(cherry picked from commit 49ac790fcf1fc4dd590f79d1b591e7599f3c0ca3)
This commit is contained in:
Alexander Gorshenev
2020-01-20 16:23:19 +03:00
committed by Vasily Levchenko
parent b4882103bc
commit 19e706b1a3
+4 -4
View File
@@ -436,6 +436,10 @@ targetList.each { target ->
destinationDir distDir
from(project(':runtime').file("build/${target}Stdlib")) {
include('**')
into(stdlib)
}
from(project(':runtime').file("build/$target")) {
include("runtime.bc")
into("$stdlibDefaultComponent/targets/$target/native")
@@ -445,10 +449,6 @@ targetList.each { target ->
exclude("runtime.bc")
into("konan/targets/$target/native")
}
from(project(':runtime').file("build/${target}Stdlib")) {
include('**')
into(stdlibDefaultComponent)
}
if (target == 'wasm32') {
into("$stdlibDefaultComponent/targets/wasm32/included") {
from(project(':runtime').file('src/main/js'))