backend.native: include interop with :common:hash

This commit is contained in:
Svyatoslav Scherbina
2016-10-13 17:20:36 +03:00
parent f30c840d1c
commit edc88c67da
+13
View File
@@ -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