org.jetbrains.kotlin.konan.library.KonanLibrary.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of kotlin-compiler-embeddable Show documentation
Show all versions of kotlin-compiler-embeddable Show documentation
the Kotlin compiler embeddable
package org.jetbrains.kotlin.konan.library
import org.jetbrains.kotlin.konan.properties.propertyList
import org.jetbrains.kotlin.library.*
const val KLIB_PROPERTY_LINKED_OPTS = "linkerOpts"
const val KLIB_PROPERTY_INCLUDED_HEADERS = "includedHeaders"
interface TargetedLibrary {
val targetList: List
val includedPaths: List
}
interface BitcodeLibrary : TargetedLibrary {
val bitcodePaths: List
}
interface KonanLibrary : BitcodeLibrary, KotlinLibrary {
val linkerOpts: List
}
val KonanLibrary.includedHeaders
get() = manifestProperties.propertyList(KLIB_PROPERTY_INCLUDED_HEADERS, escapeInQuotes = true)