backend.native: include interop with :common:hash
This commit is contained in:
@@ -39,11 +39,24 @@ kotlinNativeInterop {
|
|||||||
compilerOpts "-I$llvmInstallPath/include"
|
compilerOpts "-I$llvmInstallPath/include"
|
||||||
linkerOpts "-L$llvmInstallPath/lib"
|
linkerOpts "-L$llvmInstallPath/lib"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
hash { // TODO: copy-pasted from ':common:compileHash'
|
||||||
|
linker 'clang++'
|
||||||
|
linkOutputs ':common:compileHash'
|
||||||
|
|
||||||
|
headers fileTree('../common/src/hash/headers') {
|
||||||
|
include '**/*.h'
|
||||||
|
include '**/*.hpp'
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg 'org.jetbrains.kotlin.backend.native.hash'
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
compilerCompile deps
|
compilerCompile deps
|
||||||
compilerCompile kotlinNativeInterop['llvm']
|
compilerCompile kotlinNativeInterop['llvm']
|
||||||
|
compilerCompile kotlinNativeInterop['hash']
|
||||||
|
|
||||||
cli_bcCompile deps
|
cli_bcCompile deps
|
||||||
cli_bcCompile sourceSets.compiler.output
|
cli_bcCompile sourceSets.compiler.output
|
||||||
|
|||||||
Reference in New Issue
Block a user