Make klib info report targets available.

This commit is contained in:
Alexander Gorshenev
2017-06-06 15:06:41 +03:00
committed by alexander-gorshenev
parent 646117a60b
commit 114010bbcd
4 changed files with 8 additions and 4 deletions
@@ -49,7 +49,7 @@ class Distribution(val config: CompilerConfiguration) {
val stdlib = "$klib/stdlib"
val runtime = config.get(KonanConfigKeys.RUNTIME_FILE)
?: "$stdlib/$target/native/runtime.bc"
?: "$stdlib/targets/$target/native/runtime.bc"
val llvmHome = "$dependenciesDir/${properties.propertyString("llvmHome.$hostSuffix")}"
val hostSysRoot = "$dependenciesDir/${properties.propertyString("targetSysRoot.$hostSuffix")}"
@@ -73,8 +73,10 @@ interface SplitLibraryScheme {
get() = File(libDir, "manifest")
val resourcesDir
get() = File(libDir, "resources")
val targetsDir
get() = File(libDir, "targets")
val targetDir
get() = File(libDir, target!!)
get() = File(targetsDir, target!!)
val kotlinDir
get() = File(targetDir, "kotlin")
val nativeDir