All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jetbrains.kotlin.konan.library.KonanLibrary.kt Maven / Gradle / Ivy

There is a newer version: 2.1.0-RC
Show newest version
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)




© 2015 - 2024 Weber Informatics LLC | Privacy Policy